Get the latest pytorch with pip

I wonder why all the discussions on upgrading pytorch points to the conda version, but not the pip version?

Can we not get the latest pytorch through pip upgrade?

PyTorch is now available for more or less a week on PyPI, so I guess it’s too new to see a lot of threads :wink:

Doesn’t look its on PyPI. I’m using pip version from pytorch.org custom PyPI without any problems.

pip install pytorch==
Collecting pytorch==
  Could not find a version that satisfies the requirement pytorch== (from versions: 0.1.2)
No matching distribution found for pytorch==

Try

pip install torch
2 Likes

oh, indeed. As I see from pytorch.org, this is cuda 8.0 build. Not really what I expected

This helped me on ubuntu 16, python3.6

pip install --upgrade torch torchvision

29 Likes