MCPcopy Index your code
hub / github.com/huggingface/diffusers / convert_diffusers_to_original_stable_diffusion.py

File convert_diffusers_to_original_stable_diffusion.py

scripts/convert_diffusers_to_original_stable_diffusion.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

Callers

nothing calls this directly

Calls 8

existsMethod · 0.80
halfMethod · 0.80
saveMethod · 0.80
convert_unet_state_dictFunction · 0.70
convert_vae_state_dictFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected