IrisRainbowNeko / HCP-Diffusion

A universal Stable-Diffusion toolbox
Apache License 2.0
899 stars 75 forks source link

How to use a safetensors model from civit.ai? #37

Closed tpsjr7 closed 1 year ago

tpsjr7 commented 1 year ago

I'm following the tutorial from https://github.com/7eu7d7/HCP-Diffusion/blob/main/doc/en/tutorial/lora_anime.md

It mentions using "deepghs/animefull-latest" but is there a way to make it use a safetensors checkpoint on my machine that's not hosted in huggingface? I tried simply replacing "deepghs/animefull-latest" with the path to my safetensors file but it did not work.

I'm thinking I could use runwayml/stable-diffusion-v1-5 but then manually replace the downloaded v1-5-pruned.safetensors with mine, is that the recommended way?

Thanks

tpsjr7 commented 1 year ago

For people like me who didn't read the README :D https://github.com/7eu7d7/HCP-Diffusion#conversion-of-stable-diffusion-models