r/StableDiffusion • u/nmkd • Oct 03 '22
Update NMKD Stable Diffusion GUI 1.5.0 is out! Now with exclusion words, CodeFormer face restoration, model merging and pruning tool, even lower VRAM requirements (4 GB), and a ton of quality-of-life improvements. Details in comments.
https://nmkd.itch.io/t2i-gui
879
Upvotes
133
u/nmkd Oct 03 '22
SD GUI 1.5.0 Changelog:
Notes:
Low Memory Mode is a low priority for me because it's a separate codebase so adding features is hard. Also, the regular mode can now run on 6 GB easily, and even 4 GB if all other GPU apps are closed. Apart from that, it's now possible to run the regular mode on CPU, which is slow, but it works.
70
u/MrKuenning Oct 03 '22
With the headline "Stable Diffusion 1.5 is out!" you really had me going for a second. Thanks for your hard work on this project, but not for the trolling headline... ;-P
39
u/LadyQuacklin Oct 03 '22
Awesome update.
I love that you can resize the window now.
That's really nice when generation 16:9 images.I would love to see this one in the next update:
Show show image creation progress every N sampling steps.
And outpainting would be really nice, but i bet thats not so easy to create the whole base canvas system.
Keep up the fantastic work
23
u/Sgdva Oct 03 '22
Quick question, how do we prompt negatives? Like the ones here
10
u/Ihateseatbelts Oct 03 '22
Out of curiosity, how much slower is the CPU? I've only ever run Colab versions since I'm stuck with an RX570 lol. Either way, nice work my dude!
8
u/seanthemanpie Oct 03 '22
Thank you for your work! This is still my favourite implementation.
Suggestion: could you possibly have a separate text input window for negative prompts? It's a small quality of life thing, but it would really make a big difference.
7
u/Nahdudeimdone Oct 03 '22
So just for reference, I'd use this over automatic1111's webgui right? They essentially offer similar things?
6
u/EnvironmentOptimal98 Oct 03 '22
Nice!! Great work. Wondering about this statement though "2.6 seconds per 512x512 image on RTX 3090". That seems way better than other benchmarks and my experience. Has there been some optimization that has made it this much faster?
9
u/superpancake Oct 03 '22
You are amazing and I donated! I would also like to know how to input exclusion words/negative prompts properly!
3
u/JoakimIT Oct 03 '22
Man, I've tried installing SD following 8 different guides with different versions, but every time including this one I get this error message:
runtimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Does anybody know any solution to this?
3
u/moofunk Oct 04 '22
Interestingly this was not a problem for me in 1.4, but is now in 1.5. Crashes on every cancel.
2
u/KhalidKingherd123 Oct 03 '22
Is there a Colab for this one ?
2
u/pinkfreude Oct 03 '22
Is there a way to incorporate textual inversion?
2
u/Alex52Reddit Oct 03 '22
Could you add a live preview in the 1.6.0 update? Like the one shown here: https://github.com/cmdr2/stable-diffusion-ui
2
u/colinwheeler Oct 03 '22
You are still the man! Thanks. Keep it coming. What would be cool would be the option to save a text file with the same name as the image file that contains a dump of all the detail of the input like full prompt and different parameters.
2
u/glittalogik Oct 04 '22 edited Oct 04 '22
Donated after playing around with the previous version, love the continuing improvements!
Small request:
When doing a batch of 2+ images, it'd be nice to see a grid of all the results, either as the first default view on completion or via a [▦] button next to [<][>].
Clicking an image from the grid would expand it, and you could return to the grid via the [▦] button or remapping the mouse/kb 'Back' input (Back/Forward currently opens the active image in a popout viewer, same as middle-click).
(Alternatively, a thumbnail bar/carousel below the viewer - similar to what's in AUTOMATIC1111 - would also do the trick.)
2
u/BumperHumper__ Oct 04 '22
How do I upgrade from a previous version to 1.5?
2
u/ImpossibleAd436 Oct 04 '22
I get the following error, after turning on GFPGAN and using it for the first time. The first time works, but all following iterations give the error.
Failed inference for GFPGAN: CUDA out of memory
Using 1660TI 6GB
2
u/CeraRalaz Oct 04 '22
Can I make so system keep model always loadead untill I close the programm?
2
u/Kangurodos Oct 08 '22
So using 1.5 I'm curious, setting steps to 55 with Guidance at default (9) It runs without issues, but when i place it at 60? The app just says :
Running Stable Diffusion - 5 Iterations, 60 Steps, Scales 9, 512x512, Starting Seed: 1887430613
1 prompt with 5 iterations each and 1 scale each = 5 images total.
And it just freezes there, I've even left it running at night and it still showed this. So bug maybe?
3080 Ti 12gb & 32gb RAM
Rest of the settings is at default no Post Processing enabled.
Fyi - I tried it in low memory mode and it seems to be running, so +5 steps overtakes the GPU 12gbs?
2
u/ArmadstheDoom Oct 08 '22
I really wish I knew what 'pruning' was or what it did.
26
u/Euripidaristophanist Oct 03 '22
I just want to say thanks, dude.
As a professional artist, this is extremely interesting to me, and your GUI and the features you've made available are blowing my mind.
Not having to dick around with a command prompt is pure luxury, and in my eyes, no one has made a more user-friendly package than you.
Thanks for all of this, I can't wait to see what this stuff brings about in the future.
Oh, and I've donated. Because friend, you deserve it.
4
u/jingo6969 Oct 03 '22
Awesome! Paid & Downloaded, keep up the great work! Thanks.
29
u/IanMazgelis Oct 03 '22
I'm predicting that in five years or less, the best image hallucination software will be an open source one. The insane amount of use and feedback Stable Diffusion has compared to competitors like Dall-E is just an absolute blowout, and with something this complicated I think that's going to be the difference.
10
u/EarlJWoods Oct 03 '22
I'm having so much fun with Stable Diffusion thanks to this tool, and I happily donated. Thanks so much for doing this!
7
u/D0NCamillo Oct 03 '22
Tested the beta of v1.5.0 and it ran pretty well. I like the new features... negative prompts, Codeformer, model merging and pruning, delete the generated images immediately. Thank you nmkd for your work! :)
6
u/BoredOfYou_ Oct 03 '22
Incredible. Generated a 1152x1152 image on a 6GB GPU.
6
u/Parhelion3d Oct 03 '22
Best sd gui
2
u/techno-peasant Oct 03 '22 edited Oct 03 '22
What are exclusion words?
I'm guessing those are negative prompts?
10
u/ReallyFineJelly Oct 03 '22
Is AMD GPU Support planned for the future? Stable Diffusion seems to run stable on AMD with Pyroc or other methods. Having a good GUI on Windows with AMD would be just great.
5
u/MarkusRight Oct 03 '22
Yes!!! Dude I love your GUI. So good to see it got updated. You rock man!
5
u/marcusen Oct 03 '22 edited Oct 03 '22
zoom text is like going from hell to paradise, it could be good if it remembers the size in later sessions.
another suggestion, unless you plan to include many more options, I see too much free vertical space in the panel, and that it is taking up too much horizontally. It almost takes up half the window. now that the prompt is no longer on the panel Maybe you could recompose it to cover 1/3 (maybe with the titles above each control?), and the important thing is that the prompt and the image would have 2/3, or even 3/4
1
u/danque Oct 03 '22
Maybe a stupid question, but what model is this running on?
1
u/vhs199 Oct 03 '22
Does it work on RTX 1650?
1
u/jacobpederson Oct 03 '22
Anybody know if we can still "interrogate" an image with this gui?
1
u/titcriss Oct 03 '22
Do I need to install something else to generate images?
1
u/GroovyMonster Oct 04 '22 edited Oct 04 '22
The guidance scale used to default to 8 in 1.4 (and I thought it was 7 in 1.3), and now it's at 9...so I assume that's ostensibly a "better" default? Still pretty new to all this.
Also, do Parentheses around words actually work in NMKD?
1
u/MrMichaelTheHuman Oct 04 '22
Is it possible to give this model prompts with negative weights? If so, would it be formatted in the normal way e.g. "a little bit of swag::-1"?
1
u/Crafty_Programmer Oct 04 '22
You mention CPU support in your post, but the linked page's screenshots don't seem to include CPU anything. How many features can be used with only a CPU?
1
u/[deleted] Oct 04 '22
How to use exclusion words or negative prompts? I cant seem to find it
1
u/Panagean Oct 04 '22
How does your tokenizer work? I am finding that prompts more than about 300 characters (18 tokens) seem cut off - i.e. new tokens have no effect on the output. Not sure if that's an SD thing or a UI thing. Thanks!
1
u/Disfrutalamovie Oct 04 '22
Thanks! This runs so smooth. Anyone knows How Can I import a Dreambooth model into this GUI? Going baby steps on this AI image creation :)
1
u/[deleted] Oct 04 '22
Is there an easy way to do an image loop?
ie, automatically load the created image into the "load image" section so you can create hundreds of continuously morphing images. I can then leave it running over night and have thousands of slightly different and morphing images to accompany my music.
1
u/inanis Oct 04 '22
Is it possible to adjust the number of steps by 1 instead of 5? I've found I really like to look at the small variations and for some of the images step 27 will look much better than step 30 or 25.
1
u/spiderbrigade Oct 04 '22
Great update. Questions from the changelog:
Also, when an image is loaded as init image, is it supposed to remove the sampler choice?
1
u/ArturoProductions Oct 04 '22
Is there a function to upload a directory instead of single image? I'm trying to make an animation, and uploading the images one by one is pretty tiresome.
1
u/WestWordHoeDown Oct 04 '22 edited Oct 04 '22
Great work on this GUI, it keeps getting better and better.
One request would be to add an option in invert the mask function. I often only want to protect small areas on my photo, for example some text or a face and then modify everything else. Being able to use the mask function to only protect small areas would be very helpful in my work flow.
Thanks again!
1
u/Kazouzou Oct 04 '22
Awesome, love it. Is there a way we can see the images that trained the styles/object concept you provide?
1
u/WestWordHoeDown Oct 05 '22
In ver. 1.4 you could change the sampler without needing to select a new photo first. I really miss that.
1
u/swoop_ds Oct 05 '22
Your plate is full BUT if you ever get around to adding Textual Inversion that would be amazing!
1
u/darth_hotdog Oct 07 '22
This is amazing! Is there any way to run img2img with batch input? Like a video file or an image sequence?
1
u/Signmanstrr Oct 08 '22
Are there any plans to support hypernetwork/.pt files in the future, if they're not already? I know certain stable diffusion models are built around/support .pt files, so, it could be useful to make those run properly.
1
u/Panagean Oct 11 '22
How do I load a .pt concept generated by textual inversion? If I put the file in the example concepts library, load it in the GUI (and regardless of whether I resave it as .bin or not), I get an error:
[00002168] [10-12-2022 00:10:27]: File "c:\users\nicho\documents\sd-gui-1.5.0\sd-gui-1.5.0\data\repo\ldm\modules\embedding_manager.py", line 227, in load
[00002169] [10-12-2022 00:10:27]: self.string_to_param_dict = ckpt["string_to_param"][00002170] [10-12-2022 00:10:27]: File "C:\Users\nicho\Documents\SD-GUI-1.5.0\SD-GUI-1.5.0\Data\mb\envs\ldo\lib\site-packages\torch\nn\modules\module.py", line 1220, in __setattr__
[00002171] [10-12-2022 00:10:27]: raise TypeError("cannot assign '{}' as child module '{}' "[00002172] [10-12-2022 00:10:27]: TypeError: cannot assign 'dict' as child module 'string_to_param_dict' (torch.nn.Module or None expected)
1
u/kelbv Oct 13 '22
hi there, very much appreciate the software and have great fun with it. One question - is there a way to run SD GUI 1.5, or instruct it, so that I can have an external file of instructions with
prompt, seed, dimensions, steps, external concept, external image src, img weighting?
1
u/Smoke-away Oct 14 '22
Is it possible to add a syntax box for Detail (Steps)? Like the one for Creativeness (Guidance Scale)?
1
u/trueamericaaron Oct 14 '22
it keeps endlessly making random stuff after it finishes the amount of images I input to generate. Mostly random house-related things (bedrooms, furniture, pools, etc) am I missing something, or is this some sort of bug?
1
u/ImpossibleAd436 Oct 14 '22
Do you think outpainting will be something you could implement at some point?
1
u/swoop_ds Oct 26 '22
Are you planning on releasing further updates to your GUI? It’s great for shmoes like me that need things to be simple!
6
u/TimSimpson Oct 03 '22
That’s incredible! Does this version support AMD GPUs?
3
u/[deleted] Oct 04 '22 edited Oct 04 '22
just tested it out and the 1.4 upscaler preserved more detail than the new 1.5 one, especially in the face. Kinda unfortunate but 1.5 is still worth using over 1.4.
also I have absolutely zero knowledge of coding so I dont know if you can do this, but it would be cool if we could generate a batch of images starting at a lower step count and have each image go up by 5 steps, for example a 10 image batch starting at 30 steps would end at 80 steps. It would make it easier to track the progression of an image to pick out the best looking variants. I know that it can be done manually but it takes some time and it would be nice to set it at a 10 image batch while I watch some youtube.
3
u/FamousHoliday2077 Oct 04 '22
Huge positive difference in VRAM usage😮 With NMKD 1.4, I was able to generate max. 320x320 on a 3GB VRAM using the regular mode.
Now I get up to 832x832 (3GB VRAM), without even touching the Low Memory mode. Great progress!
It would be great to see NMKD Dance Diffusion GUI by the way! 🤩
4
u/Roubbes Oct 03 '22
Radeon support?
0
u/unorfox Oct 03 '22
Im using automatic 1111, do i just update the webui bat file?
2
u/BinaryHelix Oct 04 '22 edited Oct 04 '22
The 1.5 gfpgan seems broken compared to 1.4. On 1.4, I could set face restoration at .45 or less and have nearly perfect smiles every time. Now on 1.5, even maxing it out to 1, there are obvious flaws (like sliver or discolored teeth) most of the time. Even the CodeFormer settings set to max (1.0 and 0.0) do not fix the smiles like 1.4 gfpgan.
By the way, I find your GUI much easier to use than the others. I prefer excellent results, and the other popular one can't even handle simple UX such as saving image dimensions and steps.
2
u/Kesopuffs Oct 04 '22
Thank you for the update, this is amazing!
I did encounter one very minor issue which I can't figure out. Has anyone experienced any problems with setting Creativeness at 0.5 or 1? I've tried to generate images with these settings (just to see how this parameter affects things) and NMKD 1.5.0 seems to stop working every time. I've tried this with different prompts/seeds and every time Creativeness = 0.5 or 1 breaks things. When I use the same prompts/seed but with higher creativeness, NMKD 1.5.0 works great.
2
u/Dookiedoodoohead Oct 03 '22
I didn't even realize NMKD made an SD implementation, been using his Cupscale and Flowframes for ages, fantastic applications.
I've been unsuccessful at getting Automatic1111's WebUI to install so I'll be grabbing this one for sure, but out of curiosity how does NMKD's compare?
2
u/DistrictRude Oct 04 '22
Tried it, it downloads stuff by default in the C: drive, the drive that windows rapes the everloving fuck out of and is always 95% full for 95% of people.
1
u/cheechyee Oct 03 '22
Super excited to try the new version!
1
u/Touitoui Oct 03 '22
Oh yeah !
1
u/DarkerForce Oct 03 '22
Well done! Awesome work!!
1
u/JonskMusic Oct 03 '22
Thanks! Man.. so glad this exists... so I can stop spending so much money on dreamlab
1
u/dsk-music Oct 03 '22
would be great an option to autoupdate or similar...
1
u/operationtrex Oct 03 '22
Great update
1
u/operationtrex Oct 03 '22
Great update
1
u/[deleted] Oct 03 '22
Hahaha, I JUST setup 1.4.0 yesterday on my day off. This is exciting!
1
u/ElMachoGrande Oct 03 '22
My hero!
1
u/[deleted] Oct 03 '22
I can confirm this works even if you don't have the correct GPU!
1
u/DoctorMog Oct 03 '22
Awesome update. Thank you
1
u/GorgeLady Oct 03 '22
Amazing new features thanks!!
Would love "open init file folder" option in a future version where a random image is pulled from a folder of images (for like when there are a list of prompts and you're just playing around).
But otherwise I'm back to using your software now that Google is doing computer units.
Thank you!!!!!!
1
u/RDJImStuffScreenshot Oct 04 '22
Haven't tried this GUI yet. Can anyone chime in about how it compares to Automatic1111's and sd-webui/HLKY's? There are so many good repos out there that it's getting hard to keep track of them all
1
u/rrtt_2323 Oct 04 '22
good job!
1
u/ruben_arconada Oct 04 '22
¡¡¡THANK YOU!!!
1
u/qwerty_qwer Oct 04 '22
Great software man! Works seamlessly. Thanks!