drbwts
September 16, 2022, 11:43am
1
Hi,
I’m trying to uninstall pytorch I installed using
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Then I tried to uniinstall using,
conda uninstall pytorch
But it just hangs with,
Collecting package metadata (repodata.json): done
Solving environment: -
After 2 hours I just closed the comand window. I really need to get this version of pytorch uninstalled so I can install a GPU friendly version, for whatever reason the default package from conda appears to be the CPU version as far as I can tell.
Thanks
1 Like
dear drbwts .
Thank you for your contribution to the anaconda community.
Well, PyTorch downloaded from the following URL may be CPU-oriented and weak against GPU.
https://anaconda.org/pytorch/pytorch
However, PytTorch is also provided in another way in conda.
CUBA10.2: conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
CUBA11.3 : conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
CUBA11.6: conda install pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c conda-forge
ROCm5.1.1: not available
For deletion, currently
conda remove pytorch
conda remove -n “your enviroment” pytorch
is the default and uninstall is used for compatibility with older versions.
Best regards
ktsh.tanaka.2020
drbwts
September 18, 2022, 2:48pm
3
Hi thanks for the reply. Unfortunately this still results in the command line hanging at the “Solving enironment” stage