-
Notifications
You must be signed in to change notification settings - Fork 2.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
Add mps-cpu Support #71
base: main
Are you sure you want to change the base?
Conversation
@lllyasviel Sorry to be so busy, but can I get a review? |
I am trying to test this on an M1 Mac, but am experiencing issues with the In order to get the dependencies:
- - python=3.8.5
- - pip=20.3
- - cudatoolkit
+ - python=3.8
+ - pip=22.3
+ - rust
- pip:
- - opencv-contrib-python==4.3.0.36
+ - opencv-contrib-python With those changes, I was finally able to activate the However, when trying to "run" the example, I get an |
I forgot about it. Thanks for pointing that out!
I found the cause and will fix it now.Sorry |
@justinseibert The fix is in! |
@lllyasviel Can you merge this PR as soon as possible, I also encountered this problem locally, thanks |
i very hope pip install controlnet can also support macOS, thanks! |
Take the chance to also replace opencv-contrib-python with opencv-contrib-python-headless, it skips some nasty glib deps. |
Summary
・Adapted stablediffusion to work on M1 mac(mps) and CPU
Currently not feasible
・gradio_seg2image.py(Reason:aten::_slow_conv2d_forward is currently not supported by mps.)