Skip to content

Converting from Stable diffusion v2.1 CKPT or safetensors to diffusers, then back to CKPT/safetensors breaks the model #2769

@TheLastBen

Description

@TheLastBen

Describe the bug

I noticed when converting a v2.1 SD model to diffusers then back to CKPT again makes the model unusable.

Reproduction

Try converting https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.ckpt here https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb, train it for only 20 steps to allow convertion to ckpt, then test the model, the output will be random noise.

Logs

No response

System Info

Colab

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions