I'm using anaconda now and due to some code error I need to downgrade the pytorch from version 0.4 to version 0.31.
However, as I use anaconda as my python package management tool, I used the instruction below to downgrade it and encountered the following error:
conda install pytorch=0.31 cuda80 -c soumith
PackagesNotFoundError: The following packages are not available from current channels:
- pytorch=0.31
And I also have tried some normal method to revert the package into previous verion in anaconda, but they failed either.
Could anyone tell me how to downgrade it? Thank you so much!!
Download and install Anaconda (choose the latest Python version). Go to PyTorch's site and find the get started locally section. Specify the appropriate configuration options for your particular environment. Run the presented command in the terminal to install PyTorch.
If you used Anaconda or Miniconda to install PyTorch, you can use conda list -f pytorch to check PyTorch package's information, which also includes its version. If you want to check PyTorch version for a specific environment such as pytorch14 , use conda list -n pytorch14 -f pytorch .
If you want to revert to a previous revision you can simply run conda install --revision N (where N is the revision number).
To install PyTorch via Anaconda, and do not have a CUDA-capable or ROCm-capable system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Conda, Language: Python and Compute Platform: CPU. Then, run the command that is presented to you.
conda install pytorch=0.3.1.0 cuda80 -c soumith
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With