ml-stable-diffusion
ml-stable-diffusion copied to clipboard
Custom models
I've found there is a ton of interesting models within: civitai.com
Most of the are CHECKPOINTs using SD 1.5 as a base.
I've tried importing .cpkt file but get "The file "merges.txt" couldn't be expend" error.
How can I use this models?
I think coreml conversion script takes repo string of model on HuggingFace.
How do you import .ckpt file and where do u load it?
what i did was convert .ckpt to diffusers format first, then convert diffusers to coreml
Theres a script on hugging face github repo that does conversion.
I think coreml conversion script takes repo string of model on HuggingFace.
How do you import .ckpt file and where do u load it?
I just download the .CPKT file and import into Mochi Duffusion using settings...
what i did was convert .ckpt to diffusers format first, then convert diffusers to coreml
Theres a script on hugging face github repo that does conversion.
Can you share the link to convert the models?
I just download the .CPKT file and import into Mochi Duffusion using settings...
MochiDiffusion's author say here that model should be converted to CoreML before using. I tried to convert one SD model and to run any model sets I found that they must be converted to mlmodelc
as well instead of just mlpackage
that apple/ml-stable-diffusion script does by default. Must be renamed as well.
I just download the .CPKT file and import into Mochi Duffusion using settings...
MochiDiffusion's author say here that model should be converted to CoreML before using. I tried to convert one SD model and to run any model sets I found that they must be converted to
mlmodelc
as well instead of justmlpackage
that apple/ml-stable-diffusion script does by default. Must be renamed as well.
Sorry I forgot to add some information regarding this. Apple conversion script creates mlpackage
files in the export directory but the mlmodelc
files that you actually want are under the Resources
folder.