jetson-speculative-decoding
Add EAGLE-3 or draft-model speculative decoding to a Jetson vLLM server when TPOT is the bottleneck.
Install / Use
npx skills add NVIDIA/skills --skill jetson-speculative-decodingInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of jetson-speculative-decoding
jetson-speculative-decoding scores 86/100 on our quality scale, 457th of 864 AI & Machine Learning skills we index.
Its SKILL.md is 4.7 KB long, well organised into 12 sections with 2 code examples: a solid amount of guidance for an agent.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 6 days ago, so jetson-speculative-decoding is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-30. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
jetson-speculative-decoding compared with similar skills
All 4 of these similar skills score higher than jetson-speculative-decoding; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| jetson-speculative-decoding (this skill)by NVIDIA | 86 | 3.4k | 6d ago | SKILL.md |
| claude-memby thedotmack | 100 | 95.0k | 1d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 84.7k | 2d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.1k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install jetson-speculative-decoding?
- Run
npx skills add NVIDIA/skills --skill jetson-speculative-decoding. The install tabs above show the steps for each supported agent. - Which AI agents does jetson-speculative-decoding work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is jetson-speculative-decoding safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is jetson-speculative-decoding still maintained?
- The repository was last updated 6 days ago, so jetson-speculative-decoding is actively maintained.
Skill content
View source on GitHubname: jetson-speculative-decoding description: Add EAGLE-3 or draft-model speculative decoding to a Jetson vLLM server when TPOT is the bottleneck. version: 0.0.1 license: "Apache-2.0" metadata: author: "Jetson Team" tags: [jetson, llm, speculative-decoding] languages: [markdown] data-classification: public
Jetson Speculative Decoding (vLLM)
Speculative decoding lets a small "draft" model propose tokens that the target model verifies in a single forward pass, reducing per-token latency. On Jetson, the win/loss is dominated by VRAM headroom, not by the draft quality. This skill encodes the parts an LLM won't already know.
Purpose
Tune an existing Jetson vLLM deployment for faster token generation by appending the right --speculative-config and validating whether it improves single-stream decode speed.
When to use
- TPOT/ITL is the bottleneck (TTFT is fine, output is just slow).
- Workload is single-stream or low-concurrency (≤2). Speculation usually loses at high concurrency.
- Jetson family is Thor or AGX Orin. Do not suggest EAGLE-3 on Orin Nano/NX — there is rarely enough VRAM headroom to host both target and draft, and you'll OOM at startup.
When NOT to use
- High-concurrency serving (≥8): batched decode usually beats speculation; the draft model just steals VRAM.
- Models without a published EAGLE-3 head — do not train one ad-hoc as a "fix".
- After applying
jetson-inference-mem-tuneflags that already pushed--gpu-memory-utilizationnear the ceiling. Free at least ~2 GB first.
Prerequisites
- A working vLLM server recipe from
jetson-llm-serve. - Enough memory headroom for the draft model or EAGLE-3 head in addition to the target model.
- A benchmark baseline from
jetson-llm-benchmarkbefore enabling speculation. - A target model with a compatible EAGLE-3 head, or a small same-family draft model for the fallback path.
Instructions
Append --speculative-config to the vllm serve command shown in jetson-llm-serve.
EAGLE-3 (preferred when a head is published for the target model):
--speculative-config '{
"method": "eagle3",
"model": "<eagle3-head-repo-id>",
"num_speculative_tokens": 5,
"draft_tensor_parallel_size": 1
}'
Draft-model (fallback — pair a small same-family model):
--speculative-config '{
"method": "draft_model",
"model": "<small-draft-model-repo-id>",
"num_speculative_tokens": 4,
"draft_tensor_parallel_size": 1
}'
Jetson-specific tuning rules
num_speculative_tokens: start at 5 on Thor, 3 on AGX Orin. Higher values pay off only if the draft acceptance rate is >0.6.- Always pair with the same vLLM runtime path used by
jetson-llm-serve: upstream vLLM 0.20+ (vllm/vllm-openai:latest) or validated native vLLM 0.20+ on Thor, upstream vLLM 0.20+ on Orin JetPack 7.2 / L4T r39+, or the NVIDIA-AI-IOT vLLM image on older Orin. Do not use an Orin NVIDIA-AI-IOT vLLM image on Thor. Older runtimes may lack EAGLE-3 or the current--speculative-configshape. - Drop
--gpu-memory-utilizationby ~0.05 vs the non-speculative baseline to give the draft model headroom.
How to verify it actually helped
- Run
jetson-llm-benchmark(vLLM path) at--concurrency 1before and after enabling speculation. - Acceptance: target ≥30% improvement in
throughput_tok_sand ≥20% drop intpot_ms_p50at concurrency 1. - If improvement is <10%, or
throughput_tok_sregresses at concurrency 8, disable speculation. The draft model is costing more than it returns.
Limitations
- Speculative decoding improves decode-heavy workloads; it does not reduce TTFT-dominated latency.
- High concurrency can erase the benefit because continuous batching already keeps the GPU busy.
- Orin Nano/NX usually lack enough memory headroom for both target and draft models.
- Acceptance rate and draft overhead are model-specific, so benchmark before and after instead of assuming a speedup.
Error handling
- If vLLM rejects
--speculative-config, verify that Thor and Orin JetPack 7.2 / L4T r39+ are using vLLM 0.20+ and that older Orin is using a JetPack-matched NVIDIA-AI-IOT vLLM image; then switch back to the non-speculative serving command if the runtime still rejects it. - If startup OOMs, lower
--gpu-memory-utilization, use a smaller draft, or disable speculation and hand off tojetson-inference-mem-tune. - If benchmark throughput regresses, remove
--speculative-config; a bad draft path is worse than no speculation.
Hand off to
jetson-llm-benchmarkto quantify the change.jetson-inference-mem-tuneif startup OOMs after enabling speculation.
Source
vLLM speculative decoding docs and the Jetson AI Lab GenAI tutorial.
Related Skills
claude-mem
95.0kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
84.7kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
74.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.2kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
