[CI] Bump huggingface-hub from v1.10.2 to v1.22.0 (#47551)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-07-04 07:45:45 -07:00
committed by GitHub
parent 1d354c694e
commit f1445f6dbd
25 changed files with 49 additions and 45 deletions
+5 -4
View File
@@ -229,10 +229,11 @@ def get_model_path(model: str | Path, revision: str | None = None):
if os.path.exists(model):
return model
assert huggingface_hub.constants.HF_HUB_OFFLINE
common_kwargs = {
"local_files_only": huggingface_hub.constants.HF_HUB_OFFLINE,
"revision": revision,
}
common_kwargs = dict(
local_files_only=huggingface_hub.constants.HF_HUB_OFFLINE,
ignore_patterns="*",
revision=revision,
)
if envs.VLLM_USE_MODELSCOPE:
from modelscope.hub.snapshot_download import snapshot_download