Skip to content

Commit 1fe5af3

Browse files
committed
fix: Orchestrator - Launchers - HuggingFace - Workaround for old Python container images
The `huggingface_hub>=1.0.0` package requires Python 3.9+. Also, `huggingface_hub>=1.0.0` no longer has the `cli` extra.
1 parent 0368d8e commit 1fe5af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_pipelines_backend/launchers/huggingface_launchers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def get_exit_code_path() -> str:
243243
244244
export PATH="$HOME/.local/bin:$PATH"
245245
246-
uv run --with huggingface_hub[cli] hf version
246+
uv run --with 'huggingface_hub>=1.0.0' --python '>=3.9' hf version
247247
248248
# Downloading the input data
249249
{input_download_code}

0 commit comments

Comments
 (0)