-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Neural Engine MAC #13419
Comments
Having this issue as well after update to Sonoma. |
I also had the same problem after updating to macOS 14. My current workaround is to launch with additional ./webui.sh --no-half That was suggestion that i saw on this thread: apple/ml-stable-diffusion#192 |
Does I cannot check this as i don't have a second machine with older macOS version, and i didn't perform benchmark on older version of macOS. But I did some speed benchmark now to determine what sampler has the best speed. It was made with Benchmark detailsPrompt: mockup design of main screen for tracking calorie intake application. Great Artis. Basic background. small logo Negative prompt: low quality, compression artifacts, uneven, asymmetrical, blurry Steps: 15, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 42, Size: 1024x1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Script: X/Y/Z plot, X Type: Sampler, X Values: "DPM++ 2M Karras,DPM++ SDE Karras,DPM++ 2M SDE Exponential,DPM++ 2M SDE Karras,Euler a,Euler,LMS,Heun,DPM2,DPM2 a,DPM++ 2S a,DPM++ 2M,DPM++ SDE,DPM++ 2M SDE,DPM++ 2M SDE Heun,DPM++ 2M SDE Heun Karras,DPM++ 2M SDE Heun Exponential,DPM++ 3M SDE,DPM++ 3M SDE Karras,DPM++ 3M SDE Exponential,DPM fast,DPM adaptive,LMS Karras,DPM2 Karras,DPM2 a Karras,DPM++ 2S a Karras,Restart,DDIM,PLMS,UniPC", Version: v1.6.0
|
Getting same issue in macos 14, even using --no-half, inpaint is no longer working :(
|
To make it work I also did a full cleanup on the repository with the command |
Someone suggested I try upgrading torch to the dev nightly. That seemed to fix the Sonoma 14 issues for me by itself, at least so far . . . pip3 install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu |
Maybe not related, but I am using Apple Silicon Mac with the latest OS, and seeing this error in the logs. I just installed Stable Diffusion, so it's a fresh build on the Mac that was done 2 days ago from the latest Git build.
|
Not related. xformers is a CUDA thing. CUDA things have no meaning for Macs. The "warnings" can be safely ignored. |
it didn't resolve anything on M1 iMac |
my webui-user.sh, solve everything on M1 Max MacBook Pro with macOS 14
remember use |
it did the trick |
yes the trick works but I noticed that it also works with versions of Torch not in preview and which are more stable: PyTorch(2.1.0) works perfectly in my case |
i love you, perfectly worked |
version 20231021 works for me, thank you |
Tried this today and those versions were not listed. I had to use |
I'm just getting MPS memory allocation errors out the wazoo, no matter what torch I use. This is with suggestions above and the new nightly, Bit confused as to what to do. This fails no matter what on my M1 MacBook Air 16GB, but works flawlessly (without having to change to a dev torch) on an M2 Mac mini 16GB. I feel it should be easier than this 🤣 but sadly, no. |
Is there an existing issue for this?
What happened?
When I try to execute the generation of the image, the terminal say error on Neural Engine, this error appeared with the new MACOS update, MacOs Sonoma 14
Steps to reproduce the problem
Generate image on Mac with stable diffusion
What should have happened?
The generation of the image
Sysinfo
sysinfo-2023-09-27-15-15.txt
What browsers do you use to access the UI ?
Apple Safari
Console logs
Additional information
I was quietly opening Stable as I do every day but following the update to MacOs Sonoma, in addition to constantly freezing and making the Mac lag, it doesn't work
The text was updated successfully, but these errors were encountered: