Installation of GaNDLF #688
MaimoonaAkram
started this conversation in
General
Replies: 2 comments 7 replies
-
Hi @MaimoonaAkram, Thanks for your interest in GaNDLF! I am a bit confused regarding which commands you tried. Can you give the step-by-step commands, please? For example, this is the command to create a new virtual environment: conda create -n venv_gandlf python=3.8 -y And this will activate it: conda activate venv_gandlf This command will install the correct version of PyTorch for CUDA hardware: pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 |
Beta Was this translation helpful? Give feedback.
2 replies
-
Can I run your GaNDLF framework on google COLAB?? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Actually I want to use google colab to do the task. I have installed conda on google colab conda 23.1.0, then I installed pytorch before using GaNDLF
but when I tried the following
code it does not work:
(base) $> conda create -n venv_gandlf python=3.8 -y
(base) $> conda activate venv_gandlf
(venv_gandlf) $> ### subsequent commands go here
PyTorch installation - https://pytorch.org/get-started/previous-versions/#v1131
CUDA 11.6
(venv_gandlf) $> pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
ROCm
(venv_gandlf) $> pip install torch==1.13.1+rocm5.2 torchvision==0.14.1+rocm5.2 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/rocm5.2
CPU-only
(venv_gandlf) $> pip install torch==1.13.1+cpu
Beta Was this translation helpful? Give feedback.
All reactions