Skip to content

fix copy python file issue#1372

Merged
wenhuach21 merged 4 commits intomainfrom
fix_bug_0130
Jan 30, 2026
Merged

fix copy python file issue#1372
wenhuach21 merged 4 commits intomainfrom
fix_bug_0130

Conversation

@wenhuach21
Copy link
Copy Markdown
Contributor

Description

Please briefly describe your main changes, the motivation.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please specify):

Related Issues

Fixes or relates to #

Checklist Before Submitting

  • My code has been tested locally.
  • Documentation has been updated as needed.
  • New or updated tests are included where applicable.

Copilot AI review requested due to automatic review settings January 30, 2026 07:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue with copying Python files from the model cache by updating the code to handle changes in the transformers library version 5.0.0, where TRANSFORMERS_CACHE was deprecated in favor of HF_HOME.

Changes:

  • Added version checking logic to use the appropriate cache directory based on transformers version
  • Updated cache directory reference to use the version-appropriate variable

wenhuach21 and others added 2 commits January 30, 2026 16:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@wenhuach21 wenhuach21 merged commit 29956d9 into main Jan 30, 2026
28 checks passed
@wenhuach21 wenhuach21 deleted the fix_bug_0130 branch January 30, 2026 09:23
lvliang-intel pushed a commit that referenced this pull request Feb 2, 2026
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

3 participants