-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[CI] allow faster downloads from the Hub in CI. #9478
Conversation
@ydshieh can you review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove
ENV HF_HUB_ENABLE_HF_TRANSFER=1
in docker files - leaving that for your call, otherwise all good on my side.
feel free to merge whenever it is ready! |
Failing because the lastest Docker images don't have |
* allow faster downloads from the Hub in CI. * HF_HUB_ENABLE_HF_TRANSFER: 1 * empty * empty * remove ENV HF_HUB_ENABLE_HF_TRANSFER=1. * empty
* allow faster downloads from the Hub in CI. * HF_HUB_ENABLE_HF_TRANSFER: 1 * empty * empty * remove ENV HF_HUB_ENABLE_HF_TRANSFER=1. * empty
What does this PR do?
We can dramatically speed up downloads and uploads to the Hub with
hf_transfer
on high-bandwidth machines.More about
hf_transfer
: https://huggingface.co/docs/huggingface_hub/v0.25.0/package_reference/environment_variables#hfhubenablehftransfer.