Skip to content
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

Torchvision cuda version should match torch's cuda version #2713

Closed
twoertwein opened this issue Sep 28, 2020 · 1 comment
Closed

Torchvision cuda version should match torch's cuda version #2713

twoertwein opened this issue Sep 28, 2020 · 1 comment

Comments

@twoertwein
Copy link

🐛 Bug

Torchvision 0.7.0+cu101 requires pytorch 1.6.0, but it should require 1.6.0+cu101 (or this is a poetry bug/feature).

To Reproduce

$ poetry  add https://download.pytorch.org/whl/cu101/torch-1.6.0%2Bcu101-cp38-cp38-linux_x86_64.whl
$ poetry  add https://download.pytorch.org/whl/cu101/torchvision-0.7.0%2Bcu101-cp38-cp38-linux_x86_64.whl
...
[SolverProblemError]
Because torchvision (0.7.0+cu101) depends on torch (1.6.0)
 and project depends on torch (1.6.0+cu101 url), torchvision is forbidden.
So, because project depends on torchvision (0.7.0+cu101 url), version solving failed.
@fmassa
Copy link
Member

fmassa commented Sep 28, 2020

Hi,

I believe this is a duplicate of #2310 .
It is not yet clear if this is a problem that should be fixed in torchvision.

Given that we already have a lot of useful points mentioned in #2310, I propose we continue the discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants