mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-24 01:29:57 +08:00
[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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user