Skip to content

Commit 1543680

Browse files
authored
[Bugfix] Ensure download_weights_from_hf(..) inside loader is using the revision parameter (#4217)
1 parent 077f0a2 commit 1543680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/model_loader/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _prepare_weights(self, model_name_or_path: str,
172172
if not is_local:
173173
hf_folder = download_weights_from_hf(model_name_or_path,
174174
self.load_config.download_dir,
175-
allow_patterns)
175+
allow_patterns, revision)
176176
else:
177177
hf_folder = model_name_or_path
178178

0 commit comments

Comments
 (0)