[BUGFIX][DEEPSEEK][MODEL_LOAD] fix w13, w2 weight not initialized assert (#20202)

Signed-off-by: Chendi Xue <chendi.xue@intel.com>
This commit is contained in:
Chendi.Xue 2025-06-29 21:46:19 -05:00 committed by GitHub
parent 65b1cbb138
commit 5a52f389dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -889,6 +889,7 @@ class DeepseekV2ForCausalLM(nn.Module, SupportsPP, MixtureOfExperts):
expert_id=expert_id,
return_success=True)
if success:
name = name_mapped
break
else:
if is_expert_weight: