Skip to content

Latest commit

 

History

History
 
 

pytorch

CONTAINERS IMAGES RUN BUILD

Containers for PyTorch with CUDA support. Note that the l4t-pytorch containers also include PyTorch, torchvision, and torchaudio.

CONTAINERS
pytorch:2.1
   Aliases torch:2.1
   Requires L4T ['>=35']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.1-all torchaudio:2.1.0 torchsde:0.2.1 torchvision:0.16.2
   Dockerfile Dockerfile
   Images dustynv/pytorch:2.1-r35.2.1 (2023-12-11, 5.4GB)
dustynv/pytorch:2.1-r35.3.1 (2023-12-14, 5.4GB)
dustynv/pytorch:2.1-r35.4.1 (2023-11-05, 5.4GB)
dustynv/pytorch:2.1-r36.2.0 (2023-12-14, 7.2GB)
pytorch:2.1-all
   Aliases torch:2.1-all
   Requires L4T ['>=35']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.1 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.2
   Aliases torch:2.2
   Requires L4T ['>=35']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.2-all torchaudio:2.2.2 torchsde:0.2.2 torchvision:0.17.2
   Dockerfile Dockerfile
pytorch:2.2-all
   Aliases torch:2.2-all
   Requires L4T ['>=35']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.2 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.3
   Aliases torch:2.3
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.3-all torchaudio:2.3.0 torchsde:0.2.3 torchvision:0.18.0
   Dockerfile Dockerfile
pytorch:2.3-all
   Aliases torch:2.3-all
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.3 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.3.1
   Aliases torch:2.3.1
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.3.1-all
   Dockerfile Dockerfile
pytorch:2.3.1-all
   Aliases torch:2.3.1-all
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.3.1 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.4
   Aliases torch:2.4
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.4-all torchaudio:2.4.0 torchsde:0.2.4 torchvision:0.19.1
   Dockerfile Dockerfile
pytorch:2.4-all
   Aliases torch:2.4-all
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.4 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.5
   Aliases torch:2.5
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.5-all torchaudio:2.5.0 torchsde:0.2.5 torchvision:0.20.0
   Dockerfile Dockerfile
pytorch:2.5-all
   Aliases torch:2.5-all
   Requires L4T ['==36.*']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.5 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.6
   Aliases torch:2.6
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.6-all torchaudio:2.6.0 torchsde:0.2.6 torchvision:0.21.0
   Dockerfile Dockerfile
   Images dustynv/pytorch:2.6-amd64-cu128-24.04 (2025-04-02, 6.9GB)
dustynv/pytorch:2.6-r36.4.0-cu128 (2025-02-07, 3.4GB)
dustynv/pytorch:2.6-r36.4.0-cu128-24.04 (2025-02-26, 3.5GB)
pytorch:2.6-all
   Aliases torch:2.6-all
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.6 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.7
   Aliases torch:2.7
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants pytorch:2.7-all torchaudio:2.7.0 torchsde:0.2.7 torchtext:0.18.0 torchvision:0.22.0
   Dockerfile Dockerfile
   Images dustynv/pytorch:2.7-r36.4.0 (2025-04-18, 6.3GB)
