Skip to content

GB10: Nemotron-3.5-Lightning-30B-A3B NVFP4 refused at boot on main (5 unresolved qwen3_attention kernel lookups) #87

Closed

Description

@AzeezIsh

Found by: reiner job 297 (GB10), while checking the merge train's MoE change against other MoE models. It is pre-existing: main66 (5b07b9534, all-targets build) and the merge-train tree behave identically.

Symptom. spark serve nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4 is refused at boot by the kernel gate:

Error: 5 unresolved kernel lookup(s) for (nemotron-3.5-lightning-30b-a3b, sm_121, nvfp4). Each one resolved to handle 0, so its dispatch site is on a silent fallback path:
  1. norm::rms_norm_offset_warp_row  at crates/spark-model/src/layers/qwen3_attention/init.rs:223  [SHADOW-DROPPED: common/ defines it, this target's kernel file shadows common/ without it]
  2. w4a16_gemv_dp4a::quantize_act_int8_g16_batch4_d4  at qwen3_attention/init.rs:488
  3. w4a16_gemv_dp4a::w4a16_gemv_dp4a_batch4_d4       at qwen3_attention/init.rs:493
  4. w4a16_gemv_dp4a::w4a16_gemv_dp4a_batch4_d4_os    at qwen3_attention/init.rs:498
  5. w8a16_gemm_n_m128::w8a16_gemm_n_m128             at qwen3_attention/init.rs:192

The shipped recipe @atlas/nemotron-3.5-lightning-30b-a3b-nvfp4-dspark does not pass --dangerously-allow-unresolved-kernel-lookups, so on current main the recipe does not boot. The model is in the support matrix; the Lightning + DSpark port is 0775521.

Where the lookups came from. All five are shared qwen3_attention::init lookups that landed after the Lightning port:

  • 1c658b6e5: offset-convention warp_row RMS norm;
  • 32b272129 / c467b905e: the DP4A W4A8 M=4 verify route;
  • f2ec96d5c: w8a16_gemm_n_m128.

This target's kernel files shadow common/ without them.

Fix direction. Per the gate's own guidance, each lookup needs one of these:

Which one is right depends on whether Nemotron's attention layers ever take these dispatches. For example, the DP4A route only fires for NVFP4 attention at M=4, and DSpark γ=4 verify is exactly M=4. That needs checking per lookup, not a blanket expected_absent.

Also worth doing: run the serve matrix (tests/run_all_models.py) or a --check-kernels sweep over every target. Other shadowing targets may have the same break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions