[Bugfix][MoE] Keep the gate's hash_indices_table out of RoutedExperts parameters (#61930)

Signed-off-by: khluu <khluu000@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin H. Luu
2026-10-15 18:00:17 -07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent bee95149e2
commit a956a8126e
2 changed files with 3 additions and 4 deletions
@@ -439,8 +439,6 @@ def FusedMoEFactory(
hash_indices_table=hash_indices_table,
**routed_experts_args if routed_experts_args is not None else {},
)
if hash_indices_table is not None:
object.__setattr__(routed_experts, "hash_indices_table", hash_indices_table)
if runner_cls is None:
runner_cls = MoERunner