Skip to content

[BUG] BailingMoe shared experts are still ungrouped: down_proj is in the same subset as gate/up (incomplete fix of #4175) #4325

Closed

Description

@Qubitium

Severity: low (quality loss, not corruption). Status: confirmed at the plan level; no quantization was run. Kind: incomplete fix of #4175 (5c39759 did not touch bailing_moe.py).

Where

gptqmodel/models/definitions/bailing_moe.py:54: "shared_experts": ("gate_proj", "up_proj", "down_proj"), with no group ids.

Repro

BailingMoeQModel.simple_layer_modules on the Ling-mini-2.0 config produces the subset ['mlp.shared_experts.gate_proj', 'mlp.shared_experts.up_proj', 'mlp.shared_experts.down_proj'] for both GPTQ and AWQ. The routed experts and the dense MLP are correctly split into :0 / :1.

Effect: down_proj is quantized alongside gate/up, using inputs captured before gate/up are quantized. With AWQ, it is also scaled in the same group.

Expected: ("gate_proj:0", "up_proj:0", "down_proj:1").


Found during an AI-assisted review (Claude Code, round 11) of 842d666; repros were run at that commit on RTX 4090/5090 (CUDA 13) and/or Radeon AI PRO R9700 (ROCm) unless marked static/suspected.

Activity

  1. added
    bug
    on Nov 16, 2026
  2. Qubitium commented on Nov 16, 2026

    @Qubitium
    CollaboratorAuthor

    Taking this. I'll investigate against current main, add a targeted regression test, and open a PR. Will report back here if the claim turns out to be invalid or already fixed.

  3. self-assigned this
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions