vision: torchvision CPU nightly wheels are stored in the wrong index
The nightlies are in https://download.pytorch.org/whl/nightly/cpu/torchvision/torchvision rather than https://download.pytorch.org/whl/nightly/cpu/torchvision/.
Installing with
pip install --pre torchvision --extra-index-url https://download.pytorch.org/whl/nightly/cpu/
will pull the stable wheel from PyPI.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 16 (6 by maintainers)
This issue is still popping up from time to time. We tried working around it using @pmeier’s suggestion to change:
to:
However, this results in installing a ROCM enabled version of torch that fails at runtime and is incompatible with some of our other dependencies.
Thanks for the workaround @pmeier.
@malfet, thanks for looking into this, though I am still unable to use
--extra-index-url
at this time.Fixed it by deleting spurious /whl/cpu/torchvision/ packages, but I’m still not sure why it caused this weird nesting problem
Nope. The cause of #6099 is a wrong installation command. Your command is fine, but our index is broken.
In the mean time, you can also install with
This is fine for your use case, but be aware that you can only install PyTorch wheels with this, whereas the
--extra-index-url
can also pull from PyPI if you require anything else.