Hugging Face 社区博客·· 2022-12-01精选AI 评分76
如何在 Apple Silicon 上用 Core ML 运行 Stable Diffusion
Using Stable Diffusion with Core ML on Apple Silicon
AI 导读
Hugging Face 与 Apple 合作,将 Stable Diffusion v1.4、v1.5、v2 base、v2.1 base 转换为 Core ML 版本并发布在 Hugging Face Hub,可在 Apple Silicon 的 CPU、GPU 和 Neural Engine 上运行。
推荐理由
Hugging Face 官方整理了 Core ML 版 Stable Diffusion 的下载、Python 与 Swift 推理方法,读者可按机型选变体并迁移到自定义模型。
来源:Hugging Face 社区博客 · huggingface.co