Skip to content

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Sep 26, 2025

What does this PR do?

I did the following

  • run the tests
  • collect the calls to from_pretrained
  • run those from_pretrained calls within our CircleCI docker image build
  • upload the ~/.cache/huggingface/hub to a hub repository hf-internal-testing/hf_hub_cache
  • during CircleCI runtime, download, unzip to the cache directory

I will work on putting all things together so it's easier to do in the future, but this PR could reduce the number of calls to Hub already.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants