[Feat] Add EPLB support for GLM-5.3-Flash (#55119)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Signed-off-by: Jared Wen <jaredwen@inferact.ai>
Co-authored-by: Jared Wen <jaredwen@inferact.ai>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Chauncey
2026-09-05 05:28:33 +00:00
committed by GitHub
co-authored by Jared Wen Claude Fable 5.1
parent e962733e08
commit 8369affa54
2 changed files with 69 additions and 9 deletions
+1
View File
@@ -303,6 +303,7 @@ class Glm5NextMTP(nn.Module, DeepseekV2MixtureOfExperts):
ckpt_down_proj_name="down_proj",
ckpt_up_proj_name="up_proj",
num_experts=self.config.n_routed_experts,
num_redundant_experts=self.num_redundant_experts,
)
params_dict = dict(self.named_parameters())