Error: Unet.mlmodelc does not exist

#2
by caol64 - opened

Hey, I'm trying to use ml-stable-diffusion for image generation on my M1 MacBook, but I encountered an error when running the following command:

swift run StableDiffusionSample "a girl" \
--resource-path ~/stable-diffusion-3-medium \
--output-path ~/Downloads/ \
--compute-units cpuAndGPU

The error message is Error: Unet.mlmodelc does not exist.

What can I do to fix it? Thanks.

Argmax, Inc. org

For the CLI, you need to pass --sd3 to signify sd3 models https://github.com/apple/ml-stable-diffusion?tab=readme-ov-file#swift-inference

Sign up or log in to comment