plain-carpet-73994
09/27/2022, 11:47 PMThere was 1 error downloading required artifacts:
1. torch 1.12.1+cu116 from <https://download.pytorch.org/whl/cu116/torch-1.12.1%2Bcu116-cp310-cp310-linux_x86_64.whl>
Executing /home/companion/.cache/pants/named_caches/pex_root/venvs/ed3764586d1d1a9f27f2d6aa23d6ce7741735e1a/35dbbcf0d165ce1faf5f10df88cd6c8a72fc9216/bin/python -sE /home/companion/.cache/pants/named_caches/pex_root/venvs/ed3764586d1d1a9f27f2d6aa23d6ce7741735e1a/35dbbcf0d165ce1faf5f10df88cd6c8a72fc9216/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --use-deprecated legacy-resolver --isolated -q --cache-dir /home/companion/.cache/pants/named_caches/pex_root/pip_cache --log /tmp/pants-sandbox-TxaSjj/.tmp/pex-pip-log.tsa4zqe_/pip.log download --dest /home/companion/.cache/pants/named_caches/pex_root/downloads/b6bc31244aa2818929fbb30c483c221df471e9d856e805c5a1ff72b131ae9e7b.9bdef5f1ebe741c6adc310711d52f843 --no-deps <https://download.pytorch.org/whl/cu116/torch-1.12.1%2Bcu116-cp310-cp310-linux_x86_64.whl> --index-url <https://pypi.org/simple> --extra-index-url <https://download.pytorch.org/whl/cu116> --retries 5 --timeout 15 failed with -9
I think it's just timing out as the download is big. Is there a way to change the --timeout
? Looked through ./pants help-advanced python
and didn't see any options that seemed relevant.plain-carpet-73994
09/27/2022, 11:48 PMpip install
of the dependency takes about 2.5 minutes including downloading while the pants version takes > 10 minutes on my local laptop.plain-carpet-73994
09/27/2022, 11:49 PM210.81s Building 3 requirements for requirements.pex from the 3rdparty/python/default.lock resolve: pytest, torch, torchvision
and it's still chugging along...enough-analyst-54434
09/28/2022, 1:20 AMplain-carpet-73994
09/28/2022, 4:21 PMenough-analyst-54434
09/28/2022, 4:58 PMenough-analyst-54434
09/29/2022, 9:37 PMplain-carpet-73994
09/29/2022, 11:36 PMenough-analyst-54434
09/29/2022, 11:41 PMenough-analyst-54434
09/29/2022, 11:43 PMplain-carpet-73994
09/29/2022, 11:46 PMenough-analyst-54434
09/29/2022, 11:57 PMplain-carpet-73994
09/30/2022, 12:00 AMenough-analyst-54434
09/30/2022, 12:01 AM