Skip to content

Add jetson-trt reference (TensorRT + GPU, native and in-container on Jetson)#24

Open
mobileoverlord wants to merge 1 commit into
mainfrom
jschneck/jetson-trt
Open

Add jetson-trt reference (TensorRT + GPU, native and in-container on Jetson)#24
mobileoverlord wants to merge 1 commit into
mainfrom
jschneck/jetson-trt

Conversation

@mobileoverlord

Copy link
Copy Markdown
Contributor

What

A new reference, jetson-trt, demonstrating the integrated NVIDIA Tegra GPU on JetPack 7 / L4T r39.2 Jetson targets running TensorRT — both host-native and inside a container — modeled on the x86-rtx reference but done the Jetson way.

Two runtimes, selectable at provision time:

runtime how it reaches the GPU
-r native host-native TensorRT inference — python3-tensorrt + CUDA runtime from the feed, no container engine
-r docker GPU inside a container via upstream docker (moby) + the NVIDIA Container Toolkit nvidia runtime (Tegra CSV passthrough), running a pre-seeded CUDA image on the iGPU

Notes

  • Not the old nvidia-docker. On JetPack 7 the container path is upstream docker + nvidia-container-toolkit. Unlike x86-rtx (CDI, --device nvidia.com/gpu=all), Tegra uses the toolkit's nvidia runtime in CSV-passthrough mode — the host GPU userspace (incl. nvidia-smi, libcuda) is bind-mounted in from tegra-configs-container-csv, and nvidia-container-setup.service writes the runtime config at boot.
  • No supplemental driver extension needed — pulling the BSP is enough; the Jetson rootfs already ships the full Tegra GPU stack.
  • Uses the current permissions: profile syntax (a dev profile baked into both rootfs and initramfs, so the emergency console is reachable when debugging a failed boot).
  • Container base is nvcr.io/nvidia/cuda:13.2.1-runtime-ubuntu24.04 (matches Thor's CUDA 13.2; arm64) — NVIDIA has not published the classic l4t-* base images for JP7.

Targets

  • Default: jetson-agx-thor (T264) — tested first, live hardware bring-up.
  • Also supported: jetson-agx-orin, jetson-orin-nano (share the 2026 feed).

Status

Native + docker runtimes validated on Thor hardware: nvidia-smi and a CUDA workload run on the iGPU inside the container via --runtime nvidia. Depends on the 2026 feed carrying the Jetson packages (in progress on the build cluster).

…Jetson)

Demonstrates the integrated Tegra GPU on JetPack 7 / L4T r39.2 targets two
ways, selectable at provision time:

  -r native : host-native TensorRT inference (python3-tensorrt from the feed,
              no container engine)
  -r docker : GPU inside a container via upstream docker (moby) + the NVIDIA
              Container Toolkit's  runtime (Tegra CSV passthrough),
              running a pre-seeded CUDA image on the iGPU

Default target jetson-agx-thor (T264); also supports jetson-agx-orin and
jetson-orin-nano, which share the 2026 feed. Uses the current permissions:
profile syntax (dev profile baked into rootfs + initramfs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant