Skip to content

GB10: current nvidia/Qwen3.6-35B-A3B-NVFP4 revision fails to load (MIXED_PRECISION pack misread as FP8; NVFP4 shared_expert) #88

Closed

Description

@AzeezIsh

Found by: reiner job 297 (GB10). It is pre-existing: main66 (5b07b9534, all-targets build) and the merge-train tree behave identically.

Symptom. The current HF revision of nvidia/Qwen3.6-35B-A3B-NVFP4 (snapshot 1355db6a052410cfd62085d94b58866fd0f2c3c5, downloaded 2026-09-26) fails to load:

INFO spark_model::weight_loader::qwen35::load_layers: Weight format: Fp8BlockScaled, NVFP4 variant: Fp8Dequanted, quant_format: Fp8
INFO spark_model::weight_loader::qwen35::load_layers: FP8: skipping NVFP4 routed experts (FP8 fused MoE batch1/2/3 handles all dispatch)
Error: Failed to build model
Caused by:
    Expected FP8E4M3 for model.language_model.layers.0.mlp.shared_expert.gate_proj.weight, got UInt8

Cause (from the checkpoint). hf_quant_config.json is modelopt MIXED_PRECISION:

  • linear_attn.* and self_attn.* are FP8;
  • mlp.experts and mlp.shared_expert.{gate,up,down}_proj are W4A16_NVFP4 (group 16);
  • config.json carries a compressed-tensors quantization_config whose FP8 group lists only the attention projections.

The qwen35 loader classifies the whole checkpoint as Fp8BlockScaled, skips the NVFP4 routed experts, and then expects FP8 for the shared expert.

The recipe @atlas/qwen3.6-35b-a3b-nvfp4 serves this repo id unpinned, so a fresh pull of the recipe does not boot.

Fix direction. Make the loader honour modelopt's per-layer quantized_layers map for qwen3_5_moe (FP8 attention, NVFP4 experts and NVFP4 shared expert), the way the nvidia 27B mixed-precision pack is already served (FP8 linear_attn/self_attn, NVFP4 MLP). Alternatively, pin the recipe to the revision it was validated on until the loader handles the mixed map.

Activity

  1. added a commit that references this issue on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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