[Bugfix] Resolve the Hub revision once per repo (#56092)
Signed-off-by: Wauplin <lucainp@gmail.com> Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5
Harry Mellor
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
a7d203efe5
commit
344fcc252a
@@ -208,6 +208,7 @@ def test_model_config_generation_fallback_forwards_code_revision():
|
||||
model="org/model",
|
||||
trust_remote_code=True,
|
||||
revision="model-pin",
|
||||
_hf_config_revision=None,
|
||||
code_revision="code-pin",
|
||||
config_format="auto",
|
||||
hf_token=None,
|
||||
|
||||
Reference in New Issue
Block a user