Unverified Commit 15436806 authored by alexm-nm's avatar alexm-nm Committed by GitHub
Browse files

[Bugfix] Ensure download_weights_from_hf(..) inside loader is using the revision parameter (#4217)

parent 077f0a2e
......@@ -172,7 +172,7 @@ class DefaultModelLoader(BaseModelLoader):
if not is_local:
hf_folder = download_weights_from_hf(model_name_or_path,
self.load_config.download_dir,
allow_patterns)
allow_patterns, revision)
else:
hf_folder = model_name_or_path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment