Offline Standalone Mac Installer for Stable Diffusion Web UI (unofficial) 20230330 #1
Replies: 12 comments 16 replies
-
Is it a self-contained installation, relatively easy to remove, if necessary? It will play nice with the Auto1111 installs we already have? Does it install as a regular app, or more like at git repo setting up in whatever folder you run the installer from? |
Beta Was this translation helpful? Give feedback.
-
I'm on an M1Pro, 16 GB, 13.2.1. Before starting this new version, I copied over all the models, extensions, etc from the old install. The new app started fine, seemed to pick up stuff from the pieces I added in, like grabbing ffmpeg to support text2video which we found over the weekend that Mac's can't support yet. No unusual warnings or errors. The web interface connected and at first glance looks fine. It'll take me a bit now to put it through some paces. I'll update after. I have some run timings recorded from a few days ago. If all is well. I'll rerun the same settings to get a comparison. Hope you get some 13.3 testers soon. That is where things were breaking down. |
Beta Was this translation helpful? Give feedback.
-
This install is idiot proof, so you succeeded at that goal. The old install itself wasn't bad, but the prerequisites were hard on a novice and installing xCode, command line tools, takes up a ton of space, and learning git, pip, conda, whatever was all new to me and not anything a normal person would want to touch. This new one was like using an app store app. Maybe just needs a warning that it'll seem like it isn't doing anything for a minute or two while it sets itself up. |
Beta Was this translation helpful? Give feedback.
-
Had a crash of a browser tab while going through all the settings, on like the last part. Needed to go through them all again, this time saving along the way. Crashed the tab at the same place a few times, but eventually made it through. Feels like a Gradio issue. Browser is Firefox. Updated my extensions. Gonna fully restart the app next and then try some generating. |
Beta Was this translation helpful? Give feedback.
-
Seems to be all ok here. It starts up noticeably faster than it did before, or maybe I don't have much else running and it was able to cache more of the app in memory. It's generating fine with Hi Res fix om, using a 1.5 fp16 model and using Euler and DPM++ SDE Karras, which are the 2 I stick to. I'll check speed next. Then I'm off for a nap. This was an up all night, but well worth it. I really hope this helps the folks using 13.3. There wasn't much method to the madness. So many different versions of packages. I use some complicated audio apps in Debian, and one programming group does not release through the normal repo channels. All their apps are what I think is called "statically linked". All the dependencies are included with each release of the apps. Whatever else happens with general system updates doesn't touch the apps. It is a rational way to handle a fast changing world. |
Beta Was this translation helpful? Give feedback.
-
When I try to open the installer [install-web-ui.7z] it says "Install Web UI” is damaged and can’t be opened. You should move it to the Bin." I'm on 13.3 and have tried redownloading, different unarchivers. Looks like @MDMAchine had a similar issue - anything else I can try? |
Beta Was this translation helpful? Give feedback.
-
I was just able to pull in an extension from the extensions tab (off github) ok, but I don't know which place it ran git from. MD, your git was running from homebrew. There is a git in the new package. Maybe I can see in the console which mine used. I'm curious why it went to homebrew for you. |
Beta Was this translation helpful? Give feedback.
-
So far so good, added --listen so i can use another computer to make the generations. Outside of my situation with the extensions not pulling, and ngrok not working even if I add pip install xxxx everything so far is working as intended. Now an issue I saw as well with my optimized mac version was certain processes "worked" but resulted in a radical degrade in performance afterwards. One that I knew to test was upscaling with default parameters using the SwinIR 4x upscaler. It results in a corrupted image, and any procedure afterwards is painfully slow (I ran a image generation that normally would take 10 seconds and its currently at 3:19). Another instance that I havent tested but will soon, is if I ran hi-res fix with anything other than latent the same thing would happen. Granted I have not received an update for 13.3 yet and I didnt want to do the dev route. |
Beta Was this translation helpful? Give feedback.
-
I'm running each batch of settings twice in a row and using the times just from the second run. Using a batch count of 2 and dividing the batch time in half. My baseline is a 512x512 with 24 steps using Euler. Takes 22 seconds. When I just change the size for the straight run to 768x768, the time goes up to 75 seconds. So that feels like a geometric change, and it's big. Going back to an initial 512x512 and setting the Hi Res Fix at 1.5x to get to the 768x768 again, with 14 steps for the Hi Res pass, using "None" as the upscaler, I hit 65 seconds. Again. the time seems to be scaling almost geometrically with the size increase. Switching to Latent Bicubic Anti-aliased is the same 65 seconds. With ESRGAN4x, which is what I found to be the best compromise between time and quality when I dug into this last week, the time goes up to 72 seconds, a 10% bump. With SwinIR4x, the time jumps to 102 seconds. I see no improvement at all, so on my rig it is just burning time. It doesn't screw up anything afterwards, but I have 16GB and I think you said you have 8, and maybe it isn't flushing memory well but I have more to hide the issue. FWIW, I remember R-ESRGAN4x being terribly slow and no better quality, just like SwinR4x. I think I found R-ESRGan2x to be the same as ESRGAN2x in speed, but a bit sharper in a way that seemed less natural to me. It might be better with larger images that can handle more sharpening. Then I went back to the ESRGAN4x and changed the number of Hi Res steps, with everything else kept the same. Dropping from 14 HR steps to 4, the time dropped to 44 seconds, which makes sense. The iterations per second stay more or less constant and the time varies directly with the number of steps. But the time saved with just 4 HR steps left a somewhat fuzzy image with some noise artifacts. Going the other way, up to 24 HR steps (the same as the number of first pass steps) the time went up to 100 seconds. Again linearly proportional to the increase in steps, and with no improvement in image quality that I could see. In fact, it starts to change faces and other details from the first pass. So if you tell it to also save before doing the Hi Res fix, you get 2 minor variations for the price of 1, but at the 2 different resolutions. Seems better to run the batch again at the middle Hi Res step count and get 2 images from different seeds. Now this is all with the Hi Res Fix. The upscaling pipeline might be completely different. I never tried it and don't plan to. Staying with the Hi Res Fix keeps all the settings closer together for me and I find that less stressful to deal with. Frankly, there are way too many options for my temperament. I've been removing things from the interface that I don't use once I more or less decide on what I do use. I've also noticed the GPU (and memory) spiking and falling, but within individual runs, like they are breathing, even when it seems they must be doing a tight loop over and over. Doesn't happen at all with the CPU. Doesn't make sense, and I don't know if I trust the app I use to monitor that stuff to be accurate. The hiccuping while in a run is actually worst with Mochi for me, and the overall levels spike highest there. Watching something ht 97% scares me. |
Beta Was this translation helpful? Give feedback.
-
Have you played with "tiling"? I'm not really sure what it does, but taking the word literally, it may work on sections and then stitch them together. Might still be slow, but there could be a tile size that was rock stable given a particular amount of memory. If it's available on the tab that does batching, you could run it over night when time doesn't matter as much. |
Beta Was this translation helpful? Give feedback.
-
Yep. Now that you mention it, I remember reading that 2 or 3 days ago in regard to a pattern making model I was converting. |
Beta Was this translation helpful? Give feedback.
-
thank you! |
Beta Was this translation helpful? Give feedback.
-
This is an offline standalone installer for a slightly modified version of AUTOMATIC1111's Stable Diffusion web UI (changes were applied to AUTOMATIC1111@a9fed7c). All dependencies needed to start using Stable Diffusion (other than the model) are included and this does not require Xcode command line tools to be installed.
Currently only Apple silicon Macs are supported. macOS 13.3 or later is highly recommended, older versions of macOS are untested.
This discussion was created from the release Offline Standalone Mac Installer for Stable Diffusion Web UI (unofficial) 20230330.
Beta Was this translation helpful? Give feedback.
All reactions