-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Apple Macbook Pro M1 extremely slow #1446
Comments
Here's what I found regarding your problem. Let me know if it works! Troubleshoot Error: "I am using Mac, the speed is very slow." Some MAC users may need |
Thank you @foreignstyle for the suggestion. Didn't make any difference sadly
|
I also have the same configuration, increasing it by one to 30.40/s/it through the following command, but the improvement is not significant huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks... |
Might be memory but it seems others have chimed in with the same set up. I have 64Gb and set to extreme speed, I pumps out like 4 renders in a few minutes. |
i have some problem [Parameters] Adaptive CFG = 7 extremely slow estimated time 1:14:48 |
I can't claim credit for this. Someone else suggested using this and it speeds everything up hugely. python entry_with_update.py --always-cpu --disable-offload-from-vram --unet-in-fp8-e5m2 --preset realistic |
Tnx bro! I've seen an improvement, but it's still far from desirable 36.39s/it App started successful. Use the app with http://127.0.0.1:7865/ or 127.0.0.1:7865 |
Thanks @TattyDon . |
Is that the only thing you changed or did you make any additional configuration changes? I feel like we should get a short discussion with all the best tips to improve performance on Apple silicon. |
That's ok I have changed - it's down to about 20 seconds / I for me. Not perfect but also not unusable (M1) |
Has anyone here heard of Apple MLX? https://github.com/ml-explore/mlx I'm tired of using these general purpose, NVIDIA oriented frameworks and seeing people on Apple Silicon be surprised that their computers are not performing as expected. Someone should break the status quo and try implementing this framework into their LLMs and apps :D Cheers! |
|
Can you tell me where to put this script? I'm very bad at this.
|
Just type it in terminal |
Issue
I have installed on Apple Macbook Pro 2021, M1.
It is taking over 15 to 30minutes to create each image. People claim on various forums it only takes 1 minute on the same device. Can anyone advice on how to speed up image creation?
Full Console Log
Setup
MPS enabled
'Metal Performance Shaders' is enabled after I followed the Accelerated PyTorch training on Mac and I get the following output:
## Settings:
Style
Model
Setting
The text was updated successfully, but these errors were encountered: