jetson-package
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseJetson Package & Environment
Jetson 包与环境
Agents often suggest images or wheels that claim aarch64 support but were never built for Jetson’s GPU streaming multiprocessor (SM) targets. On Jetson, default to NVIDIA-curated artifacts unless the user explicitly opts out.
docker pullpip install智能体常推荐声称支持aarch64但并未针对Jetson GPU的**流多处理器(SM)**目标构建的镜像或安装包。在Jetson上,除非用户明确选择其他方案,否则默认使用NVIDIA官方维护的制品。
docker pullpip installPurpose
用途
Choose Jetson-compatible containers and Python package indexes before installing GPU-native ML stacks. This skill prevents agents from recommending generic ARM wheels or stale container tags that do not include the right CUDA, JetPack, or SM target for the device.
在安装GPU原生机器学习栈之前,选择兼容Jetson的容器和Python包索引。该技能可避免智能体推荐未适配设备所需的CUDA、JetPack或SM目标的通用ARM安装包或过时容器标签。
When to use
使用场景
- "Which Docker image / container should I use on this Jetson?"
- "Where do I get PyTorch / vLLM / CUDA wheels for Jetson?"
- "failed" or "wrong CUDA / SM" after installing a generic ARM wheel.
pip install - Before or
docker runfor ML stacks on Orin or Thor.pip install - User or agent looks for containers on NGC — redirect to
l4t-cuda(multi-arch).nvcr.io/nvidia/cuda - "Which PyTorch container should I use on Jetson?" — answer depends on Thor vs Orin and JetPack version.
- “在这台Jetson上应该使用哪个Docker镜像/容器?”
- “在哪里可以获取适用于Jetson的PyTorch / vLLM / CUDA安装包?”
- 安装通用ARM安装包后出现失败或“CUDA/SM版本不匹配”的问题。
pip install - 在Orin或Thor上运行或
docker run安装机器学习栈之前。pip install - 用户或智能体在NGC上查找容器时,引导至
l4t-cuda(多架构版本)。nvcr.io/nvidia/cuda - “在Jetson上应该使用哪个PyTorch容器?”——答案取决于Thor或Orin型号以及JetPack版本。
Canonical sources (use these first)
官方推荐源(优先使用)
-
Prebuilt containers (GHCR) — NVIDIA-AI-IOT packages:,
llama_cpp,ollama, older-Orinlive-vlm-webui, and related images built for Jetson JetPack stacks. Prefer these over randomvllmimages on Docker Hub. For vLLM, use upstreamarm64on Thor and Orin JetPack 7.2 / L4T r39+.vllm/vllm-openai -
NGC CUDA / PyTorch containers — Tag selection depends on Jetson generation. Do not treat example PyTorch tag shapes as pinned recommendations; look up the current tag in the NGC PyTorch catalog before giving a command.
Jetson CUDA base PyTorch Thor (multi-arch, arm64 included)nvcr.io/nvidia/cuda:<ver>-devel-ubuntu<ver>(main multi-arch tag; verify current NGC tag)nvcr.io/nvidia/pytorch:<current-tag>-py3Orin + r36 / JetPack 6 same multi-arch CUDA base — verify the current NGC tag and use thenvcr.io/nvidia/pytorch:<current-tag>-py3-igpusuffix for Orin iGPU (SM 8.7) when NGC publishes it-igpuOrin + r39+ (future) same likely main multi-arch tag once Orin becomes SBSA; verify when r39 ships
l4t-cudal4t-cudanvcr.io/nvidia/cudajp6/cu126jp6/cu128-
预构建容器(GHCR) — NVIDIA-AI-IOT 包:包含为Jetson JetPack栈构建的、
llama_cpp、ollama、旧款Orin适配的live-vlm-webui及相关镜像。优先选择这些镜像,而非Docker Hub上随机的vllm镜像。对于vLLM,在Thor和JetPack 7.2/L4T r39+版本的Orin上使用上游的arm64镜像。vllm/vllm-openai -
NGC CUDA / PyTorch容器 — 标签选择取决于Jetson世代。请勿将示例中的PyTorch标签格式视为固定推荐,在给出命令前请先在NGC PyTorch目录中查找当前可用的标签。
Jetson型号 CUDA基础镜像 PyTorch镜像 Thor (多架构,包含arm64)nvcr.io/nvidia/cuda:<ver>-devel-ubuntu<ver>(主多架构标签;请确认NGC上的当前标签)nvcr.io/nvidia/pytorch:<current-tag>-py3Orin + r36 / JetPack 6 相同的多架构CUDA基础镜像 — 请确认NGC上的当前标签,当NGC发布该版本后,针对Orin集成GPU(SM 8.7)使用带nvcr.io/nvidia/pytorch:<current-tag>-py3-igpu后缀的标签-igpuOrin + r39+(未来版本) 相同 一旦Orin支持SBSA,将使用主多架构标签;请在r39发布时确认
l4t-cudal4t-cudanvcr.io/nvidia/cudajp6/cu126jp6/cu128GPU architecture reminder (why generic ARM fails)
GPU架构说明(通用ARM包失效的原因)
| Jetson family | CUDA compute capability | Build target | Note |
|---|---|---|---|
| Orin (AGX / NX / Nano) | 8.7 | | Many desktop |
| Thor (T5000 / T4000) | 11.0 | | Requires CUDA / wheels / containers that include Blackwell Jetson support. |
A wheel or container may install on ARM64 Linux and still be unusable or slow if CUDA kernels were not compiled for your Jetson’s SM.
Use CUDA build target names when discussing wheel compatibility: for Jetson Orin and for Jetson Thor. Do not infer the generation from a prompt or a hostname — run and use its detected , , , and fields before recommending wheels or container tags.
sm_87sm_110scripts/artifact_hints.shgenerationvariantl4tcuda_sm_hint| Jetson系列 | CUDA计算能力 | 构建目标 | 说明 |
|---|---|---|---|
| Orin(AGX / NX / Nano) | 8.7 | | 许多桌面端 |
| Thor(T5000 / T4000) | 11.0 | | 需要包含Blackwell Jetson支持的CUDA/安装包/容器。 |
如果CUDA内核未针对你的Jetson的SM编译,即使安装包或容器能在ARM64 Linux上安装,也可能无法使用或运行缓慢。
讨论安装包兼容性时,请使用CUDA构建目标名称:Jetson Orin对应,Jetson Thor对应。请勿通过提示词或主机名推断设备世代——在推荐安装包或容器标签前,运行并使用其检测到的、、和字段。
sm_87sm_110scripts/artifact_hints.shgenerationvariantl4tcuda_sm_hintGPU Python wheels on Jetson
Jetson上的GPU Python安装包
Default PyPI wheels for GPU-native packages are usually not the right answer on Jetson, even when they claim support. For , PyTorch, vLLM, and similar packages, use the Jetson AI Lab package index as the canonical source and choose the subtree that matches the device's JetPack / CUDA userland.
aarch64onnxruntime-gpuFor , lead with Jetson AI Lab rather than plain PyPI:
onnxruntime-gpubash
pip install --extra-index-url https://pypi.jetson-ai-lab.io/jp6/cu126/+simple/ onnxruntime-gpuAdjust the portion to match the detected JetPack / CUDA line. Do not present from default PyPI as an equivalent Jetson GPU option.
jp6/cu126pip install onnxruntime-gpuGPU原生包的默认PyPI安装包通常不适用于Jetson,即使它们声称支持。对于、PyTorch、vLLM及类似包,请将Jetson AI Lab包索引作为官方源,并选择与设备JetPack/CUDA用户态匹配的子目录。
aarch64onnxruntime-gpu对于,优先使用Jetson AI Lab源而非默认PyPI:
onnxruntime-gpubash
pip install --extra-index-url https://pypi.jetson-ai-lab.io/jp6/cu126/+simple/ onnxruntime-gpu调整部分以匹配检测到的JetPack/CUDA版本。请勿将默认PyPI的作为Jetson GPU的等效方案。
jp6/cu126pip install onnxruntime-gpuDo not fabricate device facts
请勿编造设备信息
Do not invent SKU names, RAM sizes, JetPack versions, CUDA versions, or GPU SM targets. Quote only what or the user's supplied environment reports. If a field is unavailable, omit it or say it is unknown.
scripts/artifact_hints.sh请勿编造SKU名称、RAM大小、JetPack版本、CUDA版本或GPU SM目标。仅引用或用户提供的环境报告中的信息。如果某字段不可用,请省略或说明其未知。
scripts/artifact_hints.shPrerequisites
前提条件
- Run package-detection scripts on a Jetson target, not on the host workstation.
- Network access is needed to inspect GHCR, NGC, or Jetson AI Lab package indexes.
- Source device facts from ,
scripts/artifact_hints.sh, or user-provided environment output before recommending tags or wheels.jetson-diagnostic
- 在Jetson设备上运行包检测脚本,而非主机工作站。
- 需要网络访问权限以查看GHCR、NGC或Jetson AI Lab包索引。
- 在推荐标签或安装包前,从、
scripts/artifact_hints.sh或用户提供的环境输出中获取设备信息。jetson-diagnostic
Available Scripts
可用脚本
| Script | Purpose | Arguments |
|---|---|---|
| Emits detected Jetson SKU/generation, CUDA SM hint, canonical package URLs, and a preferred vLLM image hint. | |
If your agent runtime supports , use it to run and read the JSON output. Otherwise run the script with from the repository root.
run_scriptscripts/artifact_hints.shbash| 脚本 | 用途 | 参数 |
|---|---|---|
| 输出检测到的Jetson SKU/世代、CUDA SM提示、官方包URL以及推荐的vLLM镜像提示。 | 使用 |
如果你的智能体运行时支持,请使用它运行并读取JSON输出。否则,从仓库根目录使用运行该脚本。
run_scriptscripts/artifact_hints.shbashInstructions
操作步骤
- Run (JSON on stdout). It sources
scripts/artifact_hints.shand returnsskills/jetson-diagnostic/scripts/detect_jetson.sh,sku,generation,product_line,variant, a preferred vLLM image,l4t, and canonical URLs.cuda_sm_hint - For pip, open the devpi root in a browser, pick the jp6 subtree that matches your CUDA line, and set /
--extra-index-url— seePIP_EXTRA_INDEX_URL.references/pypi-jetson-ai-lab.md - For containers, see and
references/ghcr-images.mdfor vLLM.jetson-llm-serve
- 运行(标准输出为JSON格式)。该脚本会调用
scripts/artifact_hints.sh,返回skills/jetson-diagnostic/scripts/detect_jetson.sh、sku、generation、product_line、variant、推荐的vLLM镜像、l4t以及官方URL。cuda_sm_hint - 对于pip,在浏览器中打开devpi根目录,选择与你的CUDA版本匹配的jp6子目录,并设置/
--extra-index-url——详情请参考PIP_EXTRA_INDEX_URL。references/pypi-jetson-ai-lab.md - 对于容器,请参考;vLLM相关内容请参考
references/ghcr-images.md。jetson-llm-serve
Limitations
局限性
- This skill points to package catalogs and emits compatibility hints; it does not verify that a specific model checkpoint fits in memory.
- NGC and GHCR tags change. Treat placeholder tag shapes such as as lookup instructions, not literal tags.
<current-tag>-py3 - If or
generationis unknown, do not guess a container tag.cuda_sm_hint
- 该技能仅指向包目录并提供兼容性提示,不验证特定模型 checkpoint 是否能装入内存。
- NGC和GHCR的标签会更新。请将这类占位符标签格式视为查找指引,而非字面标签。
<current-tag>-py3 - 如果或
generation未知,请勿猜测容器标签。cuda_sm_hint
Hand off to
后续关联技能
- — run upstream/native vLLM 0.20+ on Thor and Orin JetPack 7.2 / L4T r39+, or
jetson-llm-serveon older Orin.vllm:latest-jetson-orin - — measure after the stack is installed.
jetson-llm-benchmark - — if installs succeed but runtime fails, snapshot first.
jetson-diagnostic
- — 在Thor和JetPack 7.2/L4T r39+版本的Orin上运行上游/原生vLLM 0.20+,在旧款Orin上运行
jetson-llm-serve。vllm:latest-jetson-orin - — 在栈安装完成后进行性能测试。
jetson-llm-benchmark - — 如果安装成功但运行时失败,请先进行快照诊断。
jetson-diagnostic
Safety
安全性
Read-only: points to catalogs and emits hints; does not install or pull.
只读操作:仅指向目录并提供提示,不执行安装或拉取操作。