[Feature] Support redundant expert for eplb (#5918)

* [BugFix] support redundant expert for eplb

* support redundant expert for eplb

* support redundant expert for eplb

* update

* fix ci eplb
This commit is contained in:
xiaoxiaohehe001
2026-01-09 17:13:24 +08:00
committed by GitHub
parent e6cdea4492
commit 00a01ae024
11 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -460,7 +460,7 @@ def test_eprunner_moe_select_redundant_and_topk(monkeypatch):
top_k=2,
routed_scaling_factor=1.0,
gate_correction_bias=None,
fd_config=SimpleNamespace(model_config=SimpleNamespace(redundant_experts_num=0)),
fd_config=SimpleNamespace(eplb_config=SimpleNamespace(redundant_experts_num=0)),
)
gate_out = paddle.randn([1, 4], dtype="float32")