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

How can we convert SDXL diffusers to FP32 .safetensors ? #710

Open
FurkanGozukara opened this issue Aug 3, 2023 · 1 comment
Open

How can we convert SDXL diffusers to FP32 .safetensors ? #710

FurkanGozukara opened this issue Aug 3, 2023 · 1 comment

Comments

@FurkanGozukara
Copy link

When I check the GUI version i don't see it

image

@kohya-ss
Copy link
Owner

kohya-ss commented Aug 8, 2023

I think the GUI uses tools\convert_diffusers20_original_sd.py internally. Unfortunately, the script doesn't have an option for the precision in Diffusers format, because save_pretrained function in Diffusers doesn't have an argument for the saving precision.

Perhaps, converting the models to the target precision in advance might be working, but I didn't test yet.

In addition, the script doesn't support SDXL, so I will update the script in near future for these two issues.

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

No branches or pull requests

2 participants