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

Fix convert_diffusers20_original_sd.py and add --variant option for loading #1016

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

Disty0
Copy link
Contributor

@Disty0 Disty0 commented Dec 22, 2023

Fix tools/convert_diffusers20_original_sd.py so it works with the latest model_util.save_stable_diffusion_checkpoint function.
Add --metadata option for model_util.save_stable_diffusion_checkpoint compatibility.
Add --variant option to specify a variant when loading a Diffusers model.
Fix 2 ruff errors: f-string without any placeholders

@kohya-ss
Copy link
Owner

Thank you for this! Sorry I forgot updating the conversion script. This is really necessary.

@kohya-ss kohya-ss merged commit 9a2e385 into kohya-ss:dev Dec 24, 2023
1 check passed
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.

None yet

2 participants