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
)

Signed-off-by: Alvant <alvasian@yandex.ru>
  • Loading branch information
wenxcs authored and Alvant committed Oct 26, 2024
1 parent c4a0d45 commit f06e1b2
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 f06e1b2

Please sign in to comment.