ROCm support seems spotty at best, I have a 5700xt and I haven't had much luck getting it working.
Run Stable Diffusion on Your M1 Mac’s GPU
31–40 of 415 posts
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#32Has anybody had success getting newer AMD cards working? ROCm support seems spotty at best, I have a 5700xt and I haven't had much luck getting it working.
[1] https://gist.github.com/geerlingguy/ff3c3cbcf4416be2c0c1e0f8...
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#33I did need to run the troubleshooting step too, could probably just move that up as a required step in the guide.
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#34Earlier quoted context omitted.
School us! What’s the latest in robotics that is going to knock our socks off?
They've got death robots that can fly now. Why is nobody impressed by the future?
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#35EDIT: It was a false-positive (honest!) on the NSFW filter. To disable it, edit txt2img.py around line 325.
Comment this line out:
x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim)
And replace it with: x_checked_image = x_samples_ddimRe: Run Stable Diffusion on Your M1 Mac’s GPU
#36Are we being pranked? I just followed the steps but the image output from my prompt is just a single frame of Rick Astley... EDIT: It was a false-positive (honest!) on the NSFW filter. To disable it, edit txt2img.py around line 325. Comment this line out: x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim) And replace it with: x_checked_image = x_samples_ddim
Change your prompt, or remove the filter from the code.
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#37Earlier quoted context omitted.
Broadly speaking, it looks like they are. The implementation of Stable Diffusion doesn't appear to be using all of those features correctly (i.e. device selection fails if you don't have CUDA enabled even though MPS ( https://pytorch.org/docs/stable/notes/mps.html ) is supported by PyTorch. Similar goes for quirks of Tensorflow that weren't taken advantage of. That's largely the work that is on-going in the OSX and M…
I got stuck on this roadblock, couldn’t get CUDA to work on my Mac, was very confusing
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#38Are we being pranked? I just followed the steps but the image output from my prompt is just a single frame of Rick Astley... EDIT: It was a false-positive (honest!) on the NSFW filter. To disable it, edit txt2img.py around line 325. Comment this line out: x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim) And replace it with: x_checked_image = x_samples_ddim
Removing the censor should be pretty straightforward, just comment out those lines.
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#39Are we being pranked? I just followed the steps but the image output from my prompt is just a single frame of Rick Astley... EDIT: It was a false-positive (honest!) on the NSFW filter. To disable it, edit txt2img.py around line 325. Comment this line out: x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim) And replace it with: x_checked_image = x_samples_ddim
Re: Run Stable Diffusion on Your M1 Mac’s GPU
#40Earlier quoted context omitted.
Broadly speaking, it looks like they are. The implementation of Stable Diffusion doesn't appear to be using all of those features correctly (i.e. device selection fails if you don't have CUDA enabled even though MPS ( https://pytorch.org/docs/stable/notes/mps.html ) is supported by PyTorch. Similar goes for quirks of Tensorflow that weren't taken advantage of. That's largely the work that is on-going in the OSX and M…
I got stuck on this roadblock, couldn’t get CUDA to work on my Mac, was very confusing