-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Tried to run diffusers/stable_diffusion.ipynb on Mac M3 and ran into errors #9967
Comments
Very excited b/c I fixed it! It works locally perfectly now! Love the image generation and thank you for your work. Let me know if you'd like the PR! |
Of course, please feel free PR it :) Thank you! Cc: @pcuenca |
excellent @sayakpaul i will prepare and submit today! |
Added PR in huggingface/notebooks#533 |
How did you fix this? |
@pcuenca the fix was this line:
I Googled around and found someone saying that you need these versions of those libraries to make it work on Mac OSX and this worked for me. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
fixed in #533 |
Describe the bug
I tried to run diffusers/stable_diffusion.ipynb on Mac M3 and it failed in several parts, including:
ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils'
due to conflicting librariesmps
deviceI went ahead and updated the notebook and have a PR I could submit if interested that fixes it. I just made a copy of the notebook and added _macosx.ipynb to it. I realize some fancier way could have been to try some if/else guess system types in the notebook else, but I just opted for fixing it separately.
Reproduction
Tried on a brand new Mac M3
Logs
Don't really have logs
System Info
Brand new Mac M3 Max running Sonoma 14.6
Who can help?
No response
The text was updated successfully, but these errors were encountered: