Replies: 3 comments 3 replies
-
I have no idea about this. But the fact that you got it working is a good thing, as this repo is not intended for mac.
See if you can submit a PR to here to share your findings. |
Beta Was this translation helpful? Give feedback.
-
@ClashSAN Yes, after modification, now all samplers can run on macOS, I will submit a PR, and I would like to get help on how to improve the speed, thank you |
Beta Was this translation helpful? Give feedback.
-
Got it working at normal speed: #4233 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
GPU: [eGPU] eGPU Radeon Rx 6600xt
VRAM: [8G]
CPU arch: [x86] macbookpro 2020, Intel Core i5, 32G ram
OS: [macOS] Monterey 12.6
Browsers: [Safari]
Python: [miniconda3]
Branch: [main]
Commit: []
When I use DDIM to generate an image, it broken and return error
AssertionError: Torch not compiled with CUDA enabled
, according to the error info, I open the fileFile "/Users/ppt/Github/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddim.py", line 23, in register_buffer
.the original code is:
I modified it to below:
Run it and get another error:
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
I modified again to below:
It works now, but it is very very slow, about 45s/it, just like it is running on the CPU only, but in fact the GPU usage becomes high:
Steps to reproduce the problem
What should have happened?
Commit where the problem happens
3e15f8e
What platforms do you use to access UI ?
MacOS
What browsers do you use to access the UI ?
Apple Safari
Command Line Arguments
Additional information, context and logs
AssertionError: Torch not compiled with CUDA enabled
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
Beta Was this translation helpful? Give feedback.
All reactions