Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I downgrade the version pytorch from 0.4 to 0.31 with anaconda?

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!!

like image 755
gasoon Avatar asked May 08 '18 09:05

gasoon


People also ask

How do I install the old version of PyTorch?

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.

How do I check my PyTorch version in Anaconda prompt?

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 .

How do I revert to an older version of Anaconda?

If you want to revert to a previous revision you can simply run conda install --revision N (where N is the revision number).

Can I install PyTorch in Anaconda?

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.


1 Answers

conda install pytorch=0.3.1.0 cuda80 -c soumith
like image 61
Hamidreza Saghir Avatar answered Sep 28 '22 21:09

Hamidreza Saghir