Skip to content

Load plan refuses MiniMax-M3 NVFP4 MegaMoE under EP > 1 (1/x global-scale fallbacks write nothing on non-owning ranks) #10

Open

Description

@hao-aaron

Found while auditing vllm-project#65254 (job 46624). It reproduces on main with P1 (vllm-project#65235) alone.

With MiniMax-M3 NVFP4 on DeepGEMM MegaMoE and EP > 1, plan_loads refuses the model at the first update:

  • The loader's _mega_moe_expert_weight (vllm/models/minimax_m3/nvidia/model.py) turns each expert's weight_global_scale into 1 / x, so these names are fallbacks.
  • On a rank that doesn't hold that expert, the fallback writes nothing.
  • The plan rejects fallback names that write nothing on their own (about 10944 names per rank).

Possible fixes:

  • P1: don't treat a fallback as writing nothing when it targets an expert this rank doesn't hold.
  • The loader: copy the scale as is and take the reciprocal in post-load processing, so the name is direct.

Tracked as a limitation in vllm-project#64418.

Activity

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