Skip to content

Add NVIDIA Nemotron 3.5 Lightning - #736

Draft
faradawn wants to merge 1 commit into
vllm-project:mainfrom
faradawn:nemotron-3.5-nano-h100-spark-nvfp4
Draft

Add NVIDIA Nemotron 3.5 Lightning#736
faradawn wants to merge 1 commit into
vllm-project:mainfrom
faradawn:nemotron-3.5-nano-h100-spark-nvfp4

Conversation

@faradawn

@faradawn faradawn commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Adds a recipe for NVIDIA Nemotron 3.5 Lightning covering the NVFP4 (W4A4) and BF16 checkpoints on H100, GB200 and DGX Spark, with MTP and DFlash speculative decoding modes and the FlashInfer Mamba cache flags the model requires. Draft until the checkpoints are public on Hugging Face.

Signed-off-by: Faradawn Yang <73060648+faradawn@users.noreply.github.com>
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vllm-recipes Ready Ready Preview Aug 4, 2026 5:05am

Request Review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new configuration file for the NVIDIA Nemotron 3.5 Lightning model, defining its metadata, hardware requirements, features, and deployment guides. The review feedback highlights several critical configuration errors that would cause vLLM to fail at startup. Specifically, the tool_calling configuration references a non-existent qwen3_coder parser and should be removed. Additionally, the Mamba cache argument --mamba-ssm-cache-dtype needs to be corrected to --mamba-cache-dtype across the features and guide sections, and the speculative decoding configuration for the external draft model must use the correct vLLM parameters (draft and draft_model instead of dflash and model).

Comment on lines +36 to +41
tool_calling:
description: "Qwen3 Coder tool-call parser with automatic tool choice"
args:
- "--enable-auto-tool-choice"
- "--tool-call-parser"
- "qwen3_coder"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The tool_calling configuration appears to be a copy-paste error from a Qwen-based recipe. There is no qwen3_coder tool-call parser in vLLM (and Qwen 3 is not a released model generation). Since Nemotron 3.5 Lightning does not use this parser, this block should be removed to prevent vLLM from failing to start due to an invalid --tool-call-parser argument.

Comment on lines +46 to +47
- "--mamba-ssm-cache-dtype"
- "float16"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

In vLLM, the argument to set the Mamba cache data type is --mamba-cache-dtype, not --mamba-ssm-cache-dtype. Using --mamba-ssm-cache-dtype will result in an unrecognized argument error.

      - "--mamba-cache-dtype"
      - "float16"

Comment on lines +67 to +68
- "--speculative-config"
- '{"method":"dflash","model":"nvidia/DFlash-Nemotron-3.5-Nano-MOPD-Intermediate","num_speculative_tokens":3,"attention_backend":"FLASHINFER"}'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

In vLLM, the speculative decoding method for an external draft model is "draft" (not "dflash"), and the parameter to specify the draft model is "draft_model" (not "model"). Please update the speculative config JSON to use the correct method and parameter names.

          - "--speculative-config"
          - '{"method":"draft","draft_model":"nvidia/DFlash-Nemotron-3.5-Nano-MOPD-Intermediate","num_speculative_tokens":3,"attention_backend":"FLASHINFER"}'

--kv-cache-dtype fp8 \
--mamba-backend flashinfer \
--mamba-cache-mode align \
--mamba-ssm-cache-dtype float16 \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Update --mamba-ssm-cache-dtype to --mamba-cache-dtype to match the correct vLLM argument name.

    --mamba-cache-dtype float16 \

--kv-cache-dtype fp8 \
--mamba-backend flashinfer \
--mamba-cache-mode align \
--mamba-ssm-cache-dtype float16 \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Update --mamba-ssm-cache-dtype to --mamba-cache-dtype to match the correct vLLM argument name.

    --mamba-cache-dtype float16 \

Key flags:
- `--mamba-backend flashinfer` — required; the default backend has no kernel for this stack
- `--mamba-cache-mode align` — aligned Mamba state cache, needed for prefix caching
- `--mamba-ssm-cache-dtype float16` with stochastic rounding trades a little accuracy for decode speed; drop all three flags for the FP32 default

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Update --mamba-ssm-cache-dtype to --mamba-cache-dtype in the explanation text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant