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

M1/M2 用户有福了,最近火热的语意成图项目 stable diffusion 出 GUI 包了

  •  2
     
  •   novolunt · 2022-09-12 15:50:35 +08:00 · 4402 次点击
    这是一个创建于 564 天前的主题,其中的信息可能已经有所发展或是发生改变。
    第 1 条附言  ·  2022-09-12 19:24:44 +08:00
    第 2 条附言  ·  2022-09-12 19:26:35 +08:00
    发一下测试用的描述词吧,比如圆玉,可以用这样描述:
    jewels of the caribbean sea,a beautiful round jade under the ocean,water material, beautiful scenery,portrait, finely detailed armor,Blue-Green-Silver Organic building material, silk, cinematic lighting, clear exposure, 8K, realistic materials , clouds in the distance
    27 条回复    2022-09-15 12:53:21 +08:00
    zooo
        1
    zooo  
       2022-09-12 17:02:22 +08:00
    inter 芯片的有么?
    zooo
        2
    zooo  
       2022-09-12 17:02:45 +08:00
    maOS Intel
    aeli
        3
    aeli  
       2022-09-12 17:22:32 +08:00
    这只是前端吧,模型和运算应该是远程的
    noahhhh
        4
    noahhhh  
       2022-09-12 17:35:35 +08:00 via Android
    @aeli 看链接是本地的,不知道和 n 卡性能差多少
    run Stable Diffusion locally on your M1 Mac
    noahhhh
        5
    noahhhh  
       2022-09-12 17:39:53 +08:00 via Android
    @noahhhh 3080Ti 基本 10s 不到
    chonger
        6
    chonger  
       2022-09-12 17:50:15 +08:00
    @noahhhh 在 m1 max 上随便输了个单词,大概 16 秒吧
    windirt
        7
    windirt  
       2022-09-12 18:15:40 +08:00
    给提了一下意见,需要自定义 seed ,固定或随机,需要可以选择 sampler

    还应该给更多的 scale 和 step 数值,他才给了最高 50 的 step ,我这边 Windows 电脑生成能看得下去细节的图都是 100 起步的
    sobigfish
        8
    sobigfish  
       2022-09-12 19:18:06 +08:00
    该应用程序要求 macOS 12.5.1 或更高版本。
    好家伙,这个 platform 依赖这么激进的吗?
    novolunt
        9
    novolunt  
    OP
       2022-09-12 19:20:47 +08:00
    @zooo 这个版本是比较鸡肋的,体验下还行,x86 架构的看最原始的项目,https://github.com/CompVis/stable-diffusion
    novolunt
        10
    novolunt  
    OP
       2022-09-12 19:21:41 +08:00
    @sobigfish 最近才开源的
    heavymetals
        11
    heavymetals  
       2022-09-12 20:35:13 +08:00
    @chonger 这么快的吗? 16g m1pro 至少得 70s
    chonger
        12
    chonger  
       2022-09-12 20:43:00 +08:00   ❤️ 1
    @heavymetals 这个吃 gpu 吧,你 gpu 多少核的?
    poporange630
        13
    poporange630  
       2022-09-12 20:57:16 +08:00
    16g m1 pro 默认设置至少 90 秒
    heavymetals
        14
    heavymetals  
       2022-09-12 21:13:23 +08:00
    @chonger 哦哦,我是丐版 pro ,好像是 14 核 GPU
    shyrock
        15
    shyrock  
       2022-09-12 21:14:52 +08:00
    不是,m1 的 ipad 能行吗?
    ngn999
        16
    ngn999  
       2022-09-12 23:13:56 +08:00   ❤️ 1
    这个 App 会自动下载模型, 如果你之前用那个 git 库自己跑过, 已经下载过模型(近 5G), 可直接复制到 ~/.diffusionbee/sd-v1-4.ckpt
    App 版本的, 比你自己 git 库里跑起来的好处是, 可以生成成人内容了.
    ngn999
        17
    ngn999  
       2022-09-12 23:15:32 +08:00
    @shyrock 项目建议是最好有 16G 的内存. iPad 应该不行, 同时, 这 app 没适配 iPad,更没上架.
    PerFectTime
        18
    PerFectTime  
       2022-09-12 23:54:44 +08:00
    冒昧问一下可以出色图吗 [doge]
    ngn999
        19
    ngn999  
       2022-09-13 00:32:50 +08:00 via iPhone
    @PerFectTime app 这个版本是可以的
    nah
        20
    nah  
       2022-09-13 03:30:40 +08:00
    @heavymetals 丐版 m1pro 32G 内存,30s 左右,感觉蛮快的。似乎内存更影响性能。
    nailuoGG
        21
    nailuoGG  
       2022-09-13 11:36:26 +08:00
    @ngn999 试了下,得放在

    ~/.diffusionbee/downloads/sd-v1-4.ckpt

    之前下载过的,可以直接软链接到这个位置
    ngn999
        22
    ngn999  
       2022-09-13 13:54:55 +08:00 via iPhone
    @nailuoGG 对,我少写了一层目录,谢谢指正
    noahhhh
        23
    noahhhh  
       2022-09-13 18:09:58 +08:00 via Android
    @chonger 和 3060 差不多,好像和跑分一致😂
    davinci21s
        24
    davinci21s  
       2022-09-14 21:28:50 +08:00
    第一张是楼主的 append 内容生成,2 张都 10 几秒
    ![img]( https://wenjian.xuanyuanhuangdi.org/gp1.png)
    ![img]( https://wenjian.xuanyuanhuangdi.org/gp2.png)
    novolunt
        25
    novolunt  
    OP
       2022-09-15 11:58:01 +08:00
    @davinci21s 你是 max 吧,可以试下中文
    davinci21s
        26
    davinci21s  
       2022-09-15 12:20:33 +08:00
    @novolunt max 64G 内存,24 核心 GPU ,中文可以吗?好像是空白的
    novolunt
        27
    novolunt  
    OP
       2022-09-15 12:53:21 +08:00
    @davinci21s 中文可以的,只不过效果较差。看来 3w 多的 GPU 还是比 3090Ti 性能差一点点(实际上 GPU 可能差更多,只不过是跟 CPU 集成拉近了一小部分差距)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2811 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:35 · PVG 21:35 · LAX 06:35 · JFK 09:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.