HUB
Sign inSign up

whitesscott/l4t-jetpack

By whitesscott

•Updated 3 months ago

JetPack 7.2.1 (l4t r39.2.1) aarch64 developer container — CUDA 13.2, cuDNN 9, TensorRT 10, VPI4

Image
Machine learning & AI
Developer tools
Operating systems
0

1.3K

whitesscott/l4t-jetpack repository overview

⁠l4t-jetpack — JetPack 7.2.1 for Jetson Thor / Orin

A working, correct build of NVIDIA's L4T JetPack developer image for JetPack 7.2.1 (L4T r39.2.1) on Jetson AGX Thor and Orin devkits. Ubuntu 24.04 Noble, aarch64.

Based on nvcr.io/nvidia/base/ubuntu:24.04 plus the official repo.download.nvidia.com/jetson/{common,som,ffmpeg} r39.2 apt repos.

aarch64 only. Do not run on x86 hosts.

⁠Pull

docker pull whitesscott/l4t-jetpack:jp7.2.1-thor

Run

docker run -it --rm --name jetpack \
  --network host \
  --runtime=nvidia --gpus=all \
  --privileged --ipc=host \
  --ulimit memlock=-1 --ulimit stack=67108864 \
  --shm-size=16g \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -e NVIDIA_DRIVER_CAPABILITIES=all \
  whitesscott/l4t-jetpack:jp7.2.1-thor

The container's entrypoint auto-detects the GPU compute capability and exports TORCH_CUDA_ARCH_LIST (Thor → 11.0, Orin → 8.7) so PyTorch extension builds target the correct arch without any per-device flags.

Tags

┌──────────────┬──────────────────────────────────┐
│     Tag      │             Meaning              │
├──────────────┼──────────────────────────────────┤
│ r39.2.1      │ L4T version pin                  │
├──────────────┼──────────────────────────────────┤
│ jp7.2.1-thor │ JetPack version + primary target │
├──────────────┼──────────────────────────────────┤
│ latest       │ Same as above                    │
└──────────────┴──────────────────────────────────┘

Confirmed working on NVIDIA Thor (SM 11.0)

- CUDA 13.2.2 — nvcc compiles, on-device kernel executes (atomicAdd returns expected 65536).
- cuDNN 9.20.0.46 — cudnnGetVersion() returns 92000 via real link.
- TensorRT 10.16.2 — getInferLibVersion() returns 101602; builder resources present for sm_110, sm_100, sm_120, sm_75-89.
- cuDLA 13.2 — headers and libs installed.
- VPI 4.1.4 — import vpi succeeds.
- OpenCV 4.8.0 — import cv2 succeeds.
- PyTorch — installs with 
pip install --index-url https://pypi.jetson-ai-lab.io/sbsa/cu132 torch;torch.mm on device="cuda" runs on Thor.
- Multimedia — GStreamer 1.24.2 plus NVIDIA plugins (nvarguscamerasrc, nvv4l2camerasrc, nvv4l2decoder,
nvv4l2h264enc, nvv4l2h265enc, nvvidconv); H.264 hardware encode with NVMM zero-copy verified
end-to-end.

Also included

build-essential, git, rsync, openssh-client, xauth, Python 3.12 with
pip / numpy / setuptools, locale set to en_US.UTF-8, render and
video groups pre-created at Thor default GIDs (993 / 44) to silence the
supplementary-GID warning from nvidia-container-toolkit.

Not included

Add downstream if needed: DeepStream, Triton, Isaac ROS, DALI, FFmpeg.

Inspect this image directly

To inspect the actual pushed image:

docker pull whitesscott/l4t-jetpack:latest
docker history whitesscott/l4t-jetpack:latest --no-trunc
docker inspect whitesscott/l4t-jetpack:latest | jq '.[0].Config'

Always reflects the exact image you're about to run.

Source

Dockerfile, Makefile, and build history: https://github.com/whitesscott/l4t-jetpack

What was fixed vs the upstream NVIDIA template

The upstream l4t-jetpack template targeted JetPack 6 / L4T r36.x and does not build for r39.x out of the box. Concrete fixes in this image:

- CUDA packages: cuda-toolkit-12-6 → cuda-toolkit-13-2 (JetPack 7.2 ships CUDA 13.2).
- DLA: nvidia-l4t-dla-compiler (removed in r39.2) → libcudla-dev-13-2 (DLA now lives in CUDA on Thor).
- Dropped python3-distutils and libpython2.7 (both removed in Ubuntu 24.04 Noble).
- RELEASE build arg defaulted to r39.2.
- tegra userspace library path updated to /usr/lib/aarch64-linux-gnu/nvidia (matches nv_tegra_release:
TARGET_USERSPACE_LIB_DIR=nvidia on r39.x).
- render group pre-created at GID 993 to silence nvidia-container-toolkit supplementary-GID warnings.
- Entrypoint auto-detects compute capability so the same image serves both Thor (SM 11.0) and Orin (SM
8.7).

License

MIT. See LICENSE in the source repo.

Tag summary

Content type

Image

Digest

sha256:2e59d99e1…

Size

10.2 GB

Last updated

3 months ago

docker pull whitesscott/l4t-jetpack