gasoon
gasoon

Reputation: 865

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

Upvotes: 9

Views: 12891

Answers (2)

Javi
Javi

Reputation: 1211

https://pytorch.org/get-started/previous-versions/

This page contains all the info to downgrade Pytorch to the version you need.

Upvotes: 0

Hamidreza Saghir
Hamidreza Saghir

Reputation: 76

conda install pytorch=0.3.1.0 cuda80 -c soumith

Upvotes: 6

Related Questions