mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-04 12:49:08 +08:00
[Bugfix] Ensure download_weights_from_hf(..) inside loader is using the revision parameter (#4217)
This commit is contained in:
parent
077f0a2e8a
commit
1543680691
@ -172,7 +172,7 @@ class DefaultModelLoader(BaseModelLoader):
|
|||||||
if not is_local:
|
if not is_local:
|
||||||
hf_folder = download_weights_from_hf(model_name_or_path,
|
hf_folder = download_weights_from_hf(model_name_or_path,
|
||||||
self.load_config.download_dir,
|
self.load_config.download_dir,
|
||||||
allow_patterns)
|
allow_patterns, revision)
|
||||||
else:
|
else:
|
||||||
hf_folder = model_name_or_path
|
hf_folder = model_name_or_path
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user