看板MAC
https://datasciocean.tech/others/pytorch-support-apple-silicon-gpu-mac-m1/
https://huggingface.co/docs/diffusers/optimization/mps
去年中PyTorch支援Apple Silicon後
現在非常紅的圖像生成也能在mac環境跑
跟風測試了一下 以mbpr 14" 32G ram (14 core gpu)
大概生成一張圖需時40秒左右 溫度飆高到70度
跑得有點喘了 但是比預期的好 幾乎可以跟nvidia 3060拼一下
手邊有mac studio的人可以玩看看
m1 pro max有機會可以壓到10秒以內...
跑圖過程:
https://imgur.com/a/CS54Zr0
花了45秒 應該還有優化的空間 先用範例跑
跑圖結果:
https://imgur.com/a/URCLBUT
一隻橘貓 油畫
https://imgur.com/a/ze3dbmI
https://imgur.com/a/MWIvpPQ
https://imgur.com/a/lV2cqv8
跑個香的 漫畫風wifu 可以看到跑完上傳圖 溫度還沒降到60以下
--
I don't know what it is that makes me love you so,
I only know I never want to let you go,
'cos you started something ,cant't you see,
That ever since we've met you've had a hold on me,
It happens to be true, I only wanna be with you.
--
※ 批踢踢實業坊(ptt.cc), 來自: 59.125.102.185 (臺灣)※ 文章網址: https://www.ptt.cc/bbs/MAC/M.1678333449.A.E7D.html
→ airnoon: 發文不附圖(ry 03/09 12:33
→ creepy: 晚點補圖 XD 03/09 12:58
推 cgjosephlee: 可以試試看tf跟core ml的版本 03/10 15:59
→ cgjosephlee: https://github.com/godly-devotion/MochiDiffusion 03/10 15:59
→ cgjosephlee: https://diffusionbee.com/ 03/10 15:59
→ creepy: 感謝樓上 來玩看看 03/10 21:41
→ mojito76: 用Mochi畫出來的跟automatic1111差好多,但也快很多就是 03/11 16:24
推 Ffobeat: 用了SD就試試模型吧! 03/12 06:43