Skip to content

Replace TRANSFORMERS_CACHE with HF_HUB_CACHE#2291

Merged
xiaoyu-work merged 1 commit intomainfrom
xiaoyu/transformersv5
Dec 21, 2025
Merged

Replace TRANSFORMERS_CACHE with HF_HUB_CACHE#2291
xiaoyu-work merged 1 commit intomainfrom
xiaoyu/transformersv5

Conversation

@xiaoyu-work
Copy link
Collaborator

Describe your changes

TRANSFORMERS_CACHE will be deprecated in transformers v5. Replaced it by HF_HUB_CACHE

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

@xiaoyu-work xiaoyu-work enabled auto-merge (squash) December 20, 2025 06:01
@xiaoyu-work xiaoyu-work merged commit d80b245 into main Dec 21, 2025
11 checks passed
@xiaoyu-work xiaoyu-work deleted the xiaoyu/transformersv5 branch December 21, 2025 09:58
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