mac Silicon 平台 ,现在本地 ai 图片生成的方案有了么?

2023-04-16 10:03:29 +08:00
 justincnn

看大家在独显的 win 平台玩的那么开心,也想在本地炼蛊,

本地现在有实现方案么?

4357 次点击
所在节点    macOS
23 条回复
icestraw
2023-04-16 10:08:48 +08:00
有一些了,比如这个 Draw Things ,CPU GPU NPU 都能跑

https://apps.apple.com/us/app/draw-things-ai-generation/id6444050820
callmesmc
2023-04-16 10:11:26 +08:00
不懂你的意思。人家在 win 平台用的模型可以直接跑的,GUI 推荐 app store 里的 draw things 。还有专门针对 coreML 优化的模型,用 apple silicon 的神经引擎,跑起来 gpu 都不用,而且很快
justincnn
2023-04-16 10:11:37 +08:00
@icestraw 不错啊,还是免费的,可以本地慢慢炼了,感谢
callmesmc
2023-04-16 10:12:45 +08:00
@callmesmc 甚至 iphone, ipad 都能炼...
Xusually
2023-04-16 10:16:02 +08:00
StableDiffusion WebUI 不行么?
hellojay
2023-04-16 10:30:39 +08:00
@Xusually 亲测可用
justincnn
2023-04-16 10:39:47 +08:00
@Xusually Installation and Running

Make sure the required dependencies are met and follow the instructions available for both NVidia (recommended) and AMD GPUs.

Alternatively, use online services (like Google Colab):

List of Online Services

确定可以在 mac m 系列上用么?
razaro
2023-04-16 10:41:47 +08:00
yangyang
2023-04-16 10:41:56 +08:00
@justincnn 当然可以,Apple 维护着一个 CoreML 版本的 fork

https://github.com/godly-devotion/MochiDiffusion
agdhole
2023-04-16 10:42:34 +08:00
https://github.com/apple/ml-stable-diffusion
这个就可以了吧,玩了很久了
lbingl
2023-04-16 10:43:47 +08:00
diffusers ,Huggingface 在 AppStore 的官方应用,本地推理
Xusually
2023-04-16 10:52:28 +08:00
@justincnn 当然可以啊 你 google 一下 stable diffusion web ui m1 第一页就全是结果啊
shxlxa
2023-04-16 10:53:37 +08:00
@justincnn 可以,就是有点慢,我的 m1 air 出一张图要四五分钟
sdqx2006
2023-04-16 13:09:14 +08:00
Apple 官方优化的 Stable Diffusion ,M 芯片生成极快

https://github.com/apple/ml-stable-diffusion
justincnn
2023-04-16 13:22:13 +08:00
@sdqx2006 太感谢了,这个就是我需要的,
xiaofanz
2023-04-16 13:52:41 +08:00
推荐看下这篇,列举了很多 [Mac 用户福音:Stable Diffusion 官方支持来啦] https://mp.weixin.qq.com/s/NMpXbpNlnl5ilt1x4Xqj6w
7gugu
2023-04-16 15:35:11 +08:00
@justincnn 就算是官方仓库的也是可以的,只是会很卡而已
davidqw
2023-04-16 21:57:49 +08:00
Mochi Diffusion ,原生支持 Silicon
https://github.com/godly-devotion/MochiDiffusion
ShadowPower
2023-04-17 11:14:28 +08:00
Mac 平台的选择很多,但是速度和灵活性只能二选一。
NVIDIA+Stable Diffusion WebUI+插件,速度快,上限极高,有一大堆插件可以对图像做进一步的控制和加工,可以对比多个模型、多个关键词组合的效果。如果要真正把它当工具用,最基础的功能其实不怎么够用,只适合体验 AI 画图。

于是我建议租一个便宜的 GPU VPS 。
GuDream8
2023-04-18 11:12:29 +08:00
@justincnn 可以的,我都已经跑了一段时间了。只是用的是 CPU 在跑,出图速度比较慢。

参照这个 WIKI 安装就可以了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/932870

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX