r/StableDiffusion • u/Independent-Disk-180 • Oct 10 '22
InvokeAI 2.0.0 - A Stable Diffusion Toolkit is released
Hey everyone! I'm happy to announce the release of InvokeAI 2.0 - A Stable Diffusion Toolkit, a project that aims to provide enthusiasts and professionals both a suite of robust image creation tools. Optimized for efficiency, InvokeAI needs only ~3.5GB of VRAM to generate a 512x768 image (and less for smaller images), and is compatible with Windows/Linux/Mac (M1 & M2).
InvokeAI was one of the earliest forks off of the core CompVis repo (formerly lstein/stable-diffusion), and recently evolved into a full-fledged community driven and open source stable diffusion toolkit titled InvokeAI. The new version of the tool introduces an entirely new WebUI Front-end with a Desktop mode, and an optimized back-end server that can be interacted with via CLI or extended with your own fork.
This version of the app improves in-app workflows leveraging GFPGAN and Codeformer for face restoration, and RealESRGAN upscaling - Additionally, the CLI also supports a large variety of features:
- Inpainting
- Outpainting
- Prompt Unconditioning
- Textual Inversion
- Improved Quality for Hi-Resolution Images (Embiggen, Hi-res Fixes, etc.)
- And more...
Future updates planned included UI driven outpainting/inpainting, robust Cross Attention support, and an advanced node workflow for automating and sharing your workflows with the community. To learn more, head over to https://github.com/invoke-ai/InvokeAI
14
u/[deleted] Oct 10 '22
Been using this repo day and night since the first release, haven't bothered with anything else. Just want to say a quick thank you here since I don't have an account on github. I follow there every day and track all the discussions and test the development branches as new features are implemented.
Loving Embiggen implementation, very powerful stuff in that one feature alone.
Also thanks for the work getting K samplers to work with img2img, doesn't look like that was easy to implement, followed all the dialogue there during that process and tested all the changes during since I really wanted this feature for img2img in a bad way. Huge boost to the quality of the style I work on.
I don't bother with other installs simply because I'm used to this one and it does all that I need it to do and it's fast. Only thing I think it needs is an implementation of Automatic1111 style highresfix. That would be very useful.
Also an option to not generate a log when you create images would be helpful, the log is redundant since the prompt and settings are stored per image and having to delete the log or click away from it when transferring output to saved image folders is an extra two clicks I could do without as a heavy user I have to do that hundreds of times a day. Either have to confirm file replace when I drag my image output to my saved folders if there's already logs in there, or have to not select the logs when dragging and dropping. Just rather there be a way to opt in to having no logs created to avoid the whole thing.
Super minor nitpick. One last minor nitpick, in the console I get some error message about my image size not being my default size and If I run out of ram I can use a smaller size or something like that whenever I gen a batch of images, since I rarely use 512x512 I have to see that annoying message every single time. I can live it with it for sure though lol just really small annoyance I'd rather not see at all.
Thanks again for your work and dedication on this project, loving it since day one!
50
u/dsk-music Oct 10 '22
We need an installer... To dumbs!
18
u/FluffNotes Oct 10 '22
Can it work with CPU only?
39
u/blueSGL Oct 10 '22
What does this do that the Automatic1111 repo doesn't ?
5
u/Appropriate_Medium68 Oct 10 '22
Thanks dude, much appreciated
5
u/EnvironmentOptimal98 Oct 10 '22
Awesome! Thanks for the giant contribution to the community! And for keeping the MIT license!
4
u/Arktronic Oct 10 '22
Whoa, that web UI looks like a huge improvement from the previous one! Nicely done! I'll update my meta-fork to this version soon.
3
u/AramaicDesigns Oct 10 '22
Huzzah!
2
u/mobdk Oct 10 '22
Sorry, but I am a non-programmer / creative trying to get this working on my M1 Mac:
At this step:
# BEGIN ARCHITECTURE-DEPENDENT STEP #
# For M1: Create the environment & install packages
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-arm64 conda env create -f environment-mac.yml
I get this error message in the Terminal:
-bash: conda: command not found
What am I doing wrong?
2
u/cosmicr Oct 10 '22 edited Oct 10 '22
I have found this to be harder to install than Automatic1111.
I'm using the jupyter notebook, but there's heaps of dependencies missing and I've had to insert extra code to make it work.
That said, it's refreshing to use a different interface than a1111's.
2
u/oddFraKtal Oct 11 '22
I installed InvokeAI on my Pc with Win11 and RTX3090.
I followed this installation method:
https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install
The procedure was performed correctly, without any error or problem.
InvokeAI works well and coexists with Automatic1111 installed in a different folder.
2
u/JakeQwayk Oct 11 '22
Is there a better installation guide? I’m finding all the bash quotes and command line to be confusing and not work when I copy and paste it…
4
u/internetuserc Oct 10 '22
Why no AMD GPU?
1
u/[deleted] Oct 10 '22
It looks great. I'm about to try it out. Thanks!
1
u/crischu Oct 10 '22
Cool, I'll try it
1
u/papinek Oct 10 '22
This. I have been using this repository for few weeks by now and it works the best on my Macbook M1 from all I have tried.
1
u/crischu Oct 10 '22
How do you make it run with 3.5 gb VRAM? I'm trying to run it with 4 gb and it's not working by default.
1
u/DarkFlame7 Oct 10 '22
I have to say, the setup process for this really needs a lot of improvement. The instructions are clear, but they didn't work right all the time and didn't cover some steps. I feel like a lot of it could be automated.
1
u/amotile Oct 10 '22
Does it support prompt blending?
Does it support complex seed travel? seedA 25% seedB 25% seedC 50%
1
u/Kukurisu Oct 10 '22
The web UI works fantastic! Anyone else getting the same error when trying to upscale? "Server error: local variable 'upsampler' referenced before assignment"
1
u/use_excalidraw Oct 10 '22
how timely...
1
u/ArmadstheDoom Oct 10 '22
This looks really interesting! Now I just hope it becomes as easy to use as the NMKD gui is.
1
u/halr9000 Oct 11 '22
Never heard of this one, and I like hlky, but more the merrier! Def will check it out.
1
u/rewndall Oct 11 '22
I've just had to reinstall this version on my Mac M1 Max. Just saying that the web interface is wonderful! Congrats and thank you very much for your hard work.
1
u/cdammr Oct 13 '22
Thanks so much for making something focused on M1 macs!! It's depressing sometimes seeing all the windows & NVidia talk haha.
As some have mentioned, I'm not a programmer either so I'll be holding on until a GUI with outpainting etc is available... but I appreciate the work y'all have put in so far and I'm looking forward to more!!
1
u/Wild-Chard Oct 31 '22 edited Oct 31 '22
I've been playing around with InvokeAI on both my hardware (Mac pre-M1) and Google Colab... does it seem to run slow for anyone else?
I use img2img a lot for my art, and while I absolutely prefer how InvokeAI handles it, after upgrading to a very decent setup on Colab it takes over 15 minutes (on my Mac's CPU it took 35! Oof).
Does anyone know how InvokeAI handles DDIM sampling or how their pipeline is different? I'm trying to decide if I should troubleshoot Invoke or go back to CompAI and try to implement the same sampling methods
(edit) I understand that InvokeAI starts sampling img2img at step 13/50, whereas CompAI starts at 0 and goes to 40. Not sure if that's what's contributing to the (significant) increase in accuracy
1
u/JohnnyDexco Dec 07 '22
Does it have a collab with that UI?
1
u/Robot1me Jan 06 '23
This is really great and handy for lower end machines and automated command line handling. I just wish there was a lifting of the token limit of 77. Please reconsider to not see legit feature implementations as "political". This would help transitioning prompts from Automatic1111 UI.
1
u/ryunuck Oct 10 '22
Why don't you combine your efforts and work on AUTOMATIC1111 backend instead? It's the de-facto implementation for StableDiffusion, always on top of the game with the most recent optimizations and improvements. All this does is fragment the community and waste efforts.
0
u/[deleted] Oct 10 '22
It doesn't have this yet? I've been looking for something similar to the Dreamstudio UI that can do inpainting and img2img locally. webui is too confusing for me to use for either.
0
u/[deleted] Oct 10 '22
[deleted] — view deleted comment
2
u/[deleted] Oct 10 '22
[removed] — view removed comment