Open Nasrine26 opened 8 months ago
Hi @Nasrine26
you can use the default instructions and much newer pytorch versions - just make sure that you install the Cuda rather than CPU version. For example - use this for pytorch 2.2 with Cuda 11.8 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Please use the template below to post a question to https://discourse.scverse.org/c/ecosytem/cell2location/.
Problem
I'm having issue installing a Conda environment for A100 GPUs ...
pip install git+https://github.com/BayraktarLab/cell2location.git#egg=cell2location[tutorials]
: i get the following message :DEPRECATION: git+https://github.com/BayraktarLab/cell2location.git#egg=cell2location[tutorials] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 -f https://download.pytorch.org/whl/torch_stable.html
which leads to the following error message:
Should the instructions be updated?
Many thanks, Nasrine