How to Update pytorch v0.1.12 to v0.2.0

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

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).

1 Like

‘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
1 Like

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

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