Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

python

CONTAINERS IMAGES RUN BUILD

CONTAINERS
python:3.10
   Aliases python
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dependants 3d_diffusion_policy 3dgrut:2.0.0 4k4d:0.0.0 ai-toolkit aim apex:0.1 arrow:12.0.1 arrow:14.0.1 arrow:19.0.1 arrow:20.0.0 arrow:5.0.0 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 canbus cangaroo causalconv1d:1.6.0 chatterbox-tts clip_trt cmake:pip cobra:0.0.1 comfyui cosmos-predict2 cosmos-reason1 cosmos-transfer1 cosmos1-diffusion-renderer:1.0.4 crossformer ctranslate2:4.6.0 ctranslate2:master cuda-python:12.2 cuda-python:12.4 cuda-python:12.6 cuda-python:12.8 cuda-python:12.9 cuda-python:13.0 cuda:12.2-samples cuda:12.4-samples cuda:12.6-samples cuda:12.8-samples cuda:12.9-samples cuda:13.0-samples cudf:23.10.03 cudf:25.08.00 cuml cupy cutlass:4.1.0 cv-cuda:0.15 decord2:1.0.0 deepspeed-kernels:0.1.0 deepspeed:0.15.2 deepspeed:0.18.0 deepspeed:0.9.5 deepstream diffusers:0.35.0 diffusion_policy dimba:1.0 dli-nano-ai docker dynamo:0.3.2 easyvolcap:0.0.0 efficientvit exllama:0.1 faiss:1.12.0 faiss_lite fast_gauss:1.0.0 faster-whisper ffmpeg:7.1 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 genai-bench:0.1.0 genesis-world:0.2.2 glomap:2.0.0 gptqmodel:3.0.1 graphiti gsplat:1.5.3 gstreamer h5py habitat-sim:0.3.4 hloc:1.4 hloc:1.5 holoscan huggingface_hub huggingface_kernels:0.7.0 hymba isaac-gr00t isaac-ros:common-3.2-humble-desktop isaac-ros:common-3.2-jazzy-desktop isaac-ros:compression-3.2-humble-desktop isaac-ros:compression-3.2-jazzy-desktop isaac-ros:data-tools-3.2-humble-desktop isaac-ros:data-tools-3.2-jazzy-desktop isaac-ros:dnn-inference-3.2-humble-desktop isaac-ros:dnn-inference-3.2-jazzy-desktop isaac-ros:image-pipeline-3.2-humble-desktop isaac-ros:image-pipeline-3.2-jazzy-desktop isaac-ros:manipulator-3.2-humble-desktop isaac-ros:manipulator-3.2-jazzy-desktop isaac-ros:nitros-3.2-humble-desktop isaac-ros:nitros-3.2-jazzy-desktop isaac-ros:nvblox-3.2-humble-desktop isaac-ros:nvblox-3.2-jazzy-desktop isaac-ros:pose-estimation-3.2-humble-desktop isaac-ros:pose-estimation-3.2-jazzy-desktop isaac-ros:visual-slam-3.2-humble-desktop isaac-ros:visual-slam-3.2-jazzy-desktop isaaclab:2.2.0 isaacsim:5.0.0 jax:0.4.38 jax:0.6.3 jetcam jetson-copilot jetson-inference:foxy jetson-inference:galactic jetson-inference:humble jetson-inference:iron jetson-inference:jazzy jetson-inference:main jetson-utils:python jetson-utils:v1 jetson-utils:v2 jupyter_clickable_image_widget jupyterlab:4.2.0 jupyterlab:4.2.0-myst jupyterlab:latest jupyterlab:latest-myst kai_scheduler:0.5.5 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-tensorflow:tf1 l4t-tensorflow:tf2 l4t-text-generation langchain langchain:samples lerobot libcom:0.1.0 lita llama-factory llama-index llama-index:samples llama-vision llama_cpp:0.2.57 llama_cpp:0.2.70 llama_cpp:0.2.83 llama_cpp:0.2.90 llama_cpp:0.3.1 llama_cpp:0.3.2 llama_cpp:0.3.5 llama_cpp:0.3.6 llama_cpp:0.3.7 llama_cpp:0.3.8 llama_cpp:0.3.9 llama_cpp:0.4.0 llama_cpp:b5255 llama_cpp:b5833 llamaspeak llava llvm:10 llvm:11 llvm:12 llvm:13 llvm:14 llvm:15 llvm:16 llvm:17 llvm:18 llvm:19 llvm:22 llvm:22 lobechat local_llm log-linear-attention:0.0.1 mamba:2.2.5 mambavision:1.0 memvid:0.1.4 meshlab:MeshLab-2023.12 meshlab:MeshLab-2025.03 mimicgen minference:0.1.7 minigpt4 mistral_rs 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 mujoco 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 nerfview:0.1.4 ninja nixl:0.3.2 numba numpy nvdiffrast:0.3.4 nvidia_modelopt:0.32.0 octo ollama:0.10.0 ollama:0.4.0 ollama:0.5.1 ollama:0.5.5 ollama:0.5.7 ollama:0.6.7 ollama:0.7.0 ollama:0.8.0 ollama:0.9.6 onnx onnxruntime:1.19.2 onnxruntime:1.20 onnxruntime:1.20.1 onnxruntime:1.21 onnxruntime:1.22 onnxruntime_genai:0.8.5 open3d:1.19.0 openai opencv:4.10.0 opencv:4.10.0-meta opencv:4.11.0 opencv:4.11.0-meta opencv:4.12.0 opencv:4.12.0-meta opencv:4.8.1 opencv:4.8.1-deb opencv:4.8.1-meta opendronemap opendronemap:node openpi openvla openvla:mimicgen optimum paraattention:0.4.0 partpacker:0.1.0 physx piper-tts piper1-tts:1.3.0 pixsfm:1.0 plstm:0.1.0 polyscope:2.5.0 prismatic protobuf:apt protobuf:cpp protomotions:2.5.0 pyav pybind11 pyceres:2.5 pycolmap:3.12 pycolmap:3.13 pycuda pykan:0.2.9 pymeshlab:2023.12.post2 pymeshlab:2023.12.post3 pymeshlab:2025.6.23.dev0 pytorch3d:0.7.8 pytorch3d:0.7.9 pytorch:2.1 pytorch:2.1-all pytorch:2.2 pytorch:2.2-all pytorch:2.3 pytorch:2.3-all pytorch:2.3.1 pytorch:2.3.1-all pytorch:2.4 pytorch:2.4-all pytorch:2.5 pytorch:2.5-all pytorch:2.6 pytorch:2.6-all pytorch:2.7 pytorch:2.7-all pytorch:2.8 pytorch:2.8-all radial-attention:0.1.0 raft realsense riva-client:python robogen robomimic robopoint robosuite ros:foxy-desktop ros:foxy-ros-base ros:foxy-ros-core ros:galactic-desktop ros:galactic-ros-base ros:galactic-ros-core ros:humble-desktop ros:humble-ros-base ros:humble-ros-core ros:iron-desktop ros:iron-ros-base ros:iron-ros-core ros:jazzy-desktop ros:jazzy-ros-base ros:jazzy-ros-core ros:noetic-desktop ros:noetic-ros-base ros:noetic-ros-core rust sage-attention:3.0.0 sam sapien sapiens sdnext self-forcing sgl-kernel:0.2.3 sglang:0.4.4 sglang:0.4.6 sglang:0.4.9 sound-utils sparc3d:0.1.0 sparge-attention:0.1.0 spark-tts speaches splashsurf stable-diffusion-webui sudonim sudonim:hf quadrants:1.8.0 tam tensorboard tensorflow2:2.16.1 tensorflow2:2.18.0 tensorflow2:2.19.0 tensorflow2:2.20.0 tensorflow2:2.21.0 tensorflow_graphics:2.18.0 tensorflow_graphics:2.19.0 tensorflow_graphics:2.20.0 tensorflow_text:2.18.0 tensorflow_text:2.19.0 tensorflow_text:2.20.0 tensorrt:10.3 tensorrt:10.4 tensorrt:10.5 tensorrt:10.7 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.1.0 torchaudio:2.2.2 torchaudio:2.3.0 torchaudio:2.4.0 torchaudio:2.5.0 torchaudio:2.6.0 torchaudio:2.7.0 torchaudio:2.8.0 torchsde:0.2.1 torchsde:0.2.2 torchsde:0.2.3 torchsde:0.2.4 torchsde:0.2.5 torchsde:0.2.6 torchsde:0.2.7 torchsde:0.2.8 torchtext:0.18.0 torchtext:0.19.0 torchvision:0.16.2 torchvision:0.17.2 torchvision:0.18.0 torchvision:0.19.1 torchvision:0.20.0 torchvision:0.21.0 torchvision:0.22.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 tritonserver tvm video-codec-sdk:12.2.72-samples video-codec-sdk:13.0.19-samples 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 vpi vscode vscode:cuda vscode:torch vscode:transformers vtk:9.3.1 vtk:9.4.2 vtk:9.5.0 vulkan:1.3.275 vulkan:1.3.296 vulkan:1.4.309 vulkan:1.4.313 vulkan:1.4.314 warp:1.7.0 warp:1.7.0-all warp:1.7.0-jax warp:1.7.0-torch warp:1.8.1 warp:1.8.1-all warp:1.8.1-jax warp:1.8.1-torch whisper whisper_trt whisperx wyoming-assist-microphone:1.4.1 wyoming-assist-microphone:master wyoming-openwakeword:1.10.0 wyoming-openwakeword:master wyoming-piper:1.6.2 wyoming-piper:master wyoming-whisper:2.5.0 wyoming-whisper: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 zed:5.0 zed:5.0-humble zed:5.0-jazzy zigma:1.0
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip
python:3.11
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip
python:3.12
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dependants ciso8601:v2.3.2 homeassistant-core:2025.7.0 psutil-home-assistant:0.0.1
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip
python:3.13
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dependants homeassistant-core:2025.7.0
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip
python:3.14
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip
python:3.14t
   Requires L4T ['>=34']
   Dependencies build-essential pip_cache
   Dockerfile Dockerfile
   Notes installs core python3 packages and pip with free-threaded (no-GIL) support

