1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Jetson Nano上のコンテナでpytorch使えるまでメモ(2023/08)

Posted at

JetPack4.6.1をインストール

SDカードに入れるイメージは以下のリンクにあります。
https://developer.nvidia.com/jetpack-sdk-464

SDカードを焼くのは私はbalenaEtcherを使っていますが好きなのを使えば良いと思います。

nvidia-containerとnvidia-jetpackインストール

sudo apt dist-upgrade
sudo apt update
sudo apt install nvidia-container
sudo apt install nvidia-jetpack

コンテナ立ち上げる

sudo docker pull nvcr.io/nvidia/l4t-ml:r32.5.0-py3
sudo docker run -it --gpus all nvcr.io/nvidia/l4t-ml:r32.5.0-py3

コンテナ

python3
>>> import torch
>>> torch.cuda.is_available()
True
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?