Skip to content

Commit

Permalink
Update vllm/model_executor/model_loader/loader.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Mo <simon.mo@hey.com>
Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com>
  • Loading branch information
LucasWilkinson and simon-mo committed Jan 31, 2025
1 parent 1621381 commit e144da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/model_loader/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def load_model(self, vllm_config: VllmConfig) -> nn.Module:
hasattr(module, "process_weights_after_loading"):
# When attention modules need to process weights after
# currently only used by MLA
module.process_weights_after_loading()
module.process_weights_after_loading(model_config.dtype)
return model.eval()


Expand Down

0 comments on commit e144da8

Please sign in to comment.