Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented May 24, 2024

See slack thread (internal).

Since #29846 (cc @LysandreJik) if pytorch weights are loaded and safetensors ones don't exist, we trigger an autoconversion of the weights. This should not impact user's experience. This PR disable the autoconversion call if local_files_only=True is passed.

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Thanks Lucain!

@ArthurZucker ArthurZucker merged commit 03935d3 into main May 24, 2024
@ArthurZucker ArthurZucker deleted the fix-local-files-only-autoconversion branch May 24, 2024 09:01
@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.

5 participants