Score:0

How to installl pytorch nightly version in ubuntu

sa flag

I am trying to install pytorch-nightly but I met error. How can I resolve this problem.

My dev env is Ubuntu 18.04.5, Conda 4.10.1 with python 3.6, CUDA :11.1.1

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

Looking in links: https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html
Requirement already satisfied: torch in /home/anthony/anaconda3/envs/rotated_maskrcnn3/lib/python3.6/site-packages (1.10.0.dev20210831+cu111)
Requirement already satisfied: torchvision in /home/anthony/anaconda3/envs/rotated_maskrcnn3/lib/python3.6/site-packages (0.11.0.dev20210831+cu111)
Requirement already satisfied: torchaudio in /home/anthony/anaconda3/envs/rotated_maskrcnn3/lib/python3.6/site-packages (0.10.0.dev20210831)
Collecting torch-nightly
  ERROR: HTTP error 403 while getting https://download.pytorch.org/whl/nightly/torch_nightly-1.2.0.dev20190731%2Bcu92-cp36-cp36m-linux_x86_64.whl (from https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html)
ERROR: Could not install requirement torch-nightly from https://download.pytorch.org/whl/nightly/torch_nightly-1.2.0.dev20190731%2Bcu92-cp36-cp36m-linux_x86_64.whl because of HTTP error 403 Client Error: Forbidden for url: https://download.pytorch.org/whl/nightly/torch_nightly-1.2.0.dev20190731%2Bcu92-cp36-cp36m-linux_x86_64.whl for URL https://download.pytorch.org/whl/nightly/torch_nightly-1.2.0.dev20190731%2Bcu92-cp36-cp36m-linux_x86_64.whl (from https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html)

Kernel infomation

cat /proc/version

Linux version 5.4.0-81-generic (buildd@lgw01-amd64-051) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021

nvidia graphic information

nvidia-smi

Wed Sep  1 15:57:22 2021       
+---------------------------------------------+
| NVIDIA-SMI 460.91.03    Driver Version: 460.91.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 307...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   40C    P8    18W /  N/A |    521MiB /  7982MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+---------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1241      G   /usr/lib/xorg/Xorg                 26MiB |
|    0   N/A  N/A      2693      G   /usr/bin/gnome-shell               88MiB |
|    0   N/A  N/A      3281      G   /usr/lib/xorg/Xorg                182MiB |
|    0   N/A  N/A      3422      G   /usr/bin/gnome-shell               59MiB |
|    0   N/A  N/A      4279      G   ...b/thunderbird/thunderbird        2MiB |
|    0   N/A  N/A      4981      G   ...AAAAAAAAA= --shared-files      156MiB |
+---------------------------------------------+

CUDA Information

nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0
David avatar
cn flag
No one is going to visit all them links. If there is information in them your question needs please put it in the question.
cn flag
why post info about your hardware when the error states it can not reach a website? The "https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html" in your command seems invalid.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.