[Instructions for installing PyTorch · Issue #6409 · python-poetry/poetry · GitHub](https://github.com/python-poetry/poetry/issues/6409) [[CUDA]]関連の共有ライブラリがないとエラーになるため、共有ライブラリをインストールする。 [OSError: libcurand.so.10: cannot open shared object file: No such file or directory · Issue #194 · dusty-nv/jetson-containers · GitHub](https://github.com/dusty-nv/jetson-containers/issues/194) ```shell-session sudo apt-get install "cuda-toolkit-*" ``` [python - "Could not load dynamic library 'libcudnn.so.8'" when running tensorflow on ubuntu 20.04 - Stack Overflow](https://stackoverflow.com/questions/66977227/could-not-load-dynamic-library-libcudnn-so-8-when-running-tensorflow-on-ubun) ```shell-session sudo apt install nvidia-cudnn ``` ``` wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 export last_public_key=3bf863cc # SEE NOTE BELOW sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/${last_public_key}.pub sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /" sudo apt-get update sudo apt-get install libcudnn8 sudo apt-get install libcudnn8-dev ``` [Scrapbox](https://scrapbox.io/stream/toshi00/) poetry source add --priority=explicit torch-cpu https://download.pytorch.org/whl/cpu    poetry add --source torch-cpu torch