Repository navigation
feat: Nemotron 3.5 Super VL 120B-A12B NVFP4 + LiLiCorr drafter (GB10, Strix Halo Windows/Linux) - #175
Merged
Merged
Conversation
AzeezIsh
force-pushed
the
feat/nemotron-3.5-super-vl
branch
from
October 15, 2026 18:19
11617c1 to
b96873d
Compare
… Strix Halo Windows/Linux)
Adds nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 (nemotron_h_omni) with NVIDIA's
LiLiCorr DFlash drafter (nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4-LiLiCorr):
- gb10 target nemotron-3.5-super-vl-120b-a12b (kernel_source: puzzle tree), C-RADIO vision,
native FP8 attention, union-table MoE verify GEMV, lossless DFlash verify (per-row tool-call
gate, first-index greedy tie-break, serial/verify EOS parity)
- strix-hip target (gfx1151, text-only) with its HIP kernel overlay; HIP-only host paths gated
on cfg!(atlas_hip); Windows slab loader
- scripts/serve-nemotron-{gb10.sh,amd.ps1,strix-linux.sh}: one-command serve per platform with
--spec off|g3|g8 and a --check golden gate
- README model matrix and site family map
Verified (single sequence, 32K context, atlas mode):
- GB10: ST-995 88.04 (g8 == spec-off 995/995), MLPerf agentic 0.609, decode 18.6 / ~28 tok/s
off / g8
- Strix Halo, Windows: ST-995 88.14 off and g8, agentic 0.611, 18.4 / 27.5 tok/s
- Strix Halo, Linux (ROCm 7.13): ST-995 88.14 off and g8, goldens identical to Windows,
17.8 / 28.1 tok/s
- Public LiLiCorr drafter (8 KV heads, SWA 8192): --check g8 PASS 3/3 on GB10 and Linux
Known limit: the drafter's 37M LiLiCorr correlation head is not implemented yet; drafts use the
drafter's argmax (~1.5x over spec-off, vs NVIDIA's reported 4.74 accepted tokens/step).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
AzeezIsh
force-pushed
the
feat/nemotron-3.5-super-vl
branch
from
October 15, 2026 18:34
b96873d to
ad1decd
Compare
AzeezIsh
added a commit
that referenced
this pull request
Oct 16, 2026
… qwen3.8-flash-next TP=2 Conflicts resolved per policy: union of both features — Nemotron VL loader/VisionTower/DFlash own-head + LiLiCorr drafter (#175) and the qwen4_exp/RC16 + GLM infrastructure (#174). Both sides' first-wins greedy tie rule kept as one implementation (argmax_first_wins_f32 plus main's retained-for-tests argmax_last_wins_f32). Same-site decision logic that diverged is marked MERGE-REVIEW: end_token/EndToken vs eos_policy::evaluate (emit_step, decode_logits_step), fast_greedy::pick_row paths vs explicit penalty_params_for+sample_token_with_grammar (mtp_step, mtp_bootstrap_step), dflash_seq_uses_raw_argmax policy strength + fast_masked's per-row penalty gate (helpers.rs, fast_masked.rs). Auto-merge fallout fixed: strix-hip/common symlink pairs (moe_expert_gemv.cu, rms_norm.cu) — nemotron strix-hip shadows gained the blend_rows/f32_grouped kernels their common namesakes declare (kernel_shadow_detector); file-size-cap allow-list entries for the eleven files that crossed 500 only in the merged tree or were already over on main; VisionConfig gained omni + GLM fields on every construction site; load_vision_encoder returns VisionTower everywhere; the merged SafetensorsLoader::should_skip_tensor lives once in weights/skip.rs with both sides' prefixes. Devin-Generated-By: Devin AI
AzeezIsh
added a commit
that referenced
this pull request
Oct 16, 2026
…rap, per-row DFlash gate) - EOS: keep #174's think_commit::end_token/EndToken (same suppressor set as eos_policy::evaluate plus per-row position and GLM native EOS). Deleted eos_policy.rs. #174's emit path now undoes post_think_emitted for a suppressed EOS so emit matches serial (which never records it); thinking_tokens stays advanced on both paths, matching serial's advance_thinking ordering. New parity tests cover the post-think guard, the >=16-content stop, and bare tool_request not arming the guard. - MTP bootstrap: keep #174's bootstrap::bootstrap_one / raw_argmax_is_pick + fast_greedy::pick_row; #175's pen-vector path covered nothing pick_row does not already gate (grammar legality, logit_bias, penalties). - DFlash raw-argmax + fast_masked gates: take #175's per-row fast_gate_over_rows(a, argmax_ids) — a mid-block </tool_call> changes later rows' params (BFCL parallel_multiple_78). Kept #174's verify_logits_argmax_only early return and model param. The slow-path inside_tool_body mirroring is already subsumed by SpanShadow. - verify_pipeline_helper: #175's base->main changes verified against selection::select — logit_bias via verify_penalty_params (present); per-row fast gates (now ported at both sites); tool-state mirroring (subsumed by SpanShadow::pick). - strix-hip nemotron shadows: reverted the local HIP ports to main's bytes; added [shadow_exempt] for the qwen4exp-only optional loads (moe_weighted_sum_blend_rows, rms_norm_f32_grouped), same pattern as 6b40072. Devin-Generated-By: Devin AI
2 of 3 tasks
AzeezIsh
added a commit
that referenced
this pull request
Oct 16, 2026
…ixes 27B/35B NVFP4 garbage since #175) (#179) #175 frees the BF16 lm_head whenever an NVFP4 head exists. On checkpoints that ship the head pre-packed (nvidia/Qwen3.8-27B-NVFP4, nvidia/Qwen3.6-35B-A3B-NVFP4) that buffer IS the live NVFP4 head, so every logits producer read freed memory: all-equal logits, "!" / ascending-ASCII output; Qwen3.6-35B-A3B crashed with CUDA_ERROR_ILLEGAL_ADDRESS on the TP=2 branch. Free only when the head was quantized out of the BF16 buffer into its own (Nemotron VL keeps the saving) and the head is not the tied embedding. Generated with [Devin](https://devin.ai) Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
9 of 11 tasks
Contributor
Author
|
Heads-up: since this merged, main produced garbage on nvidia/Qwen3.8-27B-NVFP4 and nvidia/Qwen3.6-35B-A3B-NVFP4 (all-equal logits, so |
This was referenced Oct 16, 2026
AzeezIsh
pushed a commit
that referenced
this pull request
Nov 1, 2026
On the vocab-split head every DFlash verify row was the raw argmax (`dflash_seq_uses_raw_argmax` always takes the raw path on an argmax-only head): a sampled request (GLM's default is temperature 1.0, top_p 0.95) verified its drafts against the greedy pick, and penalties, logit bias and grammars never reached a speculated row. When the head can sample (`Model::verify_split_sampling`), a sequence whose pick is not provably the raw argmax (`dflash_seq_uses_split_rows`: sampled, or anything the raw-argmax policy sends to the pipeline; not a strict greedy grammar, which `strict_spec` masks on the device) now picks its rows through `split_verify_picks`, before the verdict word: - a sampled row whose pipeline only touches the think/tool special tokens (no grammar, neutral penalties and bias, nothing forced, no loop steer, no F2 sums) samples the ranks' candidates through the same pipeline and sampler (`pick_processed` + `sample_with_absent`); - every other row, and a candidates row that does not decide its pick, fetches the rows whole and runs the ordinary `verify_pick_with_pipeline` (grammar bitmask with the speculative matcher advance, penalties, bias, forced tokens, think/tool scheduling). Rows are picked in order through `span_picks` (the slow path's span loop, factored out unchanged) and stop at the first that rejects its draft, so a sampled row accepts its draft exactly while its sample matches it; the accept count is the plain prefix, as the span already applied the thinking budget's boundary per row. A sampled request on a split head that cannot sample is refused before any worker command (`split_head::ensure_available`, at the single and owner-batched entry points), and a failed exchange aborts the request (and terminates an EP rank, whose protocol state is uncertain); an owner group stops at a failed tail. Other models' verify paths, and greedy neutral sequences on the split head, are unchanged. Ported from Enntity/atlas f4d95a1 (SparkGLM 0.2.0): split_rows.rs, pick_processed, span_picks, dflash_seq_uses_split_rows, the split_head admission, the TestModel's scripted split head, and the split_rows, split_head and masked_path tests. Adapted to this base: the raw-argmax policy keeps its per-row penalty gate (#175) and its greedy-by-design treatment of sampled requests on full-logits heads, so the split head's sampled case is added in `dflash_seq_uses_split_rows` only; split-head logprobs (production's `scored`) are not part of this change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds NVIDIA Nemotron 3.5 Super VL 120B-A12B NVFP4 (
nemotron_h_omni) with NVIDIA's LiLiCorr DFlash drafter, on DGX Spark (GB10) and Strix Halo (Windows and Linux).Model:
nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4· Drafter:nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4-LiLiCorrWhat's in it
nemotron-3.5-super-vl-120b-a12b, using the puzzle kernel tree askernel_source. It includes:cfg!(atlas_hip); the Windows slab loader is included.scripts/serve-nemotron-gb10.sh,scripts/serve-nemotron-amd.ps1andscripts/serve-nemotron-strix-linux.shserve each platform with one command. They take--spec off|g3|g8(default g8) and have a--checkgolden gate.Verified
Single sequence, 32K context, atlas mode.
The public LiLiCorr drafter has 8 KV heads and an 8192-token sliding window; the pre-release one had 2 KV heads and full attention. With the public drafter,
--checkat g8 passes 3/3 on both GB10 and Linux.Known limits
🤖 Generated with Claude Code