MCPcopy
hub / github.com/TheLastBen/fast-stable-diffusion / convertosd.py

File convertosd.py

Dreambooth/convertosd.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint.
2# *Only* converts the UNet, VAE, and Text Encoder.
3# Does not convert optimizer state or any other thing.
4# Written by jachiam

Callers

nothing calls this directly

Calls 4

convert_unet_state_dictFunction · 0.85
convert_vae_state_dictFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected