Unverified Commit a480939e authored by Wenxiang's avatar Wenxiang Committed by GitHub
Browse files

[Bugfix] Fix weight loading issue by rename variable. (#8293)

parent d31174a4
...@@ -600,7 +600,7 @@ class PhiMoEForCausalLM(nn.Module, SupportsLoRA): ...@@ -600,7 +600,7 @@ class PhiMoEForCausalLM(nn.Module, SupportsLoRA):
weight_loader( weight_loader(
param, param,
loaded_weight, loaded_weight,
weight_name, name,
shard_id=shard_id, shard_id=shard_id,
expert_id=expert_id, expert_id=expert_id,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment