Closed
Description
When installing development versions of pytorch, many extra versions are downloaded, slowing down locking a lot. Sometimes this causes errors when the connection isn't stable enough to successfully download one of those files.
Steps to replicate
Add
[[source]]
url = "https://download.pytorch.org/whl/nightly/cu121"
verify_ssl = true
name = "downloadpytorch"
[packages]
torch = { version = ">=2.2.0.dev20230918", index = "downloadpytorch" }
torchvision = { version = ">=0.17.0.dev20230919", index = "downloadpytorch" }
torchaudio = { version = ">=2.2.0.dev20230919", index = "downloadpytorch" }
[pipenv]
allow_prereleases = true
to your pipfile and run pipenv install --verbose
Expected result
The correct files get downloaded for python 3.10 which the project uses.
Actual result
```
Downloading file
torchvision-0.17.0.dev20231002+cu121-cp310-cp310-linux_x86_64.whl to obtain
hash...
Downloading file torchvision-0.17.0.dev20231002+cu121-cp310-cp310-win_amd64.whl
to obtain hash...
Downloading file
torchvision-0.17.0.dev20231002+cu121-cp311-cp311-linux_x86_64.whl to obtain
hash...
Downloading file torchvision-0.17.0.dev20231002+cu121-cp311-cp311-win_amd64.whl
to obtain hash...
Downloading file
torchvision-0.17.0.dev20231002+cu121-cp38-cp38-linux_x86_64.whl to obtain
hash...
Downloading file torchvision-0.17.0.dev20231002+cu121-cp38-cp38-win_amd64.whl
to obtain hash...
Downloading file
torchvision-0.17.0.dev20231002+cu121-cp39-cp39-linux_x86_64.whl to obtain
hash...
Downloading file torchvision-0.17.0.dev20231002+cu121-cp39-cp39-win_amd64.whl
to obtain hash...
Downloading file
torchaudio-2.2.0.dev20231002+cu121-cp310-cp310-linux_x86_64.whl to obtain
hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp310-cp310-win_amd64.whl
to obtain hash...
Downloading file
torchaudio-2.2.0.dev20231002+cu121-cp311-cp311-linux_x86_64.whl to obtain
hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp311-cp311-win_amd64.whl
to obtain hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp38-cp38-linux_x86_64.whl
to obtain hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp38-cp38-win_amd64.whl to
obtain hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp39-cp39-linux_x86_64.whl
to obtain hash...
Downloading file torchaudio-2.2.0.dev20231002+cu121-cp39-cp39-win_amd64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp310-cp310-linux_x86_64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp310-cp310-win_amd64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp311-cp311-linux_x86_64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp311-cp311-win_amd64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp38-cp38-linux_x86_64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp38-cp38-win_amd64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp39-cp39-linux_x86_64.whl to
obtain hash...
Downloading file torch-2.2.0.dev20231002+cu121-cp39-cp39-win_amd64.whl to
obtain hash...
```
-------------------------------------------------------------------------------