[NPU]kimi k2 thinking bugfix (#19387)
Co-authored-by: sglang-npu-bot <sglangnpu@163.com>
This commit is contained in:
@@ -292,6 +292,7 @@ class FusedMoE(torch.nn.Module):
|
||||
else self.weight_loader_fused
|
||||
),
|
||||
with_bias=with_bias,
|
||||
moe_intermediate_size=intermediate_size,
|
||||
)
|
||||
|
||||
self.quant_method.create_moe_runner(self, self.moe_runner_config)
|
||||
|
||||
@@ -503,7 +503,7 @@ class NPUCompressedTensorsW4A16Int4DynamicMoE(CompressedTensorsMoEScheme):
|
||||
self.num_experts = num_experts
|
||||
if (
|
||||
extra_weight_attrs.get(
|
||||
"intermediate_size_full", intermediate_size_per_partition
|
||||
"moe_intermediate_size", intermediate_size_per_partition
|
||||
)
|
||||
// intermediate_size_per_partition
|
||||
> 1
|
||||
|
||||
Reference in New Issue
Block a user