When I use conda install pytorch=1.9.1 torch vision=0.10.1 torch studio=0.9.1 cudatoolkit=11.3-c pytorch - c conda forge
to install the GPU version of pytorch, I can only get one CPU version. Can someone tell me the reason
The command seems to have syntax errors and tries to use conda-forge
which contains community builds not maintained by us. I don’t know where this install command comes from, but you should stick to the ones posted on our website.
no,this command comes literally from Previous PyTorch Versions | PyTorch
He means:
there is no space between torch and vision
or torch and studio
or conda and forge
You wrote:
conda install pytorch=1.9.1 torch vision=0.10.1 torch studio=0.9.1 cudatoolkit=11.3-c pytorch - c conda forge
But it must be:
conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=11.3 -c pytorch -c conda-forge
Clear now?