-
Notifications
You must be signed in to change notification settings - Fork 5k
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 #163
base: main
Are you sure you want to change the base?
Add mps-cpu support #163
Conversation
Hi, |
This is the result in my environment for txt2img.py!
|
Thanks for testing! Hope can be merged soon! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice work! Hopefully, this is able to be merged.
If there is a problem, I'll revert 90d4c71 |
Can confirm this works more or less on M2 w/ 16GB (although I'm not sure how you generated 768x768, that crashes for me in allocating a buf) |
Summary
・Adapted stablediffusion to work on M1 mac(mps).
・ Created an automatic device detection system for #147
Feature
・Support mps for txt2img.py, img2img.py, gradio and streamlit
・Add mac config(v2-inference-v-mac.yaml)
Of course, it can also run on cuda