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

Update unwrap_and_save_reload_schedule to use weights_only=False #35952

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jan 29, 2025

What does this PR do?

Our CircleCI already has torch 2.6. With this torch version, We need to use weights_only=False explicitly if the checkpoint contains other stuffs than weights.

@ydshieh ydshieh changed the title Update unwrap_and_save_reload_schedule to use `weights_only=True Update unwrap_and_save_reload_schedule to use `weights_only=False Jan 29, 2025
@ydshieh ydshieh changed the title Update unwrap_and_save_reload_schedule to use `weights_only=False Update unwrap_and_save_reload_schedule to use weights_only=False Jan 29, 2025
@ydshieh ydshieh requested a review from ArthurZucker January 29, 2025 09:43
@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.

@ydshieh ydshieh merged commit c600e89 into main Jan 29, 2025
12 checks passed
@ydshieh ydshieh deleted the update_unwrap_and_save_reload_schedule branch January 29, 2025 13:31
bursteratom pushed a commit to bursteratom/transformers that referenced this pull request Feb 5, 2025
…uggingface#35952)

* fix

* Fix

---------

Co-authored-by: ydshieh <ydshieh@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