This is a quick hack to get the MPS back end for torch up and running, which adds GPU acceleration for Apple Silicon systems. I've been using it for about a week (primarily without SD, but SD works if you have enough memory). A less fussy requirements-macos.txt is included for convenience to get it up and running.
MPS doesn't work well float16, so there's a tweak to make cuda the special case rather than the other way around.
This is a quick hack to get the MPS back end for torch up and running, which adds GPU acceleration for Apple Silicon systems. I've been using it for about a week (primarily without SD, but SD works if you have enough memory). A less fussy
requirements-macos.txt
is included for convenience to get it up and running.MPS doesn't work well float16, so there's a tweak to make cuda the special case rather than the other way around.