Can I have specific version of torch or is the anaconda env allowed to be created? ¶
By: billhhh on June 29, 2024, 10:17 a.m.
I am currently building my algorithm, but it requires specific version of torch (torch1.7.1+cu110). It is not easily to be installed with naive pip install and usually I install with
"pip install --pre torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html".
So may I know if I can install them with the command above (requires cuda11.0) or anaconda env by specifying the 'cudatoolkit' version?
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch
Thank you!