Free-Threaded Python (No-GIL)

Python 3.14t provides experimental support for running Python without the Global Interpreter Lock (GIL), enabling true parallel execution of Python threads. This is particularly useful for CPU-bound multi-threaded applications.

How It Works

The build system keeps PYTHON_VERSION as a clean PEP 440-compliant version (e.g., 3.14) and uses the PYTHON_FREE_THREADING flag to control whether to install the free-threaded build. The install.sh script automatically adds the t suffix when calling uv python install 3.14t if PYTHON_FREE_THREADING=1.

Usage

To use the free-threaded version of Python:

# Build with Python 3.14t
jetson-containers build python:3.14t

# Or explicitly set the environment variable
PYTHON_VERSION=3.14t jetson-containers build python:3.14t

# Run the container
jetson-containers run $(autotag python:3.14t)

Verification

Inside the container, you can verify that the GIL is disabled:

python3 -c "import sys; print(f'GIL disabled: {not sys._is_gil_enabled()}')"

Important Notes

  • The PYTHON_GIL=0 environment variable is set automatically for free-threaded builds
  • Not all Python packages are compatible with free-threaded Python yet
  • Performance characteristics may differ from standard Python builds
  • This is an experimental feature and may have stability issues

Technical Details

  • Package name: python:3.14t (user-facing, includes 't' suffix)
  • Build args: PYTHON_VERSION=3.14 and PYTHON_FREE_THREADING=1 (separated for PEP 440 compliance)
  • Installation: uv python install 3.14t (reconstructed with 't' suffix in install.sh)
CONTAINER IMAGES
Repository/Tag Date Arch Size
  dustynv/python:r32.7.1 2023-12-05 arm64 0.4GB
  dustynv/python:r35.2.1 2023-12-05 arm64 5.0GB
  dustynv/python:r35.3.1 2023-09-07 arm64 5.0GB
  dustynv/python:r35.4.1 2023-10-07 arm64 4.9GB

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 python)

# or explicitly specify one of the container images above
jetson-containers run dustynv/python:r32.7.1

# or if using 'docker run' (specify image and mounts/ect)
sudo docker run --runtime nvidia -it --rm --network=host dustynv/python:r32.7.1

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 python)

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

jetson-containers run $(autotag python) 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 python

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