-
Notifications
You must be signed in to change notification settings - Fork 999
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
MacOS Support #35
Comments
@yuriten Mac Support is a big subject. I know that If you or anyone would like to contribute and implement it I will gladly add it to the repo. related #31 |
There's also SD in app format for Mac (Apple Silicon) now: https://github.com/divamgupta/diffusionbee-stable-diffusion-ui. Probably easiest way to get SD running there while the Docker ARM support is lagging behind. |
gm, |
@AdamGoyer Running the AUTOMATIC1111 UI without Docker following the wiki docs has been easiest and most feature rich way to run SD Web UI on M1 Mac from what I have tried out. Works quite fine with 16GB ram model at least. It uses Python machine learning packages customized for Mac hardware. GPU passthrough for (Docker) VM is not available there and might take a while to happen. |
Thank you for the follow-up @jasalt , |
@AdamGoyer Haha, nice. It would be cool for sure but I wonder if it's even possible without Docker adding GPU passthrough like WSL2 which only Parallels and virgl seem to be able to do in some extent (ref https://apple.stackexchange.com/a/453103/29042). Or maybe use some tricks to use the PyTorch etc. from Mac side.. |
@yuriten you need to remove the nvidia and gpu related dependencies in the https://github.com/AbdBarho/stable-diffusion-webui-docker/blob/master/docker-compose.yml since your machine dont have GPU as below. version: '3.9' x-base_service: &base_service name: webui-docker services: invoke: &invoke comfy: &comfy comfy-cpu: |
Docker Compose Configuration: |
@jasalt I made a docker image that spinds up locally (mac m3) and launches the I got it to work using the vscode method from think link but that only worked in vscode cuz gradio is so fun. So I hacked together an image you can build and run locally, without requiring vscode; just needs the simple commands: docker build -t sdwebui:lite -f Dockerfile .
docker run -it -p 7860:7860 sdwebui:lite This has been tested and works, but the Dockerfile is a mess haha. Deff not something good enough to submit for a PR yet. Whenever I have the time Ill clean it up and put in a PR, or anyone else who wants to make it prettier/remove duplicate logic can. Until then, Im currently in the process of pushing it to docker hub:
All this to say -- its possible, I have the code; just need to find the time so a PR isn't embarrassingly ugly haha. |
anyone who wants access to the really bad dockerfile can have it (just no shaming until its cleaned up haha) |
PR is open, please see notes/comments for discussion. |
Steps to Reproduce
There are no problems with the previous steps, but the last error is reported:
Hardware / Software:
What do I need to do to fix this?
The text was updated successfully, but these errors were encountered: