question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

torchvision CPU nightly wheels are stored in the wrong index

See original GitHub issue

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.

cc @malfet @seemethere

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tgaddaircommented, Jun 14, 2022

This issue is still popping up from time to time. We tried working around it using @pmeier’s suggestion to change:

pip install --pre torch torchtext torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/torch_nightly.html       

to:

pip install --pre torch torchtext torchvision torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html

However, this results in installing a ROCM enabled version of torch that fails at runtime and is incompatible with some of our other dependencies.

torch                     1.13.0.dev20220614+rocm5.0
torchaudio                0.13.0.dev20220614+rocm5.1.1
torchtext                 0.14.0.dev20220614
torchvision               0.14.0.dev20220614+rocm5.0
1reaction
tgaddaircommented, May 30, 2022

Thanks for the workaround @pmeier.

@malfet, thanks for looking into this, though I am still unable to use --extra-index-url at this time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stable Diffusion (Couldn't Install Torch & Pip Version)
I get "ERROR: torch has an invalid wheel, .dist-info directory not found"; python -m pip install --upgrade pip. It's probably worth noting that ......
Read more >
BERT PyTorch TPU - Kaggle
Operation completed over 1 objects/119.5 MiB. Copying gs://tpu-pytorch/wheels/torchvision-nightly+20200515-cp37-cp37m-linux_x86_64.whl... Operation completed ...
Read more >
torchvision - PyPI
The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.
Read more >
Installing and running pytorch on M1 GPUs (Apple metal/MPS)
The error at the bottom has to do with versioning and installing dependencies for torchvision. You may need to handle dependency installations manually....
Read more >
Issue with pip installation of PyTorch
pip3 install torch torchvision torchaudio --extra-index-url ... available-returns-false-even-after-installing-pytorch-with/61034368#61034368.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found