Skip to content

Add support for .safetensors format#6

Open
zhiqing0205 wants to merge 1 commit intohyao1:mainfrom
zhiqing0205:main
Open

Add support for .safetensors format#6
zhiqing0205 wants to merge 1 commit intohyao1:mainfrom
zhiqing0205:main

Conversation

@zhiqing0205
Copy link
Copy Markdown

This change introduces compatibility for both .bin and .safetensors checkpoint formats in the model loading process. Previously, saved model files were in the pytorch_model.bin format, but now the default format has shifted to model.safetensors due to updates in the diffusers or accelerate package. This update ensures that the code can handle both formats seamlessly, preventing errors related to missing model files.

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.

1 participant