Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/methods/scgpt_finetuned/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ engines:
- type: docker
image: openproblems/base_pytorch_nvidia:1
setup:
- type: python
pypi:
- gdown
- scgpt # Install from PyPI to get dependencies
- type: docker
# Force re-installing from GitHub to get bug fixes
run: pip install --upgrade --no-deps --force-reinstall git+https://github.com/bowang-lab/scGPT.git
run: |
git clone https://github.com/bowang-lab/scGPT && \
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121 && \
pip install "flash-attn<1.0.5" --no-build-isolation && \
pip install ipykernel pandas scanpy numba "numpy<1.24" torchtext==0.17.0 scib "scvi-tools<1.0" datasets==2.14.5 transformers==4.33.2 wandb "cell-gears<0.0.3" torch_geometric pyarrow==15.0.0 gdown && \
cd scGPT && pip install -e . --no-deps

runners:
- type: executable
Expand Down
12 changes: 5 additions & 7 deletions src/methods/scgpt_zeroshot/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ engines:
- type: docker
image: openproblems/base_pytorch_nvidia:1
setup:
- type: python
pypi:
- gdown
- scgpt # Install from PyPI to get dependencies
- faiss-cpu # TODO: Try installing faiss-gpu
- type: docker
# Force re-installing from GitHub to get bug fixes
run: |
pip install --upgrade --no-deps --force-reinstall git+https://github.com/bowang-lab/scGPT.git
git clone https://github.com/bowang-lab/scGPT && \
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121 && \
pip install "flash-attn<1.0.5" --no-build-isolation && \
pip install ipykernel pandas scanpy numba "numpy<1.24" torchtext==0.17.0 scib "scvi-tools<1.0" datasets==2.14.5 transformers==4.33.2 wandb "cell-gears<0.0.3" torch_geometric pyarrow==15.0.0 gdown && \
cd scGPT && pip install -e . --no-deps
Comment on lines +48 to +52
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this aligns with how we install scgpt in the batch integration task and seems to work


runners:
- type: executable
Expand Down