dustynv/pytorch:2.7-r36.4.0-cu128-24.04 (2025-04-18, 5.5GB)
pytorch:2.7-all
   Aliases torch:2.7-all
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.7 pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
pytorch:2.8
   Aliases torch:2.8 pytorch torch
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn python numpy cmake onnx
   Dependants 3d_diffusion_policy 3dgrut:2.0.0 4k4d:0.0.0 ai-toolkit apex:0.1 audiocraft awq:0.1.0 bitsandbytes:0.39.1 bitsandbytes:0.45.4 bitsandbytes:0.45.5 bitsandbytes:0.46.0 bitsandbytes:0.47.0 bitsandbytes:0.48.0 block_sparse_attn:0.0.1 cache_dit:0.2.0 causalconv1d:1.6.0 chatterbox-tts chatterbox-tts clip_trt cobra:0.0.1 comfyui cosmos-predict2 cosmos-reason1 cosmos-transfer1 cosmos1-diffusion-renderer:1.0.4 crossformer cutlass:4.1.0 cv-cuda:0.15 deepspeed:0.15.2 deepspeed:0.18.0 deepspeed:0.9.5 diffusers:0.35.0 diffusion_policy dimba:1.0 dli-nano-ai dynamo:0.3.2 easyvolcap:0.0.0 efficientvit exllama:0.1 faiss_lite fast_gauss:1.0.0 flash-attention:2.5.7 flash-attention:2.6.3 flash-attention:2.7.2.post1 flash-attention:2.7.4.post1 flash-attention:2.8.0.post2 flash-attention:2.8.1 flashinfer:0.2.1.post2 flashinfer:0.2.2 flashinfer:0.2.2.post1 flashinfer:0.2.6.post1 flashinfer:0.2.7 flashinfer:0.2.8 flexprefill:0.1.0 framepack fruitnerf:1.0 fruitnerf:1.0 genai-bench:0.1.0 genesis-world:0.2.2 genesis-world:0.2.2 glomap:2.0.0 glomap:2.0.0 gptqmodel:3.0.1 gsplat:1.5.3 gsplat:1.5.3 habitat-sim:0.3.4 hloc:1.4 hloc:1.4 hloc:1.5 hloc:1.5 holoscan huggingface_kernels:0.7.0 hymba isaac-gr00t isaaclab:2.2.0 isaacsim:5.0.0 jetson-copilot jetson-inference:foxy jetson-inference:galactic jetson-inference:humble jetson-inference:iron jetson-inference:jazzy jetson-inference:main kaolin:0.18.0 kat:1 kokoro-tts:fastapi kokoro-tts:hf kokoro-tts:onnx ktransformers:0.3.3 l4t-diffusion l4t-dynamo l4t-ml l4t-pytorch l4t-text-generation langchain langchain:samples lerobot libcom:0.1.0 lita llama-factory llama-index llama-index:samples llama-vision llava lobechat local_llm log-linear-attention:0.0.1 mamba:2.2.5 mambavision:1.0 mimicgen minference:0.1.7 minigpt4 mlc:0.1.0 mlc:0.1.1 mlc:0.1.2 mlc:0.1.3 mlc:0.1.4 mlc:0.19.0 mlc:0.20.0 mlc:0.21.0 mlstm_kernels:2.0.1 mooncake:0.3.5 nano_llm:24.4 nano_llm:24.4-foxy nano_llm:24.4-galactic nano_llm:24.4-humble nano_llm:24.4-iron nano_llm:24.4.1 nano_llm:24.4.1-foxy nano_llm:24.4.1-galactic nano_llm:24.4.1-humble nano_llm:24.4.1-iron nano_llm:24.5 nano_llm:24.5-foxy nano_llm:24.5-galactic nano_llm:24.5-humble nano_llm:24.5-iron nano_llm:24.5.1 nano_llm:24.5.1-foxy nano_llm:24.5.1-galactic nano_llm:24.5.1-humble nano_llm:24.5.1-iron nano_llm:24.6 nano_llm:24.6-foxy nano_llm:24.6-galactic nano_llm:24.6-humble nano_llm:24.6-iron nano_llm:24.7 nano_llm:24.7-foxy nano_llm:24.7-galactic nano_llm:24.7-humble nano_llm:24.7-iron nano_llm:main nano_llm:main-foxy nano_llm:main-galactic nano_llm:main-humble nano_llm:main-iron nanodb nanoowl nanosam nemo nerfacc:0.5.3 nerfacc:0.5.4 nerfstudio:1.1.7 nerfstudio:1.1.7 nerfview:0.1.4 nerfview:0.1.4 nixl:0.3.2 nvdiffrast:0.3.4 nvidia_modelopt:0.32.0 octo onnxruntime_genai:0.8.5 onnxruntime_genai:0.8.5 open3d:1.19.0 openpi openvla openvla:mimicgen optimum paraattention:0.4.0 partpacker:0.1.0 piper-tts piper1-tts:1.3.0 pixsfm:1.0 pixsfm:1.0 plstm:0.1.0 prismatic protomotions:2.5.0 protomotions:2.5.0 pycolmap:3.12 pycolmap:3.12 pycolmap:3.13 pycolmap:3.13 pykan:0.2.9 pytorch3d:0.7.8 pytorch3d:0.7.9 pytorch:2.1-all pytorch:2.1-all pytorch:2.2-all pytorch:2.2-all pytorch:2.3-all pytorch:2.3-all pytorch:2.3.1-all pytorch:2.3.1-all pytorch:2.4-all pytorch:2.4-all pytorch:2.5-all pytorch:2.5-all pytorch:2.6-all pytorch:2.6-all pytorch:2.7-all pytorch:2.7-all pytorch:2.8-all pytorch:2.8-all radial-attention:0.1.0 raft robogen robogen robomimic robopoint sage-attention:3.0.0 sam sapiens sdnext self-forcing sgl-kernel:0.2.3 sglang:0.4.4 sglang:0.4.6 sglang:0.4.9 sound-utils sound-utils sparc3d:0.1.0 sparge-attention:0.1.0 spark-tts speaches stable-diffusion-webui sudonim:hf tam tensorrt_llm:0.12 tensorrt_llm:0.22.0 text-generation-inference text-generation-webui:1.7 text-generation-webui:6a7cd01 text-generation-webui:main tinycudann:1.7 torch-memory-saver:0.0.7 torch2trt torch_tensorrt torchao:0.12.0 torchao:0.13.0 torchaudio:2.8.0 torchsde:0.2.8 torchtext:0.19.0 torchvision:0.23.0 transformer-engine:2.7 transformers:4.53.1 triton:3.0.0 triton:3.1.0 triton:3.2.0 triton:3.3.0 triton:3.3.1 triton:3.4.0 triton:3.5.0 tvm videollama:1.0.0 videomambasuite:1.0 vila vllm:0.7.4 vllm:0.8.4 vllm:0.9.0 vllm:0.9.2 vllm:0.9.3 vllm:v0.8.5.post1 voice-pro voicecraft vscode:torch vscode:transformers warp:1.7.0-all warp:1.7.0-torch warp:1.8.1-all warp:1.8.1-torch whisper whisper_trt whisperx wyoming-piper:1.6.2 wyoming-piper:master xattention:0.0.1 xformers:0.0.32 xformers:0.0.33 xgrammar:0.1.15 xgrammar:0.1.18 xgrammar:0.1.19 xgrammar:0.1.20 xgrammar:0.1.21 xlstm:2.0.5 xtts xtuner zigma:1.0
   Dockerfile Dockerfile
