[Bugfix] Fix Intern-S1 FP8 expert count lookup (#28629)
This commit is contained in:
@@ -211,7 +211,7 @@ class InternS1ForConditionalGeneration(nn.Module):
|
||||
ckpt_gate_proj_name="gate_proj",
|
||||
ckpt_down_proj_name="down_proj",
|
||||
ckpt_up_proj_name="up_proj",
|
||||
num_experts=self.config.num_experts,
|
||||
num_experts=self.config.text_config.num_experts,
|
||||
)
|
||||
|
||||
params_dict = dict(self.named_parameters())
|
||||
|
||||
Reference in New Issue
Block a user