swift-coreml-diffusers icon indicating copy to clipboard operation
swift-coreml-diffusers copied to clipboard

How to import new .SAFETENSORS model?

Open mcandre opened this issue 2 years ago • 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.

mcandre avatar Jan 15 '24 08:01 mcandre

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.

ZachNagengast avatar Jun 25 '24 16:06 ZachNagengast

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

QueryType avatar Jul 07 '24 09:07 QueryType