pytorch:2.8-all
   Aliases torch:2.8-all pytorch:all torch:all
   Requires L4T ['>=36']
   Dependencies build-essential pip_cache:cu126 cuda:12.6 cudnn:9.3 python numpy cmake onnx pytorch:2.8 torchvision torchaudio triton torchao tensorrt torch2trt pytorch3d huggingface_hub rust transformers diffusers xformers cuda-python cutlass flash-attention pycuda jupyterlab
   Dockerfile Dockerfile
CONTAINER IMAGES
Repository/Tag Date Arch Size
  dustynv/pytorch:1.10-r32.7.1 2023-12-14 arm64 1.1GB
  dustynv/pytorch:1.11-r35.2.1 2023-11-05 arm64 5.4GB
  dustynv/pytorch:1.11-r35.3.1 2023-12-14 arm64 5.4GB
  dustynv/pytorch:1.11-r35.4.1 2023-12-11 arm64 5.4GB
  dustynv/pytorch:1.12-r35.2.1 2023-12-14 arm64 5.5GB
  dustynv/pytorch:1.12-r35.3.1 2023-08-29 arm64 5.5GB
  dustynv/pytorch:1.12-r35.4.1 2023-11-03 arm64 5.5GB
  dustynv/pytorch:1.13-r35.2.1 2023-08-29 arm64 5.5GB
  dustynv/pytorch:1.13-r35.3.1 2023-12-12 arm64 5.5GB
  dustynv/pytorch:1.13-r35.4.1 2023-12-14 arm64 5.5GB
  dustynv/pytorch:1.9-r32.7.1 2023-12-14 arm64 1.0GB
  dustynv/pytorch:2.0-r35.2.1 2023-12-06 arm64 5.4GB
  dustynv/pytorch:2.0-r35.3.1 2023-12-14 arm64 5.4GB
  dustynv/pytorch:2.0-r35.4.1 2023-10-07 arm64 5.4GB
  dustynv/pytorch:2.1-r35.2.1 2023-12-11 arm64 5.4GB
  dustynv/pytorch:2.1-r35.3.1 2023-12-14 arm64 5.4GB
  dustynv/pytorch:2.1-r35.4.1 2023-11-05 arm64 5.4GB
  dustynv/pytorch:2.1-r36.2.0 2023-12-14 arm64 7.2GB
  dustynv/pytorch:2.6-amd64-cu128-24.04 2025-04-02 amd64 6.9GB
  dustynv/pytorch:2.6-r36.4.0-cu128 2025-02-07 arm64 3.4GB
  dustynv/pytorch:2.6-r36.4.0-cu128-24.04 2025-02-26 arm64 3.5GB
  dustynv/pytorch:2.7-r36.4.0 2025-04-18 arm64 6.3GB
  dustynv/pytorch:2.7-r36.4.0-cu128-24.04 2025-04-18 arm64 5.5GB

Container images are compatible with other minor versions of JetPack/L4T:
    • L4T R32.7 containers can run on other versions of L4T R32.7 (JetPack 4.6+)
    • L4T R35.x containers can run on other versions of L4T R35.x (JetPack 5.1+)

RUN CONTAINER

To start the container, you can use jetson-containers run and autotag, or manually put together a docker run command:

# automatically pull or build a compatible container image
jetson-containers run $(autotag pytorch)

# or explicitly specify one of the container images above
jetson-containers run dustynv/pytorch:2.7-r36.4.0-cu128-24.04

# or if using 'docker run' (specify image and mounts/ect)
sudo docker run --runtime nvidia -it --rm --network=host dustynv/pytorch:2.7-r36.4.0-cu128-24.04

jetson-containers run forwards arguments to docker run with some defaults added (like --runtime nvidia, mounts a /data cache, and detects devices)
autotag finds a container image that's compatible with your version of JetPack/L4T - either locally, pulled from a registry, or by building it.

To mount your own directories into the container, use the -v or --volume flags:

jetson-containers run -v /path/on/host:/path/in/container $(autotag pytorch)

To launch the container running a command, as opposed to an interactive shell:

jetson-containers run $(autotag pytorch) my_app --abc xyz

You can pass any options to it that you would to docker run, and it'll print out the full command that it constructs before executing it.

BUILD CONTAINER

If you use autotag as shown above, it'll ask to build the container for you if needed. To manually build it, first do the system setup, then run:

jetson-containers build pytorch

The dependencies from above will be built into the container, and it'll be tested during. Run it with --help for build options.