V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
justincnn
V2EX  ›  macOS

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

  •  
  •   justincnn · 2023-04-16 10:03:29 +08:00 · 4326 次点击
    这是一个创建于 368 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    本地现在有实现方案么?

    23 条回复    2023-05-03 22:03:14 +08:00
    icestraw
        1
    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
        2
    callmesmc  
       2023-04-16 10:11:26 +08:00 via iPhone
    不懂你的意思。人家在 win 平台用的模型可以直接跑的,GUI 推荐 app store 里的 draw things 。还有专门针对 coreML 优化的模型,用 apple silicon 的神经引擎,跑起来 gpu 都不用,而且很快
    justincnn
        3
    justincnn  
    OP
       2023-04-16 10:11:37 +08:00
    @icestraw 不错啊,还是免费的,可以本地慢慢炼了,感谢
    callmesmc
        4
    callmesmc  
       2023-04-16 10:12:45 +08:00 via iPhone
    @callmesmc 甚至 iphone, ipad 都能炼...
    Xusually
        5
    Xusually  
       2023-04-16 10:16:02 +08:00 via iPhone
    StableDiffusion WebUI 不行么?
    hellojay
        6
    hellojay  
       2023-04-16 10:30:39 +08:00 via iPhone
    @Xusually 亲测可用
    justincnn
        7
    justincnn  
    OP
       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
        8
    razaro  
       2023-04-16 10:41:47 +08:00
    yangyang
        9
    yangyang  
       2023-04-16 10:41:56 +08:00
    @justincnn 当然可以,Apple 维护着一个 CoreML 版本的 fork

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

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

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

    参照这个 WIKI 安装就可以了。
    SakuraYuki
        22
    SakuraYuki  
       2023-04-18 14:41:43 +08:00
    高级点就 Stable Diffusion WebUI ,简单点就 mochi diffusion ,再简单点就 diffusionbee ,总有一款适合你
    RUIN444
        23
    RUIN444  
       351 天前
    借问一下 Draw Things 有办法把模型储存在外接硬盘吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1822 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 16:28 · PVG 00:28 · LAX 09:28 · JFK 12:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.