Only download hub cache for pipelines_torch job#46544
Merged
Merged
Conversation
ydshieh
commented
Jun 10, 2026
| "command": 'curl -L -o huggingface-cache.tar.gz https://huggingface.co/datasets/hf-internal-testing/hf_hub_cache/resolve/main/huggingface-cache.tar.gz && apt-get install pigz && tar --use-compress-program="pigz -d -p 8" -xf huggingface-cache.tar.gz && mv -n hub/* /root/.cache/huggingface/hub/ && ls -la /root/.cache/huggingface/hub/', | ||
| } | ||
| }, | ||
| *( |
Collaborator
Author
There was a problem hiding this comment.
There is a * here, so it's just add this step or not (i.e. with [] list).
Contributor
|
CI Dashboard: View test results in Grafana |
zucchini-nlp
approved these changes
Jun 10, 2026
Collaborator
Author
That are in one step above that I didn't remove in this PR {
"run": {
"name": "fetch hub objects before pytest",
"command": "cp -r /test_data/* . 2>/dev/null || true; python3 utils/fetch_hub_objects_for_ci.py",
}
}, |
Contributor
|
View the CircleCI Test Summary for this PR: https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=46544&sha=d173dc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.circleci/create_circleci_config.pywas running for all CircleCI jobsjob_name == "pipelines_torch", avoiding unnecessary downloads in other jobsWe get more download failures recently. This PR might avoid that until we migrate to GH.