Skip to content

Commit

Permalink
[Bugfix] Fix weight loading issue by rename variable. (vllm-project#8293
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wenxcs authored Sep 12, 2024
1 parent 194fd93 commit ff73c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/models/phimoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def load_weights(self, weights: Iterable[Tuple[str, torch.Tensor]]):
weight_loader(
param,
loaded_weight,
weight_name,
name,
shard_id=shard_id,
expert_id=expert_id,
)
Expand Down

0 comments on commit ff73c9d

Please sign in to comment.