Resolve revision to commit_hash once per model load, via huggingface_hub's resolve_revision (#49990)

Signed-off-by: Wauplin <lucainp@gmail.com>
Signed-off-by: Lucain <lucainp@gmail.com>
Signed-off-by: Lucain Pouget <lucain@huggingface.co>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Lucain
2026-08-05 13:49:56 +00:00
committed by GitHub
co-authored by OpenAI Codex Claude Opus 5 Harry Mellor
parent a9b39d6dcb
commit 397094da17
9 changed files with 84 additions and 6 deletions
+2 -1
View File
@@ -341,8 +341,9 @@ httpx==0.27.2
# schemathesis
httpx-sse==0.4.3
# via mcp
huggingface-hub==1.22.0
huggingface-hub==1.26.0
# via
# -r requirements/test/../common.txt
# accelerate
# datasets
# evaluate
+3 -1
View File
@@ -360,8 +360,10 @@ httpx==0.27.2
# schemathesis
httpx-sse==0.4.3
# via mcp
huggingface-hub==1.22.0
huggingface-hub==1.26.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
# accelerate
# datasets
# evaluate
+3 -1
View File
@@ -351,8 +351,10 @@ httpx==0.27.2
# schemathesis
httpx-sse==0.4.3
# via mcp
huggingface-hub==1.22.0
huggingface-hub==1.26.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
# accelerate
# datasets
# evaluate
+3 -1
View File
@@ -224,8 +224,10 @@ httpx==0.28.1
# schemathesis
httpx-sse==0.4.3
# via mcp
huggingface-hub==1.22.0
huggingface-hub==1.26.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
# accelerate
# datasets
# evaluate