Skip to content

Commit

Permalink
📝 update installation in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
subercui committed Sep 14, 2023
1 parent ba9b9ef commit 6840642
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,21 @@ scGPT is now available at the following online apps as well, so you can get star

## Installation

scGPT works with Python >= 3.7 and R >=3.6.1. Please make sure you have the correct version of Python and R installed pre-installation.
scGPT works with Python >= 3.7.13 and R >=3.6.1. Please make sure you have the correct version of Python and R installed pre-installation.

scGPT is available on PyPI. To install scGPT, run the following command:

```bash
$ pip install "flash-attn<1.0.5"
$ pip install scgpt
pip install torch==1.13.0
pip install scgpt "flash-attn<1.0.5"
# As of 2023.09, pip install may not run with new versions of the google orbax package, if you encounter related issues, please use the following command instead:
# pip install scgpt "flash-attn<1.0.5" "orbax<0.1.8"
```

[Optional] We recommend using [wandb](https://wandb.ai/) for logging and visualization.

```bash
$ pip install wandb
pip install wandb
```

For developing, we are using the [Poetry](https://python-poetry.org/) package manager. To install Poetry, follow the instructions [here](https://python-poetry.org/docs/#installation).
Expand Down

0 comments on commit 6840642

Please sign in to comment.