[Refactor] Optimize select_experts (#28069)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2025-11-19 18:53:15 -05:00
committed by GitHub
parent 3aaa94ac99
commit 5031cd5d55
5 changed files with 7 additions and 15 deletions

View File

@@ -118,7 +118,7 @@ class FlashConfig(PretrainedConfig):
router_dtype="float32",
router_bias=False,
topk_method=None,
routed_scaling_factor=None,
routed_scaling_factor=1.0,
zero_expert_num=0,
zero_expert_type=None,
nextn_use_scmoe=False,