-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Stable diffusion text2img conversion script. #154
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
Conversation
The documentation is not available anymore as the PR was closed or merged. |
…ldm-txt2im-conv-script
…ldm-txt2im-conv-script
…ldm-txt2im-conv-script
…ldm-txt2im-conv-script
@patil-suraj Do you have any plans for reverse functionality? I.e. diffusers .bin -> original .ckpt? Your knowledge would help us greatly |
Hi @kabachuha! Work towards that goal is being coordinated in issue #672, where you have participated :) It looks like @rashmimarganiatgithub is taking a go at it! |
Are there docs for this? |
Hi @NicholasKao1029 you can check the docstring here, the script can now be called as a function https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py#L778 |
Thanks @patil-suraj is it correct to say that this conversion is a perfect 1:1. As in |
Yes, it should be 1:1 |
Very nice thanks, can I also confirm that safetensors transformation is the same way (also outputting to a safetensors) |
The script convert ckpt safetensors to diffusers but with native torch doesn't output safetensors yet |
This PR adds conversion script for text2img stable diffusion models from CompVis.