huggingface/swift-coreml-diffusers

How to import new .SAFETENSORS model?

mcandre opened this issue · 2 comments

How can I import a safetensor formatted model into the diffusers app?

I tried copying the safetensor file to the folder loaded by the dropdown menu. But when I relaunch the app, it doesn't show the new model in the menu.

This repo is Core ML models specifically, so safetensors wont work. I'd recommend using the conversion process in https://www.github.com/apple/ml-stable-diffusion to convert the model to Core ML first.

Is it possible to load local Core ML models, once we convert them? I think right now we need to download from hub?