[Doc] Host model recipes in recipes/ (#61302)
Signed-off-by: esmeetu <jasonailu87@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f98ae6a9fd
commit
b515648641
@@ -0,0 +1,233 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-3-Nano-30B-A3B"
|
||||
slug: "nemotron-3-nano-30b-a3b"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron-3-Nano Mamba-hybrid MoE (30B total / ~3B active) with BF16 and FP8 variants"
|
||||
date_added: 2026-01-08
|
||||
date_updated: 2026-09-10
|
||||
tasks:
|
||||
- text
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
arc_pro_b60: verified
|
||||
arc_pro_b70: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16"
|
||||
min_vllm_version: "0.17.0"
|
||||
architecture: moe
|
||||
parameter_count: "30B"
|
||||
active_parameters: "3B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
- "--async-scheduling"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Custom Nano v3 reasoning parser (download plugin: nano_v3_reasoning_parser.py)"
|
||||
args:
|
||||
- "--reasoning-parser-plugin"
|
||||
- "nano_v3_reasoning_parser.py"
|
||||
- "--reasoning-parser"
|
||||
- "nano_v3"
|
||||
long_context:
|
||||
description: "Raise the context window from the default 256K to the model's full 1M tokens. Needs a large KV-cache budget — lower --max-model-len if you are memory-constrained."
|
||||
args:
|
||||
- "--max-model-len"
|
||||
- "1048576"
|
||||
env:
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1"
|
||||
|
||||
opt_in_features:
|
||||
- long_context
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 72
|
||||
description: "BF16 weights"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "auto"
|
||||
|
||||
fp8:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 35
|
||||
description: "FP8 weights + FP8 KV cache"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
hardware_overrides:
|
||||
nvidia:
|
||||
extra_args:
|
||||
- "--moe-backend"
|
||||
- "flashinfer_cutlass"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
- multi_node_tp_pp
|
||||
- multi_node_tep
|
||||
- multi_node_dep
|
||||
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides:
|
||||
xpu:
|
||||
extra_args:
|
||||
- "--enforce-eager"
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
NVIDIA Nemotron-3-Nano-30B-A3B is a hybrid-Mamba MoE model (30B total, ~3B active) with
|
||||
FP8 and BF16 variants. It supports DGX Spark and Jetson Thor in addition to standard
|
||||
Hopper/Blackwell servers.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Hardware: 1x H100/H200 or comparable; DGX Spark, Jetson Thor, and Intel Arc Pro B60/B70 supported
|
||||
- vLLM >= 0.17.0 (0.28.0 recommended for full support)
|
||||
- Docker with NVIDIA Container Toolkit (recommended)
|
||||
|
||||
### Pull Docker Image
|
||||
|
||||
```bash
|
||||
docker pull --platform linux/amd64 vllm/vllm-openai:v0.28.0
|
||||
docker tag vllm/vllm-openai:v0.28.0 vllm/vllm-openai:deploy
|
||||
```
|
||||
|
||||
DGX Spark users can build from source (see README) or use the NGC image:
|
||||
|
||||
```bash
|
||||
docker pull nvcr.io/nvidia/vllm:25.12.post1-py3
|
||||
```
|
||||
|
||||
Jetson Thor:
|
||||
|
||||
```bash
|
||||
docker pull ghcr.io/nvidia-ai-iot/vllm:latest-jetson-thor
|
||||
```
|
||||
|
||||
Intel XPU (B60 / B70):
|
||||
|
||||
```bash
|
||||
docker pull vllm/vllm-openai-xpu:latest
|
||||
```
|
||||
|
||||
## Launch commands
|
||||
|
||||
FP8 with FlashInfer MoE backend (Blackwell/Hopper):
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 1 \
|
||||
--moe-backend flashinfer_cutlass
|
||||
```
|
||||
|
||||
BF16 (with reasoning + tool parsers — typical for Spark/Thor):
|
||||
|
||||
```bash
|
||||
wget https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16/resolve/main/nano_v3_reasoning_parser.py
|
||||
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 \
|
||||
--max-num-seqs 8 \
|
||||
--tensor-parallel-size 1 \
|
||||
--max-model-len 262144 \
|
||||
--trust-remote-code \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser-plugin nano_v3_reasoning_parser.py \
|
||||
--reasoning-parser nano_v3
|
||||
```
|
||||
|
||||
### Intel XPU (B60, B70)
|
||||
|
||||
Validated on 4× Intel Arc Pro B60 / B70 (B60 24 GB, B70 32 GB per card) with the
|
||||
official vLLM XPU image `vllm/vllm-openai-xpu:latest`.
|
||||
|
||||
FP8:
|
||||
```bash
|
||||
docker run --device /dev/dri \
|
||||
-v /dev/dri/by-path:/dev/dri/by-path --shm-size=16g \
|
||||
--privileged --ipc=host -p 8000:8000 \
|
||||
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
||||
vllm/vllm-openai-xpu:latest \
|
||||
nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 4 \
|
||||
--enforce-eager \
|
||||
--max-model-len 8192
|
||||
```
|
||||
|
||||
BF16:
|
||||
```bash
|
||||
docker run --device /dev/dri \
|
||||
-v /dev/dri/by-path:/dev/dri/by-path --shm-size=16g \
|
||||
--privileged --ipc=host -p 8000:8000 \
|
||||
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
||||
vllm/vllm-openai-xpu:latest \
|
||||
nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype auto \
|
||||
--tensor-parallel-size 4 \
|
||||
--enforce-eager \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser-plugin nano_v3_reasoning_parser.py \
|
||||
--reasoning-parser nano_v3 \
|
||||
--max-model-len 8192
|
||||
```
|
||||
|
||||
Key flags:
|
||||
- `kv-cache-dtype fp8` for FP8 variant, `auto` for BF16
|
||||
- `async-scheduling` reduces host overhead between decode steps
|
||||
- `mamba-ssm-cache-dtype float32` for best accuracy, `float16` for speed
|
||||
- `max-num-seqs` cap to match client concurrency for lower per-user latency
|
||||
|
||||
## Benchmarking
|
||||
|
||||
```bash
|
||||
vllm bench serve \
|
||||
--model nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8 \
|
||||
--trust-remote-code \
|
||||
--dataset-name random \
|
||||
--random-input-len 1024 --random-output-len 1024 \
|
||||
--num-warmups 20 \
|
||||
--ignore-eos \
|
||||
--max-concurrency 1024 \
|
||||
--num-prompts 2048
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- Use `--kv-cache-dtype fp8` only with the FP8 checkpoint.
|
||||
- Balance TP and `--max-num-seqs` for throughput vs. per-user latency.
|
||||
|
||||
## References
|
||||
|
||||
- [Nemotron-3-Nano-30B-A3B-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16)
|
||||
- [Nemotron-3-Nano-30B-A3B-FP8](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8)
|
||||
@@ -0,0 +1,200 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-3-Nano-4B"
|
||||
slug: "nemotron-3-nano-4b"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron-3-Nano 4B (Mamba-hybrid dense) — compact reasoning + tool-use model with BF16 and FP8 variants"
|
||||
date_added: 2026-04-28
|
||||
date_updated: 2026-04-28
|
||||
tasks:
|
||||
- text
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
|
||||
- nvidia/NVIDIA-Nemotron-Nano-9B-v2
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
b200: verified
|
||||
arc_pro_b60: verified
|
||||
arc_pro_b70: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16"
|
||||
min_vllm_version: "0.11.2"
|
||||
architecture: dense
|
||||
parameter_count: "4B"
|
||||
active_parameters: "4B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
- "--async-scheduling"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Custom Nano v3 reasoning parser (download plugin: nano_v3_reasoning_parser.py)"
|
||||
args:
|
||||
- "--reasoning-parser-plugin"
|
||||
- "nano_v3_reasoning_parser.py"
|
||||
- "--reasoning-parser"
|
||||
- "nano_v3"
|
||||
|
||||
opt_in_features: []
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 10
|
||||
description: "BF16 weights"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "auto"
|
||||
|
||||
fp8:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Nano-4B-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 5
|
||||
description: "FP8 weights + FP8 KV cache"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
- multi_node_tp_pp
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides:
|
||||
xpu:
|
||||
extra_args:
|
||||
- "--enforce-eager"
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
Nemotron-3-Nano-4B is the smallest member of the Nemotron-3 hybrid-Mamba family.
|
||||
It's tuned for low-latency reasoning, tool calling, and edge deployments — DGX Spark
|
||||
and Jetson Thor are both supported alongside standard Hopper/Blackwell servers.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Hardware: 1x H100/H200/B200, DGX Spark, Jetson Thor, or Intel Arc Pro B60/B70
|
||||
- vLLM >= 0.11.2 (0.28.0 recommended)
|
||||
- Docker with NVIDIA Container Toolkit (recommended)
|
||||
|
||||
### Pull Docker Image
|
||||
|
||||
```bash
|
||||
docker pull --platform linux/amd64 vllm/vllm-openai:v0.28.0
|
||||
```
|
||||
|
||||
Jetson Thor:
|
||||
|
||||
```bash
|
||||
docker pull ghcr.io/nvidia-ai-iot/vllm:latest-jetson-thor
|
||||
```
|
||||
|
||||
Intel XPU (B60 / B70):
|
||||
|
||||
```bash
|
||||
docker pull vllm/vllm-openai-xpu:latest
|
||||
```
|
||||
|
||||
## Launch commands
|
||||
|
||||
BF16:
|
||||
|
||||
```bash
|
||||
wget https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16/resolve/main/nano_v3_reasoning_parser.py
|
||||
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--max-model-len 262144 \
|
||||
--tensor-parallel-size 1 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser-plugin nano_v3_reasoning_parser.py \
|
||||
--reasoning-parser nano_v3
|
||||
```
|
||||
|
||||
FP8:
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Nano-4B-FP8 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 1
|
||||
```
|
||||
|
||||
### Intel XPU (B60, B70)
|
||||
|
||||
Validated on 1× Intel Arc Pro B60 / B70 (B60 24 GB, B70 32 GB per card) with the
|
||||
official vLLM XPU image `vllm/vllm-openai-xpu:latest`.
|
||||
|
||||
BF16:
|
||||
```bash
|
||||
docker run --device /dev/dri \
|
||||
-v /dev/dri/by-path:/dev/dri/by-path --shm-size=16g \
|
||||
--privileged --ipc=host -p 8000:8000 \
|
||||
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
||||
vllm/vllm-openai-xpu:latest \
|
||||
nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype auto \
|
||||
--tensor-parallel-size 1 \
|
||||
--enforce-eager \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser-plugin nano_v3_reasoning_parser.py \
|
||||
--reasoning-parser nano_v3 \
|
||||
--max-model-len 8192
|
||||
```
|
||||
|
||||
FP8:
|
||||
```bash
|
||||
docker run --device /dev/dri \
|
||||
-v /dev/dri/by-path:/dev/dri/by-path --shm-size=16g \
|
||||
--privileged --ipc=host -p 8000:8000 \
|
||||
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
||||
vllm/vllm-openai-xpu:latest \
|
||||
nvidia/NVIDIA-Nemotron-3-Nano-4B-FP8 \
|
||||
--trust-remote-code \
|
||||
--async-scheduling \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 1 \
|
||||
--enforce-eager \
|
||||
--max-model-len 8192
|
||||
```
|
||||
|
||||
## Benchmarking
|
||||
|
||||
```bash
|
||||
vllm bench serve \
|
||||
--model nvidia/NVIDIA-Nemotron-3-Nano-4B-FP8 \
|
||||
--trust-remote-code \
|
||||
--dataset-name random \
|
||||
--random-input-len 1024 --random-output-len 1024 \
|
||||
--num-warmups 20 \
|
||||
--ignore-eos \
|
||||
--max-concurrency 256 \
|
||||
--num-prompts 1024
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- [Nemotron-3-Nano-4B-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16)
|
||||
- [Nemotron-3-Nano-4B-FP8](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-4B-FP8)
|
||||
@@ -0,0 +1,271 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-3-Super-120B-A12B"
|
||||
slug: "nemotron-3-super-120b-a12b"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron-3-Super Mamba-hybrid latent-MoE (~120B total / ~12B active) with BF16, FP8, and NVFP4 variants"
|
||||
date_added: 2026-04-28
|
||||
date_updated: 2026-10-08
|
||||
tasks:
|
||||
- text
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
b200: verified
|
||||
dgx_station_gb300: verified
|
||||
dgx_spark_gb10: verified
|
||||
rtx_pro_6000: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16"
|
||||
min_vllm_version: "0.17.1"
|
||||
architecture: moe
|
||||
parameter_count: "120B"
|
||||
active_parameters: "12B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Built-in nemotron_v3 reasoning parser (vLLM >= 0.17.1)"
|
||||
args:
|
||||
- "--reasoning-parser"
|
||||
- "nemotron_v3"
|
||||
spec_decoding:
|
||||
description: "MTP speculative decoding for accelerated inference"
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"mtp","num_speculative_tokens":3}'
|
||||
long_context:
|
||||
description: "Raise the context window from the default 256K to the model's full 1M tokens. Needs a large KV-cache budget — lower --max-model-len if you are memory-constrained."
|
||||
args:
|
||||
- "--max-model-len"
|
||||
- "1048576"
|
||||
env:
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1"
|
||||
|
||||
opt_in_features:
|
||||
- spec_decoding
|
||||
- long_context
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 298
|
||||
description: "BF16 weights (FP8 KV cache recommended)"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
|
||||
fp8:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 149
|
||||
description: "FP8 weights + FP8 KV cache"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
|
||||
nvfp4:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4"
|
||||
precision: nvfp4
|
||||
vram_minimum_gb: 75
|
||||
description: "NVFP4 weights for Blackwell"
|
||||
hardware_overrides:
|
||||
rtx_pro_6000:
|
||||
extra_args:
|
||||
- "--max-num-seqs"
|
||||
- "8"
|
||||
dgx_station_gb300:
|
||||
extra_args:
|
||||
- "--max-model-len"
|
||||
- "262144"
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.92"
|
||||
- "--load-format"
|
||||
- "fastsafetensors"
|
||||
- "--attention-backend"
|
||||
- "flashinfer"
|
||||
- "--max-num-batched-tokens"
|
||||
- "16384"
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
- "--mamba-cache-mode"
|
||||
- "align"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float32"
|
||||
- "--enable-prefix-caching"
|
||||
extra_env:
|
||||
VLLM_FLOAT32_MATMUL_PRECISION: "high"
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1"
|
||||
|
||||
base_bf16:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 298
|
||||
description: "Pre-RL base checkpoint (BF16)"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
- multi_node_tp_pp
|
||||
- multi_node_tep
|
||||
- multi_node_dep
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides: {}
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
NVIDIA Nemotron-3-Super-120B-A12B is a hybrid-Mamba latent-MoE model (~120B total,
|
||||
~12B active per token) trained for general reasoning, tool use, and agentic workflows.
|
||||
It supports a 1M-token context window and Multi-Token Prediction (MTP). Variants ship
|
||||
in BF16, FP8, and NVFP4 (Blackwell). A pre-RL Base BF16 checkpoint is also available
|
||||
for downstream fine-tuning.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Hardware: 4-8x H100/H200/B200/RTX Pro 6000, DGX Station, or DGX Spark
|
||||
- vLLM >= 0.17.1
|
||||
- Docker with NVIDIA Container Toolkit (recommended)
|
||||
|
||||
## Launch commands
|
||||
|
||||
Reference command from the [vLLM blog](https://vllm.ai/blog/nemotron-3-super) (BF16, 4x H100, FP8 KV cache):
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16 \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 4 \
|
||||
--trust-remote-code \
|
||||
--served-model-name nemotron \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser nemotron_v3
|
||||
```
|
||||
|
||||
FP8 weights:
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8 \
|
||||
--kv-cache-dtype fp8 \
|
||||
--tensor-parallel-size 4 \
|
||||
--trust-remote-code \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser nemotron_v3
|
||||
```
|
||||
|
||||
NVFP4 (Blackwell only):
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4 \
|
||||
--tensor-parallel-size 2 \
|
||||
--trust-remote-code \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser nemotron_v3
|
||||
```
|
||||
|
||||
### DGX Spark (GB10)
|
||||
|
||||
The NVFP4 variant runs on a single DGX Spark (GB10) at TP=1 inside the
|
||||
`vllm/vllm-openai:v0.28.0-ubuntu2404` container. The command below is the optimal
|
||||
config tuned end-to-end on DGX Spark: the full 262144-token context fits with an FP8
|
||||
KV cache and a float32 Mamba SSM cache (`VLLM_ALLOW_LONG_MAX_MODEL_LEN=1` allows the
|
||||
long context, `VLLM_FLOAT32_MATMUL_PRECISION=high` keeps the Mamba scan numerically
|
||||
stable), `--gpu-memory-utilization 0.8` leaves headroom in the 128 GB unified memory,
|
||||
batching is sized for a single GB10 (`--max-num-seqs 8`,
|
||||
`--max-num-batched-tokens 16384`), `--load-format fastsafetensors` speeds up weight
|
||||
loading, and MTP speculative decoding plus prefix caching are enabled for lower
|
||||
latency:
|
||||
|
||||
```bash
|
||||
# Use container: vllm/vllm-openai:v0.28.0-ubuntu2404
|
||||
|
||||
VLLM_FLOAT32_MATMUL_PRECISION="high" \
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 \
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4 \
|
||||
--host 0.0.0.0 \
|
||||
--port 8000 \
|
||||
--max-model-len 262144 \
|
||||
--gpu-memory-utilization 0.8 \
|
||||
--max-num-seqs 8 \
|
||||
--load-format fastsafetensors \
|
||||
--attention-backend flashinfer \
|
||||
--max-num-batched-tokens 16384 \
|
||||
--kv-cache-dtype fp8 \
|
||||
--mamba-cache-mode align \
|
||||
--mamba-ssm-cache-dtype float32 \
|
||||
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
|
||||
--enable-prefix-caching \
|
||||
--reasoning-parser nemotron_v3 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder
|
||||
```
|
||||
|
||||
### RTX Pro 6000 NVFP4
|
||||
|
||||
The NVFP4 variant runs on a single RTX Pro 6000 at TP=1. Requires vLLM v0.24.0 or later. A few notes:
|
||||
|
||||
- **Set `--gpu-memory-utilization 0.92`** to avoid an OOM at startup. If you encounter an OOM, try adjusting the value.
|
||||
- **Set `VLLM_FLOAT32_MATMUL_PRECISION="high"`** to use high precision for the matmul operations.
|
||||
- **Set `VLLM_ALLOW_LONG_MAX_MODEL_LEN=1`** to allow the model to use the full context length.
|
||||
|
||||
```bash
|
||||
# Use container: vllm/vllm-openai:v0.28.0-ubuntu2404
|
||||
|
||||
VLLM_FLOAT32_MATMUL_PRECISION="high" \
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 \
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4 \
|
||||
--max-model-len 262144 \
|
||||
--gpu-memory-utilization 0.92 \
|
||||
--max-num-seqs 8 \
|
||||
--max-num-batched-tokens 16384 \
|
||||
--kv-cache-dtype fp8 \
|
||||
--mamba-cache-mode align \
|
||||
--mamba-ssm-cache-dtype float32 \
|
||||
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
|
||||
--enable-prefix-caching \
|
||||
--reasoning-parser nemotron_v3 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder
|
||||
```
|
||||
|
||||
## Benchmarking
|
||||
|
||||
```bash
|
||||
vllm bench serve \
|
||||
--model nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8 \
|
||||
--trust-remote-code \
|
||||
--dataset-name random \
|
||||
--random-input-len 1024 --random-output-len 1024 \
|
||||
--num-warmups 20 \
|
||||
--ignore-eos \
|
||||
--max-concurrency 1024 \
|
||||
--num-prompts 2048
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- [vLLM blog: Nemotron-3-Super](https://vllm.ai/blog/nemotron-3-super)
|
||||
- [vLLM blog: vLLM on DGX Spark](https://vllm.ai/blog/2026-06-01-vllm-dgx-spark)
|
||||
- [Nemotron-3-Super-120B-A12B-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16)
|
||||
- [Nemotron-3-Super-120B-A12B-FP8](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8)
|
||||
- [Nemotron-3-Super-120B-A12B-NVFP4](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4)
|
||||
- [Nemotron-3-Super-120B-A12B-Base-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16)
|
||||
@@ -0,0 +1,131 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-3-Ultra-550B-A55B"
|
||||
slug: "nemotron-3-ultra-550b-a55b"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron 3 Ultra hybrid Transformer-Mamba MoE model for long-context agentic reasoning, coding, and tool use."
|
||||
date_added: 2026-06-04
|
||||
date_updated: 2026-09-10
|
||||
tasks:
|
||||
- text
|
||||
performance_headline: "550B total / 55B active parameters with BF16 and NVFP4 serving paths"
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16
|
||||
hardware:
|
||||
b200: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-BF16"
|
||||
min_vllm_version: "0.22.0"
|
||||
docker_image: "vllm/vllm-openai:v0.28.0"
|
||||
architecture: moe
|
||||
parameter_count: "550B"
|
||||
active_parameters: "55B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--served-model-name"
|
||||
- "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B"
|
||||
- "--trust-remote-code"
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
- "--max-num-seqs"
|
||||
- "16"
|
||||
- "--max-model-len"
|
||||
- "262144"
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.90"
|
||||
- "--max-num-batched-tokens"
|
||||
- "32768"
|
||||
- "--enable-flashinfer-autotune"
|
||||
- "--async-scheduling"
|
||||
- "--mamba-backend"
|
||||
- "triton"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float32"
|
||||
base_env:
|
||||
VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS: "1"
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Nemotron v3 reasoning parser"
|
||||
args:
|
||||
- "--reasoning-parser"
|
||||
- "nemotron_v3"
|
||||
spec_decoding:
|
||||
description: "Multi-Token Prediction with 5 speculative tokens"
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"mtp","num_speculative_tokens":5}'
|
||||
long_context:
|
||||
description: "Raise the context window from the default 256K to the model's full 1M tokens. Needs a large KV-cache budget — lower --max-model-len if you are memory-constrained."
|
||||
args:
|
||||
- "--max-model-len"
|
||||
- "1048576"
|
||||
env:
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1"
|
||||
|
||||
opt_in_features:
|
||||
- long_context
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 1320
|
||||
description: "BF16 weights"
|
||||
fp4:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4"
|
||||
precision: nvfp4
|
||||
vram_minimum_gb: 330
|
||||
description: "NVFP4 weights"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides: {}
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
NVIDIA Nemotron 3 Ultra is a 550B total / 55B active hybrid Transformer-Mamba MoE
|
||||
model built for long-running agentic reasoning, coding, research, and tool use.
|
||||
|
||||
## Launch command
|
||||
|
||||
```bash
|
||||
export VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=1
|
||||
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4 \
|
||||
--served-model-name nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B \
|
||||
--trust-remote-code \
|
||||
--tensor-parallel-size 8 \
|
||||
--kv-cache-dtype fp8 \
|
||||
--max-num-seqs 16 \
|
||||
--max-model-len 262144 \
|
||||
--gpu-memory-utilization 0.90 \
|
||||
--max-num-batched-tokens 32768 \
|
||||
--enable-flashinfer-autotune \
|
||||
--async-scheduling \
|
||||
--speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
|
||||
--mamba-backend triton \
|
||||
--mamba-ssm-cache-dtype float32 \
|
||||
--reasoning-parser nemotron_v3 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- [BF16 model](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-BF16)
|
||||
- [NVFP4 model](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4)
|
||||
@@ -0,0 +1,255 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron 3.5 Lightning"
|
||||
slug: "nemotron-3-5-lightning"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron 3.5 Lightning hybrid Mamba-MoE (30B total / 3B active) with NVFP4 and BF16 checkpoints, 1M context, and MTP / DSpark / DFlash speculative decoding"
|
||||
date_added: 2026-08-03
|
||||
date_updated: 2026-10-08
|
||||
tasks:
|
||||
- text
|
||||
related_recipes:
|
||||
- "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16"
|
||||
hardware:
|
||||
h100: verified
|
||||
dgx_spark_gb10: verified
|
||||
rtx_pro_6000: verified
|
||||
dgx_station_gb300: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16"
|
||||
min_vllm_version: "0.27.1"
|
||||
docker_image: "vllm/vllm-openai:v0.28.0"
|
||||
architecture: moe
|
||||
parameter_count: "30B"
|
||||
active_parameters: "3B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--mamba-backend"
|
||||
- "flashinfer"
|
||||
- "--mamba-cache-mode"
|
||||
- "align"
|
||||
- "--enable-prefix-caching"
|
||||
- "--max-num-batched-tokens"
|
||||
- "16384"
|
||||
base_env: {}
|
||||
|
||||
dependencies:
|
||||
- command: 'uv pip install "fastokens>=0.2.0"'
|
||||
note: "Required by the BF16 variant, which sets VLLM_USE_FASTOKENS=1; vLLM does not bundle it yet (vllm-project/vllm#47859)"
|
||||
|
||||
features:
|
||||
reasoning:
|
||||
description: "Nemotron v3 reasoning parser — per-request reasoning toggle with a configurable token budget"
|
||||
args:
|
||||
- "--reasoning-parser"
|
||||
- "nemotron_v3"
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
mamba_fast_ssm_cache:
|
||||
label: "Fast SSM Cache"
|
||||
description: "FP16 Mamba SSM cache with stochastic rounding — faster decode than the FP32 default; the Philox rounds control the rounding stream"
|
||||
args:
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float16"
|
||||
- "--enable-mamba-cache-stochastic-rounding"
|
||||
- "--mamba-cache-philox-rounds"
|
||||
- "5"
|
||||
spec_decoding:
|
||||
description: "Speculative decoding — built-in MTP heads, the DSpark hybrid speculator, or the DFlash diffusion drafter"
|
||||
default_mode: dspark
|
||||
modes:
|
||||
dspark:
|
||||
label: "DSpark"
|
||||
description: "Hybrid autoregressive + diffusion speculator with a W4A16 draft head. Lowest latency on H100 and DGX Spark; needs the separate DSpark draft checkpoint."
|
||||
variants:
|
||||
- default
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"dspark","model":"nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4-DSpark","num_speculative_tokens":3}'
|
||||
hardware_overrides:
|
||||
# GB10 is decode-bound at concurrency 1, so the sweep drafts deeper.
|
||||
dgx_spark_gb10:
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"dspark","model":"nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4-DSpark","num_speculative_tokens":7}'
|
||||
mtp:
|
||||
label: "MTP"
|
||||
description: "Built-in Multi-Token Prediction heads — no extra checkpoint to download."
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"mtp","num_speculative_tokens":3}'
|
||||
hardware_overrides:
|
||||
blackwell:
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"mtp","num_speculative_tokens":3,"moe_backend":"triton"}'
|
||||
dflash:
|
||||
label: "DFlash"
|
||||
description: "Diffusion drafter that proposes a whole block of tokens in parallel; needs the separate DFlash draft checkpoint."
|
||||
variants:
|
||||
- default
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"dflash","model":"nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4-DFlash","num_speculative_tokens":3,"attention_backend":"FLASHINFER"}'
|
||||
long_context:
|
||||
description: "Raise the context window from the default 256K to the model's full 1M tokens. Needs a large KV-cache budget — lower --max-model-len if you are memory-constrained."
|
||||
args:
|
||||
- "--max-model-len"
|
||||
- "1048576"
|
||||
env:
|
||||
VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1"
|
||||
|
||||
opt_in_features:
|
||||
- spec_decoding
|
||||
- long_context
|
||||
|
||||
variants:
|
||||
default:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4"
|
||||
precision: nvfp4
|
||||
precision_hardware:
|
||||
brand: NVIDIA
|
||||
vram_minimum_gb: 18
|
||||
label: "NVFP4"
|
||||
description: "ModelOpt NVFP4 (W4A16) checkpoint with FP8 KV cache — the default deployment target, and the only one the DSpark/DFlash drafts are published for"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
- "--moe-backend"
|
||||
- "marlin"
|
||||
hardware_overrides:
|
||||
hopper:
|
||||
extra_args:
|
||||
- "--quantization"
|
||||
- "modelopt_fp4"
|
||||
- "--moe-backend"
|
||||
- "humming"
|
||||
- "--linear-backend"
|
||||
- "humming"
|
||||
- "--mamba-ssu-algorithm"
|
||||
- "horizontal"
|
||||
- "--async-scheduling"
|
||||
- "--max-num-seqs"
|
||||
- "256"
|
||||
- "--max-num-batched-tokens"
|
||||
- "32768"
|
||||
dgx_spark_gb10:
|
||||
# Validated 2026-08-31 on vLLM 0.28.1rc1.dev130+g44fe2a392 (Ubuntu
|
||||
# 24.04.4, driver 580.159.03, CUDA 13.0). The nightly is newer than the
|
||||
# recipe-wide v0.28.0 image, so it is pinned here.
|
||||
docker_image: "vllm/vllm-openai:nightly"
|
||||
extra_args:
|
||||
# GB10 shares its 128 GB with the CPU — leave the host its share.
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.7"
|
||||
- "--load-format"
|
||||
- "fastsafetensors"
|
||||
rtx_pro_6000:
|
||||
extra_args:
|
||||
- "--attention-backend"
|
||||
- "FLASHINFER"
|
||||
- "--linear-backend"
|
||||
- "marlin"
|
||||
- "--attention-config"
|
||||
- '{"use_trtllm_attention":true}'
|
||||
- "--enable-flashinfer-autotune"
|
||||
- "--mamba-cache-mode"
|
||||
- "none"
|
||||
- "--async-scheduling"
|
||||
- "--enable-chunked-prefill"
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.8"
|
||||
- "--load-format"
|
||||
- "instanttensor"
|
||||
- "--safetensors-load-strategy"
|
||||
- "prefetch"
|
||||
dgx_station_gb300:
|
||||
extra_args:
|
||||
- "--attention-backend"
|
||||
- "flashinfer"
|
||||
- "--enable-chunked-prefill"
|
||||
- "--async-scheduling"
|
||||
bf16:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 72
|
||||
description: "Full-precision BF16 reference checkpoint — MTP only (no DSpark/DFlash draft is published for BF16)"
|
||||
extra_args:
|
||||
- "--moe-backend"
|
||||
- "flashinfer_cutlass"
|
||||
extra_env:
|
||||
VLLM_USE_FASTOKENS: "1"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- single_node_tep
|
||||
|
||||
hardware_overrides: {}
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
Nemotron 3.5 Lightning is a hybrid Mamba-MoE model — 30B total parameters, 3B active,
|
||||
up to 1M context, distilled from Nemotron 3 Ultra and trained for popular agent
|
||||
harnesses. It ships as an NVFP4 (W4A16) ModelOpt checkpoint, the default deployment
|
||||
target, and a BF16 reference checkpoint.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- **vLLM:** 0.27.1 or newer — `vllm/vllm-openai:v0.28.0`
|
||||
- **Hardware:** 1x H100, 1x DGX Spark (GB10), or 1x DGX Station (GB300)
|
||||
- **Speculative decoding:** **MTP** (built into the checkpoint), **DSpark** (hybrid
|
||||
autoregressive + diffusion) and **DFlash** (diffusion) are all supported. DSpark
|
||||
gives the best latency on H100 and DGX Spark; for maximum throughput, serve without
|
||||
speculative decoding.
|
||||
|
||||
## Client Usage
|
||||
|
||||
Once the vLLM server is running, consume it via the OpenAI-compatible API. Reasoning
|
||||
is returned separately from the answer, on `message.reasoning`:
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
# Set this to match the --served-model-name used when starting the server
|
||||
SERVED_MODEL_NAME = "nemotron-3.5-lightning"
|
||||
BASE_URL = "http://127.0.0.1:8000/v1"
|
||||
|
||||
client = OpenAI(base_url=BASE_URL, api_key="null")
|
||||
|
||||
response = client.chat.completions.create(
|
||||
model=SERVED_MODEL_NAME,
|
||||
messages=[
|
||||
{"role": "system", "content": "You are a helpful assistant."},
|
||||
{"role": "user", "content": "Briefly explain: what is vLLM and why is it useful for large model inference?"},
|
||||
],
|
||||
temperature=1.0,
|
||||
top_p=0.95,
|
||||
max_tokens=2048,
|
||||
)
|
||||
|
||||
choice = response.choices[0]
|
||||
print("Reasoning:", choice.message.reasoning)
|
||||
print("Content:", choice.message.content)
|
||||
```
|
||||
|
||||
Reasoning tokens count toward `max_tokens`. If `content` comes back empty or `None`,
|
||||
the reasoning trace consumed the entire budget before the model produced an answer —
|
||||
raise `max_tokens`.
|
||||
|
||||
## Notes
|
||||
|
||||
- **Speculative decoding**: DSpark is preferred on DGX Spark. On DGX Station, prefer
|
||||
MTP — choose it in the Speculative Decoding panel above.
|
||||
- **DGX Spark (GB10)**: the selectable config is the one measured on 2026-08-31 with
|
||||
aiperf 0.12.0 on vLLM `0.28.1rc1.dev130+g44fe2a392` — DSpark drafting 7 tokens at
|
||||
`--gpu-memory-utilization 0.7`, `--mamba-cache-mode align` and fastsafetensors
|
||||
loading, served from `vllm/vllm-openai:nightly`. On SPEED-Bench at 8K input / 256
|
||||
output, concurrency 1, it reached 7,252 prefill tok/s and 93.3 decode tok/s at a
|
||||
3.98 s mean end-to-end latency.
|
||||
@@ -0,0 +1,333 @@
|
||||
# yaml-language-server: $schema=https://recipes.vllm.ai/recipe.schema.json
|
||||
meta:
|
||||
title: "NVIDIA Nemotron 3.5 Super VL"
|
||||
slug: "nemotron-3-5-super-vl"
|
||||
provider: "NVIDIA"
|
||||
description: "120B total / 12B active vision-language model with NVFP4, FP8, and BF16 recipes for H100, H200, GB200, DGX Spark, and RTX Pro 6000"
|
||||
date_added: 2026-10-15
|
||||
date_updated: 2026-10-15
|
||||
tasks:
|
||||
- multimodal
|
||||
related_recipes:
|
||||
- "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16"
|
||||
default_hardware: h200
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
gb200: verified
|
||||
dgx_spark_gb10: verified
|
||||
rtx_pro_6000: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4"
|
||||
min_vllm_version: "0.31.0"
|
||||
docker_image: "vllm/vllm-openai:v0.31.0"
|
||||
architecture: moe
|
||||
parameter_count: "120B"
|
||||
active_parameters: "12B"
|
||||
context_length: 1048576
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
spec_decoding:
|
||||
description: "Use MTP, LiLiCorr on DGX Spark or DSpark"
|
||||
default_mode: mtp
|
||||
modes:
|
||||
mtp:
|
||||
label: "MTP"
|
||||
description: "Draft three tokens on Hopper or five on Blackwell"
|
||||
args: ["--speculative-config.method", "mtp", "--speculative-config.num_speculative_tokens", "3"]
|
||||
hardware_overrides:
|
||||
blackwell:
|
||||
args: ["--speculative-config.method", "mtp", "--speculative-config.num_speculative_tokens", "5"]
|
||||
dgx_spark_gb10:
|
||||
args: ["--speculative-config.method", "mtp", "--speculative-config.num_speculative_tokens", "5", "--mamba-cache-mode", "align", "--chat-template-content-format", "string"]
|
||||
dspark:
|
||||
label: "DSpark"
|
||||
description: "External draft with up to eight speculative tokens"
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"dspark","model":"RedHatAI/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B.dspark","num_speculative_tokens":8,"draft_tensor_parallel_size":1,"draft_sample_method":"greedy"}'
|
||||
hardware_overrides:
|
||||
h100:
|
||||
args:
|
||||
- "--speculative-config"
|
||||
- '{"method":"dspark","model":"RedHatAI/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B.dspark","num_speculative_tokens":8,"draft_tensor_parallel_size":1,"draft_sample_method":"greedy"}'
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.89"
|
||||
- "--prefix-match-unit"
|
||||
- "64"
|
||||
- "--block-size"
|
||||
- "64"
|
||||
- "--compilation-config"
|
||||
- '{"max_cudagraph_capture_size":192}'
|
||||
- "--enable-expert-parallel"
|
||||
- "--max-num-seqs"
|
||||
- "128"
|
||||
- "--max-model-len"
|
||||
- "114688"
|
||||
- "--max-num-batched-tokens"
|
||||
- "16384"
|
||||
- "--enable-prefix-caching"
|
||||
- "--async-scheduling"
|
||||
- "--mamba-backend"
|
||||
- "flashinfer"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float16"
|
||||
- "--enable-mamba-cache-stochastic-rounding"
|
||||
- "--mamba-cache-philox-rounds"
|
||||
- "5"
|
||||
- "--chat-template-content-format"
|
||||
- "string"
|
||||
- "--mamba-cache-mode"
|
||||
- "align"
|
||||
lillicorr:
|
||||
label: "LiLiCorr"
|
||||
description: "Separate DFlash draft checkpoint, seven tokens on DGX Spark"
|
||||
hardware:
|
||||
h100: unsupported
|
||||
h200: unsupported
|
||||
gb200: unsupported
|
||||
rtx_pro_6000: unsupported
|
||||
variants: [default]
|
||||
args: ["--speculative-config.model", "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4-LiLiCorr", "--speculative-config.num_speculative_tokens", "7", "--speculative-config.method", "dflash", "--max-num-seqs", "1", "--gpu-memory-utilization", "0.75", "--max-num-batched-tokens", "8192"]
|
||||
tool_calling:
|
||||
description: "Parse tool calls with qwen3_coder and automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Separate Nemotron v3 reasoning from the final answer"
|
||||
args:
|
||||
- "--reasoning-parser"
|
||||
- "nemotron_v3"
|
||||
local_media:
|
||||
label: "Local Media"
|
||||
description: "Allow access to host paths as in the BF16 cookbook examples; use only for trusted inputs"
|
||||
args: ["--allowed-local-media-path", "/"]
|
||||
|
||||
opt_in_features:
|
||||
- local_media
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: nvfp4
|
||||
precision_hardware:
|
||||
brand: NVIDIA
|
||||
vram_minimum_gb: 91
|
||||
description: "NVFP4 W4A16 checkpoint; select a hardware profile for its cookbook configuration"
|
||||
supported_hardware: [h100, h200, gb200, dgx_spark_gb10, rtx_pro_6000]
|
||||
tp: { h100: 2, h200: 1, gb200: 1, dgx_spark_gb10: 1, rtx_pro_6000: 1 }
|
||||
hardware_overrides:
|
||||
hopper:
|
||||
extra_args:
|
||||
- "--max-model-len"
|
||||
- "114688"
|
||||
- "--max-num-seqs"
|
||||
- "128"
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.89"
|
||||
- "--max-num-batched-tokens"
|
||||
- "16384"
|
||||
- "--block-size"
|
||||
- "64"
|
||||
- "--prefix-match-unit"
|
||||
- "64"
|
||||
- "--compilation_config.max_cudagraph_capture_size"
|
||||
- "256"
|
||||
- "--mamba-backend"
|
||||
- "flashinfer"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float16"
|
||||
- "--enable-mamba-cache-stochastic-rounding"
|
||||
- "--mamba-cache-philox-rounds"
|
||||
- "5"
|
||||
- "--enable-mamba-shared-prefix-checkpoint"
|
||||
- "--mamba-cache-mode"
|
||||
- "align"
|
||||
- "--video-pruning-rate"
|
||||
- "0.5"
|
||||
- "--media-io-kwargs"
|
||||
- '{"video":{"fps":2,"num_frames":256}}'
|
||||
gb200:
|
||||
extra_args:
|
||||
- "--max-num-seqs"
|
||||
- "512"
|
||||
- "--max-model-len"
|
||||
- "114688"
|
||||
- "--enable-prefix-caching"
|
||||
- "--max-num-batched-tokens"
|
||||
- "32768"
|
||||
- "--prefix-match-unit"
|
||||
- "16"
|
||||
- "--enable-mamba-shared-prefix-checkpoint"
|
||||
- "--async-scheduling"
|
||||
- "--kernel-config"
|
||||
- '{"linear_backend_per_quant":{"fp8_w8a8":"torch"}}'
|
||||
- "--compilation-config"
|
||||
- '{"pass_config":{"fuse_attn_quant":true},"use_inductor_graph_partition":true,"cudagraph_mode":"FULL_AND_PIECEWISE"}'
|
||||
- "--mamba-backend"
|
||||
- "flashinfer"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float16"
|
||||
- "--enable-mamba-cache-stochastic-rounding"
|
||||
- "--mamba-cache-philox-rounds"
|
||||
- "5"
|
||||
- "--chat-template-content-format"
|
||||
- "string"
|
||||
- "--mamba-cache-mode"
|
||||
- "align"
|
||||
- "--video-pruning-rate"
|
||||
- "0.5"
|
||||
- "--media-io-kwargs"
|
||||
- '{"video":{"fps":2,"num_frames":256}}'
|
||||
dgx_spark_gb10:
|
||||
extra_args:
|
||||
- "--max-num-seqs"
|
||||
- "2"
|
||||
- "--max-model-len"
|
||||
- "114688"
|
||||
- "--gpu-memory-utilization"
|
||||
- "0.7"
|
||||
- "--mamba-backend"
|
||||
- "flashinfer"
|
||||
- "--mamba-ssm-cache-dtype"
|
||||
- "float16"
|
||||
- "--enable-mamba-cache-stochastic-rounding"
|
||||
- "--mamba-cache-philox-rounds"
|
||||
- "5"
|
||||
- "--prefix-match-unit"
|
||||
- "16"
|
||||
- "--enable-mamba-shared-prefix-checkpoint"
|
||||
rtx_pro_6000:
|
||||
extra_args: ["--max-model-len", "16384", "--max-num-seqs", "128"]
|
||||
fp8:
|
||||
model_id: "RedHatAI/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 155
|
||||
description: "FP8 Dynamic W8A8; model-card baseline uses 2x H100 with MTP or DSpark"
|
||||
tp: { hopper: 2, blackwell: 1 }
|
||||
extra_args: ["--gpu-memory-utilization", "0.89", "--prefix-match-unit", "64", "--block-size", "64", "--compilation-config", "{\"max_cudagraph_capture_size\":192}", "--enable-expert-parallel", "--max-num-seqs", "128", "--max-model-len", "114688", "--max-num-batched-tokens", "16384", "--enable-prefix-caching", "--async-scheduling", "--mamba-backend", "flashinfer", "--mamba-ssm-cache-dtype", "float16", "--enable-mamba-cache-stochastic-rounding", "--mamba-cache-philox-rounds", "5", "--chat-template-content-format", "string", "--mamba-cache-mode", "align", "--enable-mamba-fine-grained-prefix-cache"]
|
||||
bf16:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 299
|
||||
description: "BF16 multimodal checkpoint on 4x H100 or 2x GB200"
|
||||
supported_hardware: [h100, gb200]
|
||||
tp: { h100: 4, gb200: 2 }
|
||||
hardware_overrides:
|
||||
h100:
|
||||
extra_args: ["--max-model-len", "114688", "--gpu-memory-utilization", "0.85", "--max-num-seqs", "32", "--limit-mm-per-prompt", '{"video":1,"image":1}', "--video-pruning-rate", "0.5", "--media-io-kwargs", '{"video":{"fps":2,"num_frames":256}}']
|
||||
gb200:
|
||||
extra_args: ["--max-model-len", "114688", "--async-scheduling", "--max-num-seqs", "32", "--limit-mm-per-prompt", '{"video":1,"image":1}', "--video-pruning-rate", "0.5", "--media-io-kwargs", '{"video":{"fps":2,"num_frames":256}}']
|
||||
nvfp4_gb200_4x:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4"
|
||||
precision: nvfp4
|
||||
precision_hardware:
|
||||
brand: NVIDIA
|
||||
vram_minimum_gb: 91
|
||||
label: "NVFP4 · 4x GB200"
|
||||
description: "Four-GPU text-only expert-parallel configuration"
|
||||
supported_hardware: [gb200]
|
||||
tp: 4
|
||||
extra_args: ["--enable-expert-parallel", "--max-num-seqs", "512", "--max-model-len", "28672", "--no-enable-prefix-caching", "--async-scheduling", "--mamba-backend", "flashinfer", "--mamba-ssm-cache-dtype", "float16", "--enable-mamba-cache-stochastic-rounding", "--mamba-cache-philox-rounds", "5", "--chat-template-content-format", "string", "--mamba-cache-mode", "align"]
|
||||
bf16_gb200_4x:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 299
|
||||
label: "BF16 · 4x GB200"
|
||||
description: "Four-GPU text-only expert-parallel configuration with float32 Mamba cache"
|
||||
supported_hardware: [gb200]
|
||||
tp: 4
|
||||
extra_args: ["--enable-expert-parallel", "--max-num-seqs", "512", "--max-model-len", "28672", "--no-enable-prefix-caching", "--async-scheduling", "--mamba-backend", "flashinfer", "--mamba-ssm-cache-dtype", "float32", "--chat-template-content-format", "string", "--mamba-cache-mode", "align"]
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
|
||||
hardware_overrides: {}
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
Nemotron 3.5 Super VL is a hybrid Mamba-MoE vision-language model with image and
|
||||
video input. The profiles below follow the NVIDIA cookbook's configurations on
|
||||
`vllm/vllm-openai:v0.31.0`. The page opens on the one-H200 NVFP4 configuration.
|
||||
Every generated command uses the full Hugging Face model ID as its served name.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Pull the pinned vLLM image and make the selected checkpoint available from
|
||||
Hugging Face. LiLiCorr on DGX Spark also needs its separate draft checkpoint.
|
||||
- The NVFP4 checkpoint's safetensors index reports 75.01 GB; the recipe's 91 GB
|
||||
minimum includes the schema's 20% allowance. The BF16 index reports 248.91 GB,
|
||||
giving a 299 GB minimum by the same method.
|
||||
- These are weight allowances, not a guarantee that every context and batch
|
||||
setting fits. Use the cookbook's per-hardware memory settings.
|
||||
|
||||
## Hardware configurations
|
||||
|
||||
| Hardware | Variant | TP | Context | Cookbook workload |
|
||||
| --- | --- | ---: | ---: | --- |
|
||||
| 1x H200 | NVFP4 | 1 | 114,688 | Multimodal, MTP 3 |
|
||||
| 2x H100 | NVFP4 | 2 | 114,688 | Multimodal, MTP 3 |
|
||||
| 4x H100 | BF16 | 4 | 114,688 | Multimodal, MTP 3 |
|
||||
| 1x GB200 | NVFP4 | 1 | 114,688 | Text only, MTP 5 |
|
||||
| 2x GB200 | BF16 | 2 | 114,688 | Multimodal, MTP 5 |
|
||||
| 4x GB200 | NVFP4 or BF16 4x | 4 | 28,672 | Text only, MTP 5 |
|
||||
| 1x DGX Spark | NVFP4 | 1 | 114,688 | Text-only MTP 5 or LiLiCorr 7 |
|
||||
| 1x RTX Pro 6000 | NVFP4 | 1 | 16,384 | MTP 5 |
|
||||
|
||||
Select the matching Hardware and Variant pills to generate these commands.
|
||||
On GB200, choose BF16 with TP 2 for image or video input: the 1x NVFP4 and
|
||||
4x variants use `--chat-template-content-format string` for text workloads.
|
||||
DGX Spark defaults to its text-only MTP command; the LiLiCorr mode uses the
|
||||
separate DFlash draft checkpoint and changes its concurrency and memory budget.
|
||||
The BF16 notebook examples allow local media paths under `/`; turn on the
|
||||
optional Local Media feature only when serving trusted clients that need it.
|
||||
|
||||
The cookbook also validates NVFP4 on 2x A100 with an 8,192-token allocation.
|
||||
A100 is not in the site's hardware taxonomy, so use its command directly:
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 \
|
||||
--served-model-name nemotron-3.5-super \
|
||||
--trust-remote-code \
|
||||
--tensor-parallel-size 2 \
|
||||
--pipeline-parallel-size 1 \
|
||||
--data-parallel-size 1 \
|
||||
--max-model-len 8192 \
|
||||
--max-num-seqs 512 \
|
||||
--speculative_config.method mtp \
|
||||
--speculative_config.num_speculative_tokens 5 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder \
|
||||
--reasoning-parser nemotron_v3
|
||||
```
|
||||
|
||||
Use `nemotron-3.5-super` as the client model name for this A100 command.
|
||||
|
||||
The cookbook also provides 1M-token text-only commands. They use
|
||||
`--language-model-only` and `VLLM_ALLOW_LONG_MAX_MODEL_LEN=1`; apply those
|
||||
complete commands from the notebook when the full window is needed. The
|
||||
selectable configurations here retain shorter hardware-specific allocations.
|
||||
|
||||
## Client usage
|
||||
|
||||
Send requests to `http://127.0.0.1:8000/v1` with model
|
||||
`nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4` or the BF16 model ID,
|
||||
depending on the selected variant. The cookbook includes image and video
|
||||
requests, tool calls, and reasoning output examples.
|
||||
|
||||
## References
|
||||
|
||||
- [NVIDIA vLLM cookbook](https://github.com/NVIDIA-NeMo/Nemotron/blob/main/usage-cookbook/Nemotron-3.5-Super-VL/vllm_cookbook.ipynb)
|
||||
- [NVFP4 checkpoint](https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4)
|
||||
- [BF16 checkpoint](https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16)
|
||||
- [LiLiCorr draft checkpoint](https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4-LiLiCorr)
|
||||
- [RedHatAI FP8 model card](https://huggingface.co/RedHatAI/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-FP8)
|
||||
- [RedHatAI DSpark model card](https://huggingface.co/RedHatAI/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B.dspark)
|
||||
@@ -0,0 +1,169 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-Nano-12B-v2-VL"
|
||||
slug: "nemotron-nano-12b-v2-vl"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron-Nano 12B vision-language model with video support and Efficient Video Sampling (EVS)"
|
||||
date_added: 2025-10-31
|
||||
date_updated: 2026-04-17
|
||||
tasks:
|
||||
- multimodal
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
|
||||
hardware:
|
||||
h100: verified
|
||||
b200: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16"
|
||||
min_vllm_version: "0.11.1"
|
||||
architecture: dense
|
||||
parameter_count: "12B"
|
||||
active_parameters: "12B"
|
||||
context_length: 131072
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
base_env:
|
||||
VLLM_VIDEO_LOADER_BACKEND: "opencv"
|
||||
|
||||
features:
|
||||
video_compression:
|
||||
description: "Efficient Video Sampling (EVS) prunes video tokens; 0.75 means 75% pruning"
|
||||
args:
|
||||
- "--video-pruning-rate"
|
||||
- "0.75"
|
||||
text_only:
|
||||
description: "Skip loading the vision encoder for text-only workloads — frees VRAM for KV cache. Mutually exclusive with encoder_parallel."
|
||||
args:
|
||||
- "--language-model-only"
|
||||
encoder_parallel:
|
||||
description: "Run the vision encoder in data-parallel mode — avoids TP comm overhead on the small encoder. Mutually exclusive with text_only."
|
||||
args:
|
||||
- "--mm-encoder-tp-mode"
|
||||
- "data"
|
||||
|
||||
opt_in_features:
|
||||
- text_only
|
||||
- encoder_parallel
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 29
|
||||
description: "BF16 weights on 1 GPU"
|
||||
|
||||
fp8:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 14
|
||||
description: "FP8 weights on 1 GPU"
|
||||
|
||||
nvfp4:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-NVFP4-QAD"
|
||||
precision: nvfp4
|
||||
vram_minimum_gb: 8
|
||||
description: "NVFP4 (QAD) weights for Blackwell"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
- multi_node_tp_pp
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides: {}
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
Nemotron-Nano-12B-v2-VL is a vision-language model with image and video support. It
|
||||
includes Efficient Video Sampling (EVS) to prune video tokens and reduce compute. The
|
||||
model is available in BF16, FP8, and NVFP4 (QAD) precisions.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Hardware: 1x GPU (A100/H100/B200, etc.)
|
||||
- vLLM: 0.11.0 does NOT include this model; use latest nightly or install from source
|
||||
- DGX Spark: use `nvcr.io/nvidia/vllm:25.12.post1-py3`
|
||||
|
||||
### Install vLLM
|
||||
|
||||
```bash
|
||||
docker pull vllm/vllm-openai:nightly-8bff831f0aa239006f34b721e63e1340e3472067
|
||||
# or for DGX Spark:
|
||||
docker pull nvcr.io/nvidia/vllm:25.12.post1-py3
|
||||
```
|
||||
|
||||
## Launch command
|
||||
|
||||
```bash
|
||||
export VLLM_VIDEO_LOADER_BACKEND=opencv
|
||||
export CHECKPOINT_PATH="nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16"
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
python3 -m vllm.entrypoints.openai.api_server \
|
||||
--model ${CHECKPOINT_PATH} \
|
||||
--trust-remote-code \
|
||||
--media-io-kwargs '{"video": {"fps": 2, "num_frames": 128}}' \
|
||||
--max-model-len 131072 \
|
||||
--data-parallel-size 1 \
|
||||
--port 5566 \
|
||||
--allowed-local-media-path / \
|
||||
--video-pruning-rate 0.75 \
|
||||
--served-model-name "nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16"
|
||||
```
|
||||
|
||||
Flags:
|
||||
- `--max-model-len`: reduce for shorter contexts to save memory
|
||||
- `--allowed-local-media-path <root>`: limit local-file access
|
||||
- `--video-pruning-rate <0..1>`: EVS compression; higher prunes more video tokens
|
||||
|
||||
## Client Usage
|
||||
|
||||
Describe a video:
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI(base_url="http://localhost:5566/v1", api_key="<ignored>")
|
||||
completion = client.chat.completions.create(
|
||||
model="nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16",
|
||||
messages=[{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{"type": "text", "text": "Describe the video."},
|
||||
{"type": "video_url", "video_url": {"url": "file:///path/to/video.mp4"}},
|
||||
],
|
||||
}],
|
||||
)
|
||||
print(completion.choices[0].message.content)
|
||||
```
|
||||
|
||||
## Offline / LLM API
|
||||
|
||||
```python
|
||||
from vllm import LLM, SamplingParams
|
||||
|
||||
llm = LLM(
|
||||
"nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16",
|
||||
trust_remote_code=True,
|
||||
max_model_len=2**17,
|
||||
allowed_local_media_path="/",
|
||||
video_pruning_rate=0.75,
|
||||
media_io_kwargs=dict(video=dict(fps=2, num_frames=128)),
|
||||
)
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- Set `VLLM_VIDEO_LOADER_BACKEND=opencv` (required for video inputs).
|
||||
- OOM: lower `--max-model-len` or increase `--video-pruning-rate`.
|
||||
|
||||
## References
|
||||
|
||||
- [Nemotron-Nano-12B-v2-VL-BF16](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16)
|
||||
- [Nemotron-Nano-12B-v2-VL-FP8](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-FP8)
|
||||
- [Nemotron-Nano-12B-v2-VL-NVFP4-QAD](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-NVFP4-QAD)
|
||||
- [EVS paper](https://arxiv.org/abs/2510.14624)
|
||||
@@ -0,0 +1,156 @@
|
||||
meta:
|
||||
title: "NVIDIA Nemotron-Nano-9B-v2"
|
||||
slug: "nemotron-nano-9b-v2"
|
||||
provider: "NVIDIA"
|
||||
description: "NVIDIA Nemotron-Nano 9B (Mamba-hybrid dense) reasoning + tool-use model with FP8 / NVFP4 / Japanese variants"
|
||||
date_added: 2026-04-28
|
||||
date_updated: 2026-04-28
|
||||
tasks:
|
||||
- text
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
|
||||
- nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
b200: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-9B-v2"
|
||||
min_vllm_version: "0.10.1"
|
||||
architecture: dense
|
||||
parameter_count: "9B"
|
||||
active_parameters: "9B"
|
||||
context_length: 131072
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Custom Nemotron tool-call parser plugin (download: nemotron_toolcall_parser_no_streaming.py)"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-parser-plugin"
|
||||
- "nemotron_toolcall_parser_no_streaming.py"
|
||||
- "--tool-call-parser"
|
||||
- "nemotron_json"
|
||||
|
||||
opt_in_features: []
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 22
|
||||
description: "BF16 weights on 1 GPU"
|
||||
|
||||
fp8:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-9B-v2-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 11
|
||||
description: "FP8 weights"
|
||||
|
||||
nvfp4:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-9B-v2-NVFP4"
|
||||
precision: nvfp4
|
||||
vram_minimum_gb: 6
|
||||
description: "NVFP4 weights for Blackwell"
|
||||
|
||||
base:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-9B-v2-Base"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 22
|
||||
description: "Pre-RL base checkpoint (BF16)"
|
||||
|
||||
japanese:
|
||||
model_id: "nvidia/NVIDIA-Nemotron-Nano-9B-v2-Japanese"
|
||||
precision: bf16
|
||||
vram_minimum_gb: 22
|
||||
description: "Japanese-specialized fine-tune (BF16)"
|
||||
|
||||
redhat_fp8:
|
||||
model_id: "RedHatAI/NVIDIA-Nemotron-Nano-9B-v2-FP8-dynamic"
|
||||
precision: fp8
|
||||
label: "FP8 Dynamic (RedHat)"
|
||||
vram_minimum_gb: 11
|
||||
description: "RedHatAI FP8 (E4M3) with dynamic per-token activation quantization"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
- multi_node_tp_pp
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides: {}
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
Nemotron-Nano-9B-v2 is a 9B Mamba-hybrid dense reasoning model that runs on a single
|
||||
H100/H200/B200. Variants ship in BF16, FP8, and NVFP4; a Japanese-specialized
|
||||
fine-tune and a pre-RL Base checkpoint are also available.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Hardware: 1x H100/H200/B200 (or comparable)
|
||||
- vLLM >= 0.10.1 (`pip install -U vllm`)
|
||||
- Docker with NVIDIA Container Toolkit (recommended)
|
||||
|
||||
## Launch command
|
||||
|
||||
```bash
|
||||
wget https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2/resolve/main/nemotron_toolcall_parser_no_streaming.py
|
||||
|
||||
vllm serve nvidia/NVIDIA-Nemotron-Nano-9B-v2 \
|
||||
--trust-remote-code \
|
||||
--max-model-len 131072 \
|
||||
--tensor-parallel-size 1 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-parser-plugin nemotron_toolcall_parser_no_streaming.py \
|
||||
--tool-call-parser nemotron_json
|
||||
```
|
||||
|
||||
FP8:
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-Nano-9B-v2-FP8 \
|
||||
--trust-remote-code \
|
||||
--tensor-parallel-size 1
|
||||
```
|
||||
|
||||
NVFP4 (Blackwell only):
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/NVIDIA-Nemotron-Nano-9B-v2-NVFP4 \
|
||||
--trust-remote-code \
|
||||
--tensor-parallel-size 1
|
||||
```
|
||||
|
||||
## Benchmarking
|
||||
|
||||
```bash
|
||||
vllm bench serve \
|
||||
--model nvidia/NVIDIA-Nemotron-Nano-9B-v2 \
|
||||
--trust-remote-code \
|
||||
--dataset-name random \
|
||||
--random-input-len 1024 --random-output-len 1024 \
|
||||
--num-warmups 20 \
|
||||
--ignore-eos \
|
||||
--max-concurrency 256 \
|
||||
--num-prompts 1024
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- [Nemotron-Nano-9B-v2](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2)
|
||||
- [Nemotron-Nano-9B-v2-FP8](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2-FP8)
|
||||
- [Nemotron-Nano-9B-v2-NVFP4](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2-NVFP4)
|
||||
- [Nemotron-Nano-9B-v2-Base](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2-Base)
|
||||
- [Nemotron-Nano-9B-v2-Japanese](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-9B-v2-Japanese)
|
||||
@@ -0,0 +1,199 @@
|
||||
meta:
|
||||
title: "Nemotron-3-Nano-Omni-30B-A3B-Reasoning"
|
||||
slug: "nemotron-3-nano-omni-30b-a3b-reasoning"
|
||||
provider: "NVIDIA"
|
||||
description: "Mamba2-Transformer hybrid MoE omnimodal model (31B total / 3B active) with unified video, audio, image, and text understanding; reasoning + tool calling; BF16, FP8, and NVFP4 variants"
|
||||
date_added: 2026-04-28
|
||||
date_updated: 2026-04-29
|
||||
tasks:
|
||||
- multimodal
|
||||
- text
|
||||
related_recipes:
|
||||
- nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
|
||||
- nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16
|
||||
hardware:
|
||||
h100: verified
|
||||
h200: verified
|
||||
b200: verified
|
||||
|
||||
model:
|
||||
model_id: "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16"
|
||||
min_vllm_version: "0.20.0"
|
||||
install:
|
||||
pip:
|
||||
command: 'uv pip install "vllm[audio]==0.28.0"'
|
||||
note: "Pinned to 0.28.0 with the audio extra (required for audio + use_audio_in_video)."
|
||||
architecture: moe
|
||||
parameter_count: "31B"
|
||||
active_parameters: "3B"
|
||||
context_length: 262144
|
||||
base_args:
|
||||
- "--trust-remote-code"
|
||||
- "--max-model-len"
|
||||
- "131072"
|
||||
- "--media-io-kwargs"
|
||||
- '{"video": {"num_frames": 512, "fps": 1}}'
|
||||
- "--video-pruning-rate"
|
||||
- "0.5"
|
||||
base_env: {}
|
||||
|
||||
features:
|
||||
tool_calling:
|
||||
description: "Qwen3 Coder tool-call parser with automatic tool choice"
|
||||
args:
|
||||
- "--enable-auto-tool-choice"
|
||||
- "--tool-call-parser"
|
||||
- "qwen3_coder"
|
||||
reasoning:
|
||||
description: "Nemotron v3 reasoning parser (chain-of-thought with <think> tags)"
|
||||
args:
|
||||
- "--reasoning-parser"
|
||||
- "nemotron_v3"
|
||||
|
||||
opt_in_features: []
|
||||
|
||||
variants:
|
||||
default:
|
||||
precision: bf16
|
||||
vram_minimum_gb: 75
|
||||
description: "BF16 weights — full-precision reference"
|
||||
fp8:
|
||||
model_id: "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-FP8"
|
||||
precision: fp8
|
||||
vram_minimum_gb: 38
|
||||
description: "ModelOpt FP8 weights + FP8 KV cache"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
nvfp4:
|
||||
model_id: "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-NVFP4"
|
||||
precision: nvfp4
|
||||
vram_minimum_gb: 28
|
||||
description: "ModelOpt NVFP4 weights — Blackwell-only; smallest footprint"
|
||||
extra_args:
|
||||
- "--kv-cache-dtype"
|
||||
- "fp8"
|
||||
|
||||
compatible_strategies:
|
||||
- single_node_tp
|
||||
- multi_node_tp
|
||||
|
||||
kv_offload_support:
|
||||
offloading_cpu: verified
|
||||
offloading_fs: verified
|
||||
|
||||
hardware_overrides: {}
|
||||
|
||||
strategy_overrides: {}
|
||||
|
||||
guide: |
|
||||
## Overview
|
||||
|
||||
NVIDIA Nemotron-3-Nano-Omni-30B-A3B-Reasoning is a Mamba2-Transformer hybrid
|
||||
MoE omnimodal model (31B total / 3B active) that unifies video, audio, image,
|
||||
and text understanding. It is built on the Nemotron-3-Nano-30B-A3B LLM
|
||||
backbone with a CRADIO v4-H vision encoder and a Parakeet speech encoder, and
|
||||
ships in BF16, ModelOpt FP8, and ModelOpt NVFP4 variants.
|
||||
|
||||
Capabilities:
|
||||
- Video (mp4, up to 2 minutes, sampled at 1–2 FPS / 128–256 frames)
|
||||
- Audio (wav, mp3, up to 1 hour, ≥8 kHz)
|
||||
- Image (jpeg, png)
|
||||
- Text (English, up to 256K context)
|
||||
- Reasoning with chain-of-thought (`<think>` tags)
|
||||
- Tool calling
|
||||
- Word-level timestamps for transcription
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- vLLM **0.28.0** (pinned: `pip install vllm[audio]==0.28.0`,
|
||||
or pull `vllm/vllm-openai:v0.28.0`)
|
||||
- Hardware: 1× B200 / H200 / H100 (single-GPU TP1 is the documented profile)
|
||||
- The `audio` extra is required for any audio input, including
|
||||
`use_audio_in_video=true`
|
||||
|
||||
### Pull the Docker image
|
||||
|
||||
```bash
|
||||
# CUDA 13:
|
||||
docker pull vllm/vllm-openai:v0.28.0
|
||||
# CUDA 12.9:
|
||||
docker pull vllm/vllm-openai:v0.28.0-cu129
|
||||
```
|
||||
|
||||
## Launch command
|
||||
|
||||
General single-GPU invocation (B200 / H200 / H100):
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16 \
|
||||
--served-model-name nemotron \
|
||||
--host 0.0.0.0 \
|
||||
--port 5000 \
|
||||
--tensor-parallel-size 1 \
|
||||
--max-model-len 131072 \
|
||||
--trust-remote-code \
|
||||
--video-pruning-rate 0.5 \
|
||||
--media-io-kwargs '{"video": {"num_frames": 512, "fps": 1}}' \
|
||||
--reasoning-parser nemotron_v3 \
|
||||
--enable-auto-tool-choice \
|
||||
--tool-call-parser qwen3_coder
|
||||
```
|
||||
|
||||
Swap the model id for the FP8 or NVFP4 checkpoint and add `--kv-cache-dtype fp8`:
|
||||
|
||||
```bash
|
||||
vllm serve nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-NVFP4 \
|
||||
--kv-cache-dtype fp8 \
|
||||
...
|
||||
```
|
||||
|
||||
### Platform-specific notes
|
||||
|
||||
- **RTX Pro:** append `--moe-backend triton` (FlashInfer + RTX Pro bug).
|
||||
- **NVFP4 + TP>1:** append `--moe-backend flashinfer_cutlass` (TRTLLM_GEN MoE
|
||||
kernel bug at TP>1 on NVFP4).
|
||||
- **DGX Spark (aarch64):** unified LPDDR5X memory; lower
|
||||
`--gpu-memory-utilization` to 0.70 and reduce `--max-model-len` (e.g. 32768)
|
||||
if you hit OOM. Use `--max-num-seqs 8`.
|
||||
|
||||
## Recommended sampling
|
||||
|
||||
| Mode | temperature | top_p | top_k | max_tokens | reasoning_budget |
|
||||
|------|------------:|------:|------:|-----------:|------------------:|
|
||||
| Thinking | 0.6 | 0.95 | — | 20480 | 16384 |
|
||||
| Instruct | 0.2 | — | 1 | 1024 | — |
|
||||
|
||||
Toggle thinking mode via `chat_template_kwargs={"enable_thinking": true}`
|
||||
(default) or `false` to disable.
|
||||
|
||||
## Client usage
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
client = OpenAI(base_url="http://localhost:8000/v1", api_key="")
|
||||
resp = client.chat.completions.create(
|
||||
model="nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-NVFP4",
|
||||
messages=[{"role": "user", "content": "Hello!"}],
|
||||
extra_body={"chat_template_kwargs": {"enable_thinking": True}},
|
||||
)
|
||||
```
|
||||
|
||||
## Benchmarking
|
||||
|
||||
```bash
|
||||
vllm bench serve \
|
||||
--model nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-FP8 \
|
||||
--trust-remote-code \
|
||||
--dataset-name random \
|
||||
--random-input-len 1024 --random-output-len 1024 \
|
||||
--num-warmups 20 --ignore-eos \
|
||||
--max-concurrency 1024 --num-prompts 2048
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- [BF16 model card](https://huggingface.co/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16)
|
||||
- [FP8 model card](https://huggingface.co/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-FP8)
|
||||
- [NVFP4 model card](https://huggingface.co/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-NVFP4)
|
||||
- [Nemotron 3 Nano LLM backbone](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16)
|
||||
Reference in New Issue
Block a user