4 ms·
looks like there is an easier path using metal shaders: https://dev.to/craigmorten/setting-up-stable-diffusion-for-macos-1igl https://dev.to/craigmorten/setting
by yayr 4y ago
looks like there is an easier path using metal shaders: https://dev.to/craigmorten/setting-up-stable-diffusion-for-macos-1igl https://dev.to/craigmorten/setting-up-stable-diffusion-for-m...
and
https://github.com/magnusviri/stable-diffusion/tree/apple-silicon-mps-support https://github.com/magnusviri/stable-diffusion/tree/apple-si...
- garblegarble 4y agoI've been using this on my M1 Max and it works pretty well, 1.65 iterations per second (full precision, whereas my PC's 3080 can only do half-precision due to limited memory)... a 50-iteration image in about 40 seconds or so.
- smoldesu 4y ago> full precision, whereas my PC's 3080 can only do half-precision due to limited memory What model are you using? I've been running full-precision SD1.4 on my 3070, albeit with less than 10% VRAM headroom.
- MattRix 4y agoYour 3080 should be able to do full precision. Are you sure you don’t have the batch size set greater than 1, or another issue along those lines?
- garblegarble 4y agoThank you and smoldesu for letting me know it should work, I'll have a better look into what's going on - it didn't immediately work on Windows in full precision (probably a batch size issue as you suggested) and I gave up... I shouldn't have given up so easily, but my tolerance for annoyances on Windows is pretty low (that Windows machine is kept for gaming, the last time I used a Windows machine for anything but launching Steam was when Windows 2000 was the hot new thing...)
- zmmmmm 4y agothis worked fine for me, and running side by side with Intel CPU + nVidia 2070 it actually does not take much longer (and as a sibling said, seems to be working at full precision). It is one of the first things I've done that has properly made my M1 Max's fan spin up hard though!