How to Update pytorch v0.1.12 to v0.2.0


(song) #1

How to Update pytorch v0.1.12 to v0.2.0 and Quick uninstall pytorch?
I’m using pip


(Hugh Perkins) #2

Personally, I ended up deleting my old conda envrionment, and then creating a new one. I’m not sure if there is a faster way of doing this. (I found trying upgrading gave me some error about a numpy version mismatch, amongst other issues).


(Hiroya Chiba) #3

‘Get Started’ in http://pytorch.org/ is showing this. (for OS X)

pip install http://download.pytorch.org/whl/torch-0.2.0.post3-cp36-cp36m-macosx_10_7_x86_64.whl

(Zhuoru Lin) #4

I think conda update does not work in this case for some reason…
I used

conda uninstall pytorch torchvision cuda80 -c soumith
conda install pytorch torchvision cuda80 -c soumith

(Solomon K ) #5

I wrote a script for this:
https://github.com/QuantScientist/Deep-Learning-Boot-Camp/blob/master/day%2002%20PyTORCH%20and%20PyCUDA/PyTorch/build_torch.sh