Skip to content

remove format check for safetensors file #10864

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

Merged
merged 1 commit into from
Feb 21, 2025
Merged

remove format check for safetensors file #10864

merged 1 commit into from
Feb 21, 2025

Conversation

SunMarc
Copy link
Member

@SunMarc SunMarc commented Feb 21, 2025

What does this PR do?

FIxes #10863
This PR removes the format check that was recently introduced as it is not might not be compatible with single file format. For diffusers format there should be no issues. If you think it is still worth to add it for diffusers checkpoints, I can modify a bit the PR.

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

@SunMarc
Copy link
Member Author

SunMarc commented Feb 21, 2025

Merging this first as this is might impact lots of files

@SunMarc SunMarc merged commit ffb6777 into main Feb 21, 2025
33 of 38 checks passed
@yiyixuxu yiyixuxu deleted the remove-format-check branch February 21, 2025 19:42
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.

Error loading locally safetensors files
3 participants