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.

Installing nightly version picks up latest release

See original GitHub issue

🐛 Bug

I am trying to install latest torchvision nightly version but pip picks up latest release. The reason is that latest nightly packages have the same version as the latest release. You would expect the nightlies to have a higher major / minor / patch.

To Reproduce

Steps to reproduce the behavior:

With pip install --pre torchvision -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html I would expect the latest nightly version to be installed. Pip however picks up torchvision==0.9.0 from https://pypi.org/simple/torchvision/, which is a release version. Latest nightly package in that nightly url is torchvision-0.9.0.dev20210324%2Bcu111-cp38-cp38-linux_x86_64.whl, which is semantically before the release, hence it is not being picked up.

This can be worked around by adding --no-index to pip. However, I think the versioning is not correct.

Expected behavior

I always get a nightly version.

Environment

  • OS: Linux (Ubuntu)
  • Python: 3.8
  • Pip: 20.0.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fmassacommented, Apr 2, 2021

@EnricoMi I believe we are not providing binaries for c110 nor cu112, so this would be expected, but I’ll let @seemethere confirm

1reaction
EnricoMicommented, Mar 25, 2021

I can confirm this now picks up version 0.10.0.dev20210325+cu111:

pip install --pre torchvision -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html
Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Rust nightly - Rust Programming By Example [Book]
Running this command will install the nightly version of the tools ( cargo ... This will also update the stable version if a...
Read more >
Channels - The rustup book
After a release channel has been installed, rustup can be used to update the installed version to the latest release on that channel....
Read more >
rust - Is it possible to download previous nightly builds?
I guess this is because some dependencies have not been updated to the latest rust version. Is it possible to download the nightly...
Read more >
I'm running a nightly build, will apt-get upgrade keep me ...
I'm trying out the xenial nightly, and I'm wondering if I have to download a new nightly once in a while to keep...
Read more >
Nightly build downloads - KNIME
If you notice that your install is starting to act strangely, please try installing a new nightly build from scratch. If you encounter...
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