Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] when run load pretain with local_files_only, local variable 'cached_folder' referenced before assignment #9376

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

RobinXL
Copy link
Contributor

@RobinXL RobinXL commented Sep 6, 2024

…b_utils.py

Fix when use local_files_only=True with subfolder, local variable 'cached_folder' referenced before assignment issue.

What does this PR do?

Fixes # (issue)

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

…b_utils.py

Fix when use `local_files_only=True` with `subfolder`, local variable 'cached_folder' referenced before assignment issue.
@RobinXL RobinXL changed the title Fix local variable 'cached_folder' referenced before assignment in hu… [Fix] when run load pretain with local_files_only, local variable 'cached_folder' referenced before assignment Sep 6, 2024
Copy link

github-actions bot commented Oct 6, 2024

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label Oct 6, 2024
@yiyixuxu yiyixuxu removed the stale Issues that haven't received updates label Oct 9, 2024
Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

@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.

@yiyixuxu yiyixuxu merged commit 79b118e into huggingface:main Oct 15, 2024
15 checks passed
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