Re:Compromised PyTorch-nightly dependency chain December 30t...
by smhx on Saturday December 31, 2022 @09:58PM
(#34203133)
the version numbers are different, even though the package names are the same.
A stable version will have a version number such as `1.13.0`, where as a nightly version will have the date in the version number, such as `2.0.0.dev20221230`. You can check this either with `pip list | grep torch` or via `python -c "import torch; print(torch.__version__)"`
If you installed `torch` via the instructions to install the nightly version specifically, then you get the nightly version.
By default, you get the stable version of `torch`.
If you installed `torch` via the instructions to install the nightly version specifically, then you get the nightly version. By default, you get the stable version of `torch`.