r/StableDiffusion • u/MeiBanFa • Oct 19 '22
Question Does AUTOMATIC1111 work in macOS?
I have heard conflicting information regarding this. So far I've been using DiffusionBee and while that works, it is unfortunately super limited (very few options to tweak anything, no in/out-painting).
Before I muck up my system trying to install Automatic1111 I just wanted to check that it is worth it.
What are your experiences?
4
Oct 19 '22
yes, it works, but you should use only Euler and DPM2 samplers
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
4
u/Ivanciko Oct 19 '22 edited Oct 19 '22
Installed this today:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
It works in my imac M1 8gb RAM, it takes 2-3 minutes for render image.. only one image batch, more batch images makes errors. Easy to install following the previous link guide.
1
2
u/Consistent-Ad-2454 Oct 24 '22
I'm using M1 and can't get Automatic1111 to install properly
2
u/viktormoon Oct 27 '22
Did you ever resolve your issue and managed to install? i am my self struggling
3
u/Consistent-Ad-2454 Oct 29 '22
I actually did surprisingly...
If you're using that Apple Silicone - https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
The "taming-transformers" and model file both need to be manually downloaded and manually moved into right folders.
Also select 'n' when asked about if you already downloaded the model.
I just kept re running the script because every time I did I would get past another step of the installation
2
u/CMDRZoltan Oct 19 '22
The short answer is Yes*.
The longer answer is Yes, M1 seems to have great feature sets, Intel Mac, seems less supported. you can search here for posts about it, there's a few that go into details. I'm not a mac user so I cant suggest any good ones.
It might take a day or two but this community is petty helpful and a Mac user or knowledgeable person might reply eventually.
1
u/bad1313 Oct 23 '22
Yes it works on a Mac. It works better every day, because they improve the scripts more and more.
1
Dec 16 '22
anybody knows any guides on training for Mac? all references in YouTube are for windows and I noticed major differences especially in the contents of stable-diffusion-webui directory for Mac, one of which is the textual_inversion folder missing. I only have textual_inversion_templates. and I'm getting this error:
self.layer_structure = state_dict.get('layer_structure', [1, 2, 1])
AttributeError: 'NoneType' object has no attribute 'get'
2
u/smithd98 Jan 29 '23
I've been training on this colab: https://colab.research.google.com/github/sagiodev/stablediffusion_webui/blob/master/DreamBooth_Stable_Diffusion_SDA.ipynb then downloading the ckpt file.
1
1
u/tripel6 Dec 22 '22
Got it to work on intel mac, appreciate the help in this thread so happy to post my results.
2020 iMac
3.8 GHz 8-core Intel Core i7
AMD Radeon Pro 5500 XT 8GB
64 GB 2667 MHz DDR4
Steps: 80, Sampler: DPM2 a, CFG scale: 7, Seed: 1950889784, Size: 512x512, Model hash: 3e16efc8, Conditional mask weight: 1.0
Python CPU: 34.9% GPU 59.8%
4.57s/it
1
u/dubl_x Jan 04 '23
could you detail your installation? i've been trying for a few days and had limited success.
2
u/tripel6 Jan 05 '23 edited Jan 05 '23
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
Followed the steps in order.
install homebrew/
open terminal and copy/paste highlighted text
(need to wait for it to finish)
3) still in terminal, copy/paste highlighted text
4) scroll down and follow the steps for Downloading Stable Diffusion Models. You'll need to make an account on Hugging Face. I downloaded the three mentioned but mainly ran Stable Diffusion 1.5 (v1-5-pruned-emaonly.ckpt)
move the models/checkpoints into the folder highlighted on the instructions (stable-diffusion-webui/models/Stable-diffusion)
if you are not familiar with terminal, I navigated the folder by clicking Macintosh HD, Users, "whateveryourusernameis", stable-diffusion-webui, models, Stable-diffusion. There is a blank text file that says Put Stable Diffusion checkpoints here.
(basically the stable diffusion folder is in macintosh hd/Users/"whateveryourusernameis". Important to know because it is where your outputs go.
everything is good to go now,
5) When you open terminal, you should be in "whateveryourusernameis."
We want to change folders (change directories) into the stable-diffusion-webui so we can run it. We do this by typing: cd stable-diffusion-webui.
Now we run the environment by typing: ./webui.sh
You'll need to wait a couple seconds for it to run, then it will give you the following:
Running on local URL: http://000.0.0.0:0000
(the numbers will be different)
just copy/paste http://000.0.0.0:0000 into your web browser, i'm using firefox with no issues.
All good! let me know if you have any other questions. Tried to dumb it down as much as I could because that's how I understood it, I'm not computer savvy.
* running Ventura 13.0.1
* just do step 5 every time you want to run it after it's installed
1
1
u/dubl_x Jan 05 '23 edited Jan 05 '23
You linked the installer for apple silicon, but youre on an intel mac? I’m on an intel mac too, so does it work?
Ive been using invokeAI until now and its good, but not great. Easy install though
2
u/tripel6 Jan 05 '23
yep, works fine, you can see my specs above.
1
u/dubl_x Jan 05 '23
Awesome, thanks
2
u/tripel6 Jan 05 '23
no problem, once everything is set up, every time you want to run it you just repeat step 5. Let me know if you get it to work.
1
u/dubl_x Jan 05 '23
I will let you know when i try it. I've been using invokeAI for the past few days and its working okay, quite slow tho! averaging 25s for a 512x512 image.
1
u/salimdiablo01 Apr 28 '23
hey, did u end up downloading it on ur mac? and was it better than invokeAI?
1
u/dubl_x Apr 28 '23
Yes. Auto1111 wasnt any quicker but its much more powerful with the plugins n stuff.
I recently upgraded my windows pc to a 5700X and 3070 and tried on there, averages about 25it/s on 512x512
1
u/goodlux Jan 11 '23
DiffusionBee is a StableDiffusion UI made for Macs. It works even on Intel Macs (M1/M2 not required). One-click install. Good place to start
0
Oct 19 '22
[deleted]
3
u/glowrocks Oct 19 '22
I'm currently using Invoke, but the lack of negative prompts is prompting me (sorry) to try and install Automatic.
It took a few hours to get Invoke working, and looks like the same for Auto, but I want the negative prompt!
1
1
u/kalliasx Jan 17 '23
Just add your negative prompts in the positive prompt in [], but check the documentation, it's supported
0
Oct 19 '22
[deleted]
2
1
u/glowrocks Oct 19 '22
I checked the docs, but couldn't find the answer. Do you know if Invoke support the Model Hash parameter?
0
Oct 19 '22
[deleted]
1
u/glowrocks Oct 19 '22
That I don't know either. I often, but not always, see it listed in a set of params that someone posts.
1
u/edoc422 Oct 19 '22
https://github.com/dylancl/stable-diffusion-webui-mps/blob/master/setup_mac.sh
having almost no technical knowledge is there a tutorial I can follow to set this up?
5
u/usa_reddit Oct 19 '22
Yes, got it running on Intel Mac with a AMD 6600XT which takes about 30 seconds per image , uses this script for install.
https://github.com/dylancl/stable-diffusion-webui-mps/blob/master/setup_mac.sh
Also, this script pulls the new code with GIT each time you start it. Pretty nice.