-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hard requirement of torch==1.2.0? #1257
Comments
this is not intended to be a bug. you can use torchvision 0.3.0 to use with pytorch 1.1.0 |
The Pypi description for 0.4.0 still says:
But if you have PyTorch 1.1 installed, then installing |
whoops, the pypi description needs to be fixed. |
hi, but, it succeeds to install! $pip freeze
...
torch==1.3.0
torchvision==0.4.0
... in the release note it says pypi says the doc issue mentioned above may be still going on. |
@soumith do you know how we update the pypi readme? @sbelharbi if you install PyTorch 1.3.0, you need torchvision 0.4.1, or else you'll face import errors. |
for now, quick import didn't raise an issue. In [1]: import torch
In [2]: import torchvision
In [3]: torch.__version__
Out[3]: '1.3.0'
In [4]: import torchvision.transforms.functional as TF
$ pip freeze | grep -w "torchvision"
torchvision==0.4.0 |
first try leads to cuda incompatibility (requires cuda 10.1, i have 10.0). my fault. torch==1.3.0+cu100
torchvision==0.4.1+cu100 |
@fmassa you upload a source distribution |
It uses the But I can see that that should have been updated as of v0.4.1? But it still says "TorchVision requires PyTorch 1.1 or newer." on pypi for Btw; I looked this up when I came across this before (I was curious), and there's a giant thread of people complaining that you can't upload a new description without uploading the whole thing again: pypi/warehouse#2170 |
Hello, I'm revisiting the dependencies for my project and I haven't done that in a long time. I have been using torch 1.1.0 for quite a while; I am confident my code works with it. However it seems like torchvision now requires torch 1.2.0. Here's the output from poetry (pipenv gave a more verbose but essentially same output):
Is this intended or is this a 'bug'? Am I missing something? Thanks.
The text was updated successfully, but these errors were encountered: