Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit a480939

Browse files
authored
[Bugfix] Fix weight loading issue by rename variable. (vllm-project#8293)
1 parent d31174a commit a480939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/phimoe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def load_weights(self, weights: Iterable[Tuple[str, torch.Tensor]]):
600600
weight_loader(
601601
param,
602602
loaded_weight,
603-
weight_name,
603+
name,
604604
shard_id=shard_id,
605605
expert_id=expert_id,
606606
)

0 commit comments

Comments
 (0)