[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NM0X1XGFVTGZ68MXFYXZR":3,"skill-same:01M71NM0X1XGFVTGZ68MXFYXZR":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":14,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M71NM0X1XGFVTGZ68MXFYXZR","jetson-inference-mem-tune",null,"Pick the serving stack and per-runtime memory flags (vLLM, SGLang, llama.cpp, TensorRT Edge-LLM) for an LLM\u002FVLM workload on any NVIDIA Jetson.","pattanation\u002FNorvik","pattanation","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235419268?v=4","01M71M5THHYYB15ME8R2E4FCZG","Patta","01M71M5TJM1NDM992M8PDKYR2K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"mem","tune","inference","jetson inference mem tune","serving","flags","tensorrt","workload","SGLang","stack","team","vLLM","cpp","edge","python","pick","runtime","for","memory","NVIDIA","2026-11-10 10:56:23",false,"---\nname: jetson-inference-mem-tune\ndescription: Pick the serving stack and per-runtime memory flags (vLLM, SGLang, llama.cpp, TensorRT Edge-LLM) for an LLM\u002FVLM workload on any NVIDIA Jetson.\nversion: 0.0.1\nlicense: \"Apache-2.0\"\nmetadata:\n  author: \"Jetson Team\"\n  tags: [jetson, inference, memory]\n  languages: [python]\n  data-classification: public\n---\n\n# Jetson Inference Memory Tuning\n\nRecommends an inference runtime and the specific memory-related flags to pass to it, given the Jetson SKU\u002Fvariant and the user's workload. Does not include quantization recipe selection — that lives in the model-benchmarking skill — but it does point at the precision floor each runtime can serve efficiently.\n\n## Purpose\n\nTurn a live `jetson-memory-audit` snapshot into runtime and launch-flag recommendations for LLM\u002FVLM serving on Jetson. Use this when the user needs to fit a model, reduce OOM risk, or switch to a lower-memory serving stack.\n\n## When to use\n\n- \"Which serving stack should I use on Orin Nano 8 GB to run a 7B model?\"\n- \"vLLM is OOMing — what should `--gpu-memory-utilization` and `--max-model-len` be?\"\n- \"Same model, less memory — can I switch from vLLM to llama.cpp?\"\n- After `jetson-memory-audit` shows a model server is the top NvMap \u002F PSS consumer.\n\n## Prerequisites\n\n- Start with a current `jetson-memory-audit\u002Fscripts\u002Faudit.sh` JSON snapshot from the target Jetson.\n- Know the intended workload: `llm-server`, `vlm-server`, `embedding`, or `rag`.\n- If the user gives a desired free-memory target, pass it as `--target-mb`; otherwise let the script use SKU defaults.\n\n## Available Scripts\n\n| Script | Purpose | Arguments |\n|--------|---------|-----------|\n| `scripts\u002Frecommend.py` | Reads an audit JSON and emits runtime plus launch-flag recommendations. | `--audit PATH`, `--runtime`, `--workload`, `--target-mb`, `--human`. |\n\nIf your agent runtime supports `run_script`, invoke `run_script(\"scripts\u002Frecommend.py\", [\"--audit\", \"\u002Ftmp\u002Faudit.json\", \"--runtime\", \"auto\", \"--workload\", \"llm-server\"])` and summarize the returned JSON. Otherwise run it with `python3` from the repository root.\n\n## Instructions\n\n1. Run `jetson-memory-audit\u002Fscripts\u002Faudit.sh` to capture the device baseline.\n2. Run `scripts\u002Frecommend.py --audit \u002Ftmp\u002Faudit.json --runtime auto --workload llm-server --target-mb 6000` to get a JSON of runtime + flag recommendations.\n3. The agent presents the suggested runtime and the exact CLI flags. The user (or an outer agent) launches \u002F restarts the server with those flags.\n4. Re-run the audit to verify.\n\n## Expected workflow\n\nUse `scripts\u002Frecommend.py` for the specific prompt and answer from the JSON it emits. If direct execution is blocked, run it as `python3 {baseDir}\u002Fscripts\u002Frecommend.py ...`.\n\n- For vLLM OOM prompts, run with `--runtime vllm --workload llm-server` and include concrete `--gpu-memory-utilization=\u003C0.x>` and `--max-model-len=\u003Cnumber>` values from `launch_flags`.\n- For \"lowest memory\" or Orin Nano 8 GB prompts, run with `--runtime auto --workload llm-server`; prefer the runtime in the JSON and explicitly mention the GGUF \u002F 4-bit tradeoff when it selects `llama-cpp`.\n- For SGLang prompts, run with `--runtime sglang` and quote `--mem-fraction-static`, `--max-running-requests`, and any context\u002FKV-cache note.\n- For \"switch from vLLM to llama.cpp\" prompts, run with `--runtime llama-cpp` and quote `-ngl`, `-c`, and `--no-mmap`.\n\n## Limitations\n\n- Recommendations are only as fresh as the audit JSON. Re-run `jetson-memory-audit` after stopping services, changing power mode, or restarting model servers.\n- The script estimates memory pressure from SKU defaults and audit totals; model-specific KV-cache, quantization, and tokenizer behavior can still require benchmarking.\n- This skill emits flags only. It does not start, stop, or restart model servers.\n\n## Error handling\n\n- Exit `2`: the audit JSON could not be read, parsed, or did not contain valid numeric memory fields. Ask the user to rerun `jetson-memory-audit\u002Fscripts\u002Faudit.sh`.\n- Exit `3`: unsupported runtime or workload request. Re-run with one of the `--runtime` and `--workload` values listed in `scripts\u002Frecommend.py --help`.\n- Empty or missing `launch_flags`: do not invent fallback flags. Report the script failure and ask for a fresh audit or a supported runtime.\n\n## Output contract for `recommend.py`\n\n```json\n{\n  \"sku\": \"orin-nx\",\n  \"variant\": \"orin-nx-16gb\",\n  \"mem_total_gb\": 16,\n  \"runtime\": \"vllm\",\n  \"rationale\": \"Highest throughput at this memory budget given continuous batching + paged attention.\",\n  \"launch_flags\": [\n    \"--gpu-memory-utilization=0.55\",\n    \"--max-model-len=4096\",\n    \"--max-num-seqs=8\",\n    \"--enable-prefix-caching\"\n  ],\n  \"alternatives\": [\n    { \"runtime\": \"llama-cpp\", \"rationale\": \"Lower memory floor with GGUF Q4_K_M.\", \"launch_flags\": [\"-ngl 28\", \"-c 4096\", \"--no-mmap\"] }\n  ],\n  \"notes\": [\"Lower --gpu-memory-utilization further if you also run a small VLM alongside.\"]\n}\n```\n\n## Runtimes covered\n\n| Runtime              | Best for                                                  | Key memory knobs                                                                           | Preferred install path |\n|----------------------|-----------------------------------------------------------|--------------------------------------------------------------------------------------------|------------------------|\n| **llama.cpp**        | Tightest budget; GGUF; Orin Nano-class                    | `-ngl`, `-c`, `--mlock`, `--no-mmap`                                                       | `ghcr.io\u002Fnvidia-ai-iot\u002Fllama_cpp:latest-jetson-{orin,thor}` |\n| **vLLM**             | High-throughput serving with continuous batching          | `--gpu-memory-utilization`, `--max-model-len`, `--max-num-seqs`, `--enable-prefix-caching` | Thor and Orin JetPack 7.2 \u002F L4T r39+: upstream vLLM 0.20+ (`vllm\u002Fvllm-openai`) container or validated native vLLM 0.20+. Older Orin: NVIDIA-AI-IOT image |\n| **SGLang**           | Programmable workflows (RAG, tool use, structured output) | `--mem-fraction-static`, `--mem-fraction-dynamic`, `--max-running-requests`                | Thor: NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`, SGLang 0.5.5.post2). Orin: JetPack-matched environment |\n| **TensorRT Edge-LLM**| NVIDIA-tuned production serving                           | Build profile per SKU; paged-KV; KV reuse                                                  | Vendor docs for the target JetPack |\n\n> For Orin JetPack 7.2 \u002F L4T r39+, upstream vLLM 0.20+ is supported. For older Orin releases, prefer NVIDIA-AI-IOT prebuilt vLLM images where available because they ship the matching CUDA\u002FcuDNN\u002FTensorRT stack for JetPack. For Thor, prefer upstream vLLM 0.20+ (`vllm\u002Fvllm-openai`) or a validated native vLLM 0.20+ install; for SGLang use NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`, SGLang 0.5.5.post2) or newer NVIDIA SGLang release notes that explicitly list Jetson Thor support. Do not force an Orin-specific Jetson container path on Thor, and do not assume native upstream SGLang support on Orin.\n\n## Quantization recommendations\n\nUse runtime-specific quantization names. vLLM and SGLang usually consume Hugging Face checkpoints such as W4A16, AWQ, GPTQ, FP16, or NVFP4. llama.cpp and Ollama consume GGUF models, so recommend INT4\u002FQ4_K_M-style GGUF instead.\n\n| Runtime family | Jetson family | First choice | Fallback |\n|----------------|---------------|--------------|----------|\n| vLLM \u002F SGLang | Thor | NVFP4 when the model\u002Fruntime supports it | W4A16 |\n| vLLM \u002F SGLang | Orin Nano \u002F NX | W4A16 | AWQ or GPTQ 4-bit |\n| vLLM \u002F SGLang | AGX Orin | W4A16 | AWQ or GPTQ 4-bit |\n| llama.cpp \u002F Ollama | Orin and Thor | GGUF INT4 \u002F Q4_K_M | Smaller INT4 GGUF model if memory is tight |\n\nDo not describe GGUF Q4_K_M as W4A16\u002FAWQ\u002FGPTQ. Do not compare Thor NVFP4 results with Orin W4A16 results unless the output includes a `quant` field.\n\n## Runtime command guidance\n\nUse `recommend.py` as the source of truth for memory knobs, then place its `launch_flags` into the matching serving command. Keep the command guidance in this skill instead of separate small reference files so agents ingest one complete instruction set.\n\nFor vLLM on Orin with JetPack 7.2 \u002F L4T r39+, use upstream vLLM 0.20+ (`vllm\u002Fvllm-openai:latest`). On older Orin releases, use the NVIDIA-AI-IOT image:\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --name vllm \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  ghcr.io\u002Fnvidia-ai-iot\u002Fvllm:latest-jetson-orin \\\n  vllm serve \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --gpu-memory-utilization 0.60 \\\n    --max-model-len 4096 \\\n    --max-num-seqs 8 \\\n    --enable-prefix-caching\n```\n\nFor vLLM on Thor, use upstream vLLM 0.20+ (`vllm\u002Fvllm-openai:latest`) unless host-native vLLM 0.20+ is already installed and validated:\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --ipc host --name vllm \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  vllm\u002Fvllm-openai:latest \\\n  vllm serve \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --gpu-memory-utilization 0.75 \\\n    --max-model-len 8192 \\\n    --max-num-seqs 32 \\\n    --enable-prefix-caching\n```\n\nThor vLLM note: do not judge Thor support from pre-0.20 vLLM results; upstream vLLM support starts at vLLM 0.20+.\n\nFor SGLang on Thor, use NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`). NVIDIA SGLang 26.01 contains SGLang `0.5.5.post2` and explicitly lists Jetson Thor support. Avoid judging Thor support from older prerelease SGLang results. Avoid recommending `gpt-oss` or FP8 paths on Thor unless newer NVIDIA SGLang release notes say those known issues are fixed.\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --ipc host --name sglang \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3 \\\n  python3 -m sglang.launch_server \\\n    --model-path \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --mem-fraction-static 0.60 \\\n    --max-running-requests 8\n```\n\nFor llama.cpp, use the NVIDIA-AI-IOT llama.cpp image when available, or the `llama-server` binary from a JetPack-matched build. Start with GGUF INT4 \u002F Q4_K_M on both Orin and Thor; choose a smaller INT4 GGUF model if the audit shows tight memory.\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --name llama-cpp \\\n  -v \"$PWD\u002Fmodels:\u002Fmodels:ro\" \\\n  ghcr.io\u002Fnvidia-ai-iot\u002Fllama_cpp:latest-jetson-\u003Corin-or-thor> \\\n  llama-server \\\n    -m \u002Fmodels\u002F\u003Cmodel>.gguf \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    -ngl 28 \\\n    -c 4096 \\\n    --no-mmap \\\n    --flash-attn\n```\n\n## Procedure (the script encodes this)\n\n1. Pick the lightest runtime that satisfies the user's required features (continuous batching? structured generation? CPU offload?).\n2. Pick the lowest precision that meets the user's accuracy bar (model-benchmarking skill).\n3. Sweep the runtime's memory knobs (start with `gpu-memory-utilization` for vLLM, `n-gpu-layers` and `ctx-size` for llama.cpp) to find the minimum footprint that sustains target throughput.\n4. Re-measure with `jetson-memory-audit`.\n\n## Safety\n\nRead-only. The skill never starts, stops, or restarts a model server. It emits flags; the user (or an outer orchestration agent) is responsible for invoking the runtime.\n","# Jetson Inference Memory Tuning\n\nRecommends an inference runtime and the specific memory-related flags to pass to it, given the Jetson SKU\u002Fvariant and the user's workload. Does not include quantization recipe selection — that lives in the model-benchmarking skill — but it does point at the precision floor each runtime can serve efficiently.\n\n## Purpose\n\nTurn a live `jetson-memory-audit` snapshot into runtime and launch-flag recommendations for LLM\u002FVLM serving on Jetson. Use this when the user needs to fit a model, reduce OOM risk, or switch to a lower-memory serving stack.\n\n## When to use\n\n- \"Which serving stack should I use on Orin Nano 8 GB to run a 7B model?\"\n- \"vLLM is OOMing — what should `--gpu-memory-utilization` and `--max-model-len` be?\"\n- \"Same model, less memory — can I switch from vLLM to llama.cpp?\"\n- After `jetson-memory-audit` shows a model server is the top NvMap \u002F PSS consumer.\n\n## Prerequisites\n\n- Start with a current `jetson-memory-audit\u002Fscripts\u002Faudit.sh` JSON snapshot from the target Jetson.\n- Know the intended workload: `llm-server`, `vlm-server`, `embedding`, or `rag`.\n- If the user gives a desired free-memory target, pass it as `--target-mb`; otherwise let the script use SKU defaults.\n\n## Available Scripts\n\n| Script | Purpose | Arguments |\n|--------|---------|-----------|\n| `scripts\u002Frecommend.py` | Reads an audit JSON and emits runtime plus launch-flag recommendations. | `--audit PATH`, `--runtime`, `--workload`, `--target-mb`, `--human`. |\n\nIf your agent runtime supports `run_script`, invoke `run_script(\"scripts\u002Frecommend.py\", [\"--audit\", \"\u002Ftmp\u002Faudit.json\", \"--runtime\", \"auto\", \"--workload\", \"llm-server\"])` and summarize the returned JSON. Otherwise run it with `python3` from the repository root.\n\n## Instructions\n\n1. Run `jetson-memory-audit\u002Fscripts\u002Faudit.sh` to capture the device baseline.\n2. Run `scripts\u002Frecommend.py --audit \u002Ftmp\u002Faudit.json --runtime auto --workload llm-server --target-mb 6000` to get a JSON of runtime + flag recommendations.\n3. The agent presents the suggested runtime and the exact CLI flags. The user (or an outer agent) launches \u002F restarts the server with those flags.\n4. Re-run the audit to verify.\n\n## Expected workflow\n\nUse `scripts\u002Frecommend.py` for the specific prompt and answer from the JSON it emits. If direct execution is blocked, run it as `python3 {baseDir}\u002Fscripts\u002Frecommend.py ...`.\n\n- For vLLM OOM prompts, run with `--runtime vllm --workload llm-server` and include concrete `--gpu-memory-utilization=\u003C0.x>` and `--max-model-len=\u003Cnumber>` values from `launch_flags`.\n- For \"lowest memory\" or Orin Nano 8 GB prompts, run with `--runtime auto --workload llm-server`; prefer the runtime in the JSON and explicitly mention the GGUF \u002F 4-bit tradeoff when it selects `llama-cpp`.\n- For SGLang prompts, run with `--runtime sglang` and quote `--mem-fraction-static`, `--max-running-requests`, and any context\u002FKV-cache note.\n- For \"switch from vLLM to llama.cpp\" prompts, run with `--runtime llama-cpp` and quote `-ngl`, `-c`, and `--no-mmap`.\n\n## Limitations\n\n- Recommendations are only as fresh as the audit JSON. Re-run `jetson-memory-audit` after stopping services, changing power mode, or restarting model servers.\n- The script estimates memory pressure from SKU defaults and audit totals; model-specific KV-cache, quantization, and tokenizer behavior can still require benchmarking.\n- This skill emits flags only. It does not start, stop, or restart model servers.\n\n## Error handling\n\n- Exit `2`: the audit JSON could not be read, parsed, or did not contain valid numeric memory fields. Ask the user to rerun `jetson-memory-audit\u002Fscripts\u002Faudit.sh`.\n- Exit `3`: unsupported runtime or workload request. Re-run with one of the `--runtime` and `--workload` values listed in `scripts\u002Frecommend.py --help`.\n- Empty or missing `launch_flags`: do not invent fallback flags. Report the script failure and ask for a fresh audit or a supported runtime.\n\n## Output contract for `recommend.py`\n\n```json\n{\n  \"sku\": \"orin-nx\",\n  \"variant\": \"orin-nx-16gb\",\n  \"mem_total_gb\": 16,\n  \"runtime\": \"vllm\",\n  \"rationale\": \"Highest throughput at this memory budget given continuous batching + paged attention.\",\n  \"launch_flags\": [\n    \"--gpu-memory-utilization=0.55\",\n    \"--max-model-len=4096\",\n    \"--max-num-seqs=8\",\n    \"--enable-prefix-caching\"\n  ],\n  \"alternatives\": [\n    { \"runtime\": \"llama-cpp\", \"rationale\": \"Lower memory floor with GGUF Q4_K_M.\", \"launch_flags\": [\"-ngl 28\", \"-c 4096\", \"--no-mmap\"] }\n  ],\n  \"notes\": [\"Lower --gpu-memory-utilization further if you also run a small VLM alongside.\"]\n}\n```\n\n## Runtimes covered\n\n| Runtime              | Best for                                                  | Key memory knobs                                                                           | Preferred install path |\n|----------------------|-----------------------------------------------------------|--------------------------------------------------------------------------------------------|------------------------|\n| **llama.cpp**        | Tightest budget; GGUF; Orin Nano-class                    | `-ngl`, `-c`, `--mlock`, `--no-mmap`                                                       | `ghcr.io\u002Fnvidia-ai-iot\u002Fllama_cpp:latest-jetson-{orin,thor}` |\n| **vLLM**             | High-throughput serving with continuous batching          | `--gpu-memory-utilization`, `--max-model-len`, `--max-num-seqs`, `--enable-prefix-caching` | Thor and Orin JetPack 7.2 \u002F L4T r39+: upstream vLLM 0.20+ (`vllm\u002Fvllm-openai`) container or validated native vLLM 0.20+. Older Orin: NVIDIA-AI-IOT image |\n| **SGLang**           | Programmable workflows (RAG, tool use, structured output) | `--mem-fraction-static`, `--mem-fraction-dynamic`, `--max-running-requests`                | Thor: NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`, SGLang 0.5.5.post2). Orin: JetPack-matched environment |\n| **TensorRT Edge-LLM**| NVIDIA-tuned production serving                           | Build profile per SKU; paged-KV; KV reuse                                                  | Vendor docs for the target JetPack |\n\n> For Orin JetPack 7.2 \u002F L4T r39+, upstream vLLM 0.20+ is supported. For older Orin releases, prefer NVIDIA-AI-IOT prebuilt vLLM images where available because they ship the matching CUDA\u002FcuDNN\u002FTensorRT stack for JetPack. For Thor, prefer upstream vLLM 0.20+ (`vllm\u002Fvllm-openai`) or a validated native vLLM 0.20+ install; for SGLang use NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`, SGLang 0.5.5.post2) or newer NVIDIA SGLang release notes that explicitly list Jetson Thor support. Do not force an Orin-specific Jetson container path on Thor, and do not assume native upstream SGLang support on Orin.\n\n## Quantization recommendations\n\nUse runtime-specific quantization names. vLLM and SGLang usually consume Hugging Face checkpoints such as W4A16, AWQ, GPTQ, FP16, or NVFP4. llama.cpp and Ollama consume GGUF models, so recommend INT4\u002FQ4_K_M-style GGUF instead.\n\n| Runtime family | Jetson family | First choice | Fallback |\n|----------------|---------------|--------------|----------|\n| vLLM \u002F SGLang | Thor | NVFP4 when the model\u002Fruntime supports it | W4A16 |\n| vLLM \u002F SGLang | Orin Nano \u002F NX | W4A16 | AWQ or GPTQ 4-bit |\n| vLLM \u002F SGLang | AGX Orin | W4A16 | AWQ or GPTQ 4-bit |\n| llama.cpp \u002F Ollama | Orin and Thor | GGUF INT4 \u002F Q4_K_M | Smaller INT4 GGUF model if memory is tight |\n\nDo not describe GGUF Q4_K_M as W4A16\u002FAWQ\u002FGPTQ. Do not compare Thor NVFP4 results with Orin W4A16 results unless the output includes a `quant` field.\n\n## Runtime command guidance\n\nUse `recommend.py` as the source of truth for memory knobs, then place its `launch_flags` into the matching serving command. Keep the command guidance in this skill instead of separate small reference files so agents ingest one complete instruction set.\n\nFor vLLM on Orin with JetPack 7.2 \u002F L4T r39+, use upstream vLLM 0.20+ (`vllm\u002Fvllm-openai:latest`). On older Orin releases, use the NVIDIA-AI-IOT image:\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --name vllm \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  ghcr.io\u002Fnvidia-ai-iot\u002Fvllm:latest-jetson-orin \\\n  vllm serve \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --gpu-memory-utilization 0.60 \\\n    --max-model-len 4096 \\\n    --max-num-seqs 8 \\\n    --enable-prefix-caching\n```\n\nFor vLLM on Thor, use upstream vLLM 0.20+ (`vllm\u002Fvllm-openai:latest`) unless host-native vLLM 0.20+ is already installed and validated:\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --ipc host --name vllm \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  vllm\u002Fvllm-openai:latest \\\n  vllm serve \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --gpu-memory-utilization 0.75 \\\n    --max-model-len 8192 \\\n    --max-num-seqs 32 \\\n    --enable-prefix-caching\n```\n\nThor vLLM note: do not judge Thor support from pre-0.20 vLLM results; upstream vLLM support starts at vLLM 0.20+.\n\nFor SGLang on Thor, use NVIDIA SGLang 26.01 (`nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3`). NVIDIA SGLang 26.01 contains SGLang `0.5.5.post2` and explicitly lists Jetson Thor support. Avoid judging Thor support from older prerelease SGLang results. Avoid recommending `gpt-oss` or FP8 paths on Thor unless newer NVIDIA SGLang release notes say those known issues are fixed.\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --ipc host --name sglang \\\n  -v \"$HOME\u002F.cache\u002Fhuggingface:\u002Froot\u002F.cache\u002Fhuggingface\" \\\n  -e HF_TOKEN=\"$HF_TOKEN\" \\\n  nvcr.io\u002Fnvidia\u002Fsglang:26.01-py3 \\\n  python3 -m sglang.launch_server \\\n    --model-path \u003Chf-model-id-or-local-path> \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    --mem-fraction-static 0.60 \\\n    --max-running-requests 8\n```\n\nFor llama.cpp, use the NVIDIA-AI-IOT llama.cpp image when available, or the `llama-server` binary from a JetPack-matched build. Start with GGUF INT4 \u002F Q4_K_M on both Orin and Thor; choose a smaller INT4 GGUF model if the audit shows tight memory.\n\n```bash\ndocker run --rm -it --runtime nvidia --network host --name llama-cpp \\\n  -v \"$PWD\u002Fmodels:\u002Fmodels:ro\" \\\n  ghcr.io\u002Fnvidia-ai-iot\u002Fllama_cpp:latest-jetson-\u003Corin-or-thor> \\\n  llama-server \\\n    -m \u002Fmodels\u002F\u003Cmodel>.gguf \\\n    --host 0.0.0.0 \\\n    --port 8000 \\\n    -ngl 28 \\\n    -c 4096 \\\n    --no-mmap \\\n    --flash-attn\n```\n\n## Procedure (the script encodes this)\n\n1. Pick the lightest runtime that satisfies the user's required features (continuous batching? structured generation? CPU offload?).\n2. Pick the lowest precision that meets the user's accuracy bar (model-benchmarking skill).\n3. Sweep the runtime's memory knobs (start with `gpu-memory-utilization` for vLLM, `n-gpu-layers` and `ctx-size` for llama.cpp) to find the minimum footprint that sustains target throughput.\n4. Re-measure with `jetson-memory-audit`.\n\n## Safety\n\nRead-only. The skill never starts, stops, or restarts a model server. It emits flags; the user (or an outer orchestration agent) is responsible for invoking the runtime.\n",{"name":5,"license":15,"version":44,"metadata":45,"description":7},"0.0.1",{"tags":46,"author":48,"languages":49,"data-classification":50},[47,21,37],"jetson","Jetson Team",[33],"public","claude\u002Finstall-gsd-build-foQdV","d86cd127f527124b5fd0fd0bc679a4d79b7d01d7",".agents\u002Fskills\u002Fjetson-inference-mem-tune","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik","https:\u002F\u002Fnorvik-orpin.vercel.app","https:\u002F\u002Fgithub.com\u002Fpattanation","2026-07-17 11:17:04",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add pattanation\u002FNorvik --skill jetson-inference-mem-tune",{"tool":64,"command":65},"bunx","bunx skills add pattanation\u002FNorvik --skill jetson-inference-mem-tune",{"tool":67,"command":68},"pnpm","pnpm dlx skills add pattanation\u002FNorvik --skill jetson-inference-mem-tune","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002FSKILL.md",true,[72,78,82,88,92],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"BENCHMARK.md","REFERENCE","参考文档",3347,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002FBENCHMARK.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fevals.json",5522,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002Fevals\u002Fevals.json",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Frecommend.py","SCRIPT","脚本",10255,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002Fscripts\u002Frecommend.py",{"path":89,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":90,"sourceHtmlUrl":91},"skill-card.md",3752,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002Fskill-card.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"skill.oms.sig","OTHER","其他",4833,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-inference-mem-tune\u002Fskill.oms.sig",[99,107,114,121,146,171],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":106},"01M73Z1NPMJ667E0DSPBS9FH0B","jetson-set-target","Switch the active Jetson target-platform pointer to an existing profile YAML. Use before customize\u002Fbuild\u002Fflash to change target; not for authoring profiles — use jetson-init-target instead.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-set-target\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":106},"01M73YC29YWGCW521P7B0NM3HQ","earth2studio-data-fetch","Fetch weather\u002Fclimate data via Earth2Studio data sources for specific variables and times. Do NOT use for inference pipelines, model discovery, or installation.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-data-fetch\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":106},"01M73YBNHMHFDFP83MAVGQQ92N","earth2studio-create-datasource","Create and validate Earth2Studio data source wrappers (DataSource, ForecastSource, DataFrameSource, ForecastFrameSource) from remote stores. Do NOT use for fetching data with existing sources, model inference, or installation tasks.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-datasource\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":145},"01M71QDV4DM8T19HEHWATEF1K4","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[129,130,131,132,133,36,134,135,136,137,138,139,140,141,142,143,144],"webapp","testing","webapp testing","local","screenshots","applications","browser","ui","behavior","web","playwright","with","frontend","debugging","toolkit","logs","2026-11-10 13:02:02",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":145},"01M71QDH2GGMXGA9105C9W1N7B","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[154,138,155,156,157,158,159,160,161,162,163,164,36,165,166,141,167,168,169,170],"web artifacts builder","artifacts","artifacts builder","builder","multi","state","routing","state management","react","single-file","css","Tailwind","ui components","single","use","file","components",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":175,"licenseFileUrl":176,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":145},"01M71QD9T2XC3EWMQNN9ACNWQ1","vueuse-functions","Apply VueUse composables where appropriate to build concise, maintainable Vue.js \u002F Nuxt features.","MIT","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fvueuse-functions\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fvueuse-functions\u002FSKILL.md",[],[180,181,182,183,184,185,186,187,188,189,190,191,192,193],"vueuse","vueuse functions","functions","composables","project","nuxt","apply","github","concise","build","https","features","vue","js"]