NMKD Stable Diffusion GUI 1.4.0 is here! Now with support for inpainting, HuggingFace concepts, VRAM optimizations, and the model no longer needs to be reloaded for every prompt. Full changelog in comments!
Not downloaded yet
About this post
- Posted
- Archived
- Score
- 789 · 99% up
- Kind
- Image
- ID
- xjacbf
435 comments
SD GUI 1.4.0 Changelog:
Amazing!! Please don't stop updating this!!
Exactly my thought :)
For those whose screen doesn't wrap the above / format the above:
SD GUI 1.4.0 Changelog:
Does the inpainting work in the gui or do you have to make a mask in gimp first?
Sickkk, what is next for the project? Outpainting?
hey i have a gamebreaking bug you may want to look into. The program creates a really long filename that is undeletable, it would cause random issues like it cannot be opened by the image viewer in windows.
might I suggest. Since the exe already performs with some kind of database involved. Can we keep the filename formats short and save the promt text and other details as a txt file inside that folder? Then leave the seed# in the filenames itself
Been waiting for you to add inpainting:) thank you so much for your work!
This is my favourite GUI, thanks for making it.
Love it!!! I have two NVIDIA GPU with 1 cuda device each. Can I run two instances of the gui at the same time, each one on a different cuda device?
Quick question: Will there be a queue to process multiple images (+prompt) in a row?
Can we run this on laptop with 3060 6 gb ram
I want to try it out. Will this play nice with other installations of SD in conda environments? Is it an independent environment?
Hey wondering if you ever encountered an issue where the generated image is dim?
You are just.....magic man!!!! Thank you a lot. The inpainting/mask feature is really well done, the best I've tested so far.
Congrats GG \o/
Thanks for fixing that folder issue :)
Awesome update. My aging GPU definitely appreciates the optimizations.
Deleted before we saved it.
i am actually in love with you. making ai models is cool, but making them easy to use is amazing. thank you.
Thanks A LOT ! IT's definitly the coolest way to run SD without online limitations !
I suggest small improvements : The 1 is the more easy to add and the most important in my eyes:
Option to Put the parameters Numbers in the Image filename : It will helps a lot to remember the good settings that produce the best images
What about a thing that take the last image to create next ones and so makes those cool morpho animations ?
What about a Prompt option with wildcard like * that allow the prompt to increment the prompt by changing only the wildcard by the Word List? Ex : "photo of a *, detailed realistic" And the * use a list that change the word * each line
Best
Wait, does this mean it has textual inversion functionality? Or am I missing something? Cause nothing else I've got does it easily.
I am absolutely loving this! Bear in mind that I am using a RTX2060 with 6GB VRAM:
Previous version (1.3.1) - max resolution 640 x 640
Version 1.4.0 - max resolution 1280 x 1280 (or 1472 x 832 for a more 16:9 aspect ratio)
Admittedly, rendering is slightly slow (1min 40 secs for 1280 x 1280), but WOW!!!!!
remember though the model was trained at 512x512. going too far beyond that things will start coming out weird with much reduced accuracy. the big killer feature is now being able to generate much larger batches of images at once, if you haven't tried that give it a go for sure
that makes me anxious to try this version, the resolution you speak of is something I would not expect from such a card.
I own a 2080 TI with 11 GB so I might push it even higher, I reckon.
I tried previous version on my rtx 3050 but max resolution I got was 64x64 .
YES!!! Finally my favourite SD program goes into the next round! Thank you!!
You didnt get putting info into the metadata to work?
Also, did you ever think about adding iterative rendering? (Where the image is shown every step, so you can decide wether its worthy to keep on rendering...)
How does it compare to the AUTOMATIC1111 UI?
(Keeping in mind that thing's getting updated daily, so if anyone used it a week ago they're already out of date on its features)
Auto SD has some of those features, allowing you to pivot on CFG scale, steps, or even samplers. From a workflow standpoint, those features are invaluable.
Unfortunately, that's all Auto SD does. Still, I start with Auto SD, then reproduce those settings in the AUTOMATIC1111 web gui, where I can do inpainting, etc.
Request for next verison, local build of deforum diffusion that was released (for animations), but in your easy to use gui. https://old.reddit.com/r/StableDiffusion/comments/xd5gc7/hiii_everyone_i_made_a_local_deforum_stable/
Will check it out
Some suggestions:
Allow people to point to a custom folder for the model files. That way they can use them from other installs without having to duplicate files that eat up more hard drive space.
I think a person can do this manually if they go to data > repo > configs > models.yaml and edit it appropriately to point to the proper directory, with each "." before the directory being something that tells the program to go a folder back, so you'd add the appropriate number of dots to go back the appropriate number of directories. Or I think you could simply use the full drive and folder path.
But it should be an option in the GUI settings to choose a directory, for simplicity.
Also, clicking an image makes it fullscreen, clicking it again should go back to the GUI, more intuitive.
There is a better way, you put all your model (SD like ckpt, .pth, etc) in an organized folder somewhere, and you just create Symbolic Links.
I'm on Windows, so I have one folder with different subfolders, with one that has all the trained models, the SRGAN stuff, etc. I use this application : https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html - You use it with a right click on a file "Pick Link Source", then you go in the folders the model (or whatever file) needs to go, and you right click "Drop as > Symbolic Link"
Before that I had so many duplicates of these files everywhere
Yeah I'll probably do that in the future
Noob question: Which GUIs are uncensored or can be used as such? I've just installed AUTOMATIC1111 for example.. Thanks!
Seems like pretty much all of the locally installable ones are uncensored. I've been playing with Basujindal's optimized version and the Gradio UI, super basic but it lets me do whatever.
That said, my few attempts at NSFW images so far have been 100% body horror dysmorphia nightmare fuel. I may have accidentally turned Janice Griffith into my new sleep paralysis demon (not in a good way).
Is this available for AMD GPUs ?
It wouldn’t be difficult at all to make any one of these GUIs work with the AMD/ONNX pipeline, it’s officially supported. No one with the basic know-how seems to have bothered trying though, which sucks cos it runs pretty well through ONNX. Probably not as fast as nVidia, but I get about 2 seconds per iteration on a Radeon 5700.
Haven't seen a GUI for the AMD ports yet. But like you.. keeping an eye out. Not buying an NVIDIA anytime soon so command line for now.
Thank you so much for this. I have made 1000`s of pictures.
Deleted before we saved it.
Would there be version for MacOs M1?
Yeah I’m interested in a max version as well, or how hard it would be to port to mac
Deleted before we saved it.
+1111
following this as well. what have you been using on m1 thus far?
With this fork I can make 640x1024 images on my poor GTX1650... incredible! and many thanks!
Deleted before we saved it.
Is possible to add MagicPrompts or too complex because is GPT 2 i think,
https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion
If you can add a "complete prompt" button it will been amazing
how do i use the inpainting?
So... how?
nevermind figured it out
Do we need to uninstall the old version before downloading this one?
Yeah it'd be best to delete the old one for a clean install, just the folder.
If you don't wanna redownload the model file, you can back it up and then copy it to the new installation (Data/models/).
Well deserving of a donation. :)
Great job
Found a small bug, I have a GTX1650.
I run in full presicion mode and low memory mode. All works fine!!
But if I use post processing upscale I always get "grey" images:
with upscaled:
https://i.postimg.cc/h40sgWM2/1.jpg
Without it:
https://i.postimg.cc/65jh2rkR/2.jpg
If I deactivate upscale, all wors fine. And face correction works nice too.
I use this prompt to this example, so you can see the prompt isnt the problem:
ultrarealistic photo of an astronaut cat, hq, intrincate, high detailed
Very strange, will check
Deleted before we saved it.
Same
Big ask, but what are the chances we get a Negative Prompt section in a future release, similar to this:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#negative-prompt
Thanks for all the work so far.
Negative prompts are already implemented, just with a different syntax.
hiking:1 person:-0.3should get you a hiking pictures without people on it, you get the pointNoob question: how to use HuggingFace .bin concepts?
Loading one model (or style) leads to no noticeable changes in the results from a prompt.
Thanks.
You have to mention it in the prompt using * as a placeholder for what the concept describes
Minor bug for me: When I close the settings window, the program locks up. If I kill it, however, the settings are saved, so it's not a biggie.
Every time you close the settings?
Same here
Do you have support for prompt weighting? Ideally by number, and not just
()and[]?Yes, using prompt:weight syntax
This is a fantastic piece of software. I've been enjoying using it since 1.4.0.
I have a question: with each version from 1.4.0 on up, after using the software for a while, maybe a week off and on, AVG Antivirus always starts to claim that CMD.EXE is infected with IDP.Generic, and I have to make a temporary exception for the software to run.
VirusTotal finds no such infection of cmd.exe.
I submitted my cmd.exe to AVG for testing, and eventually the IDP.Generic warning went away as, I am assuming, that as promised, AVG updated its own processes or signatures, what have you, and the flag was a false positive.
Today, StableDiffusionGui.exe 1.7.0 was flagged as Ransomware by Malwarebytes.
VirusTotal reports the following:
Cynet, Malicious (score: 100), SecureAge
https://www.virustotal.com/gui/file/8200c41a886d1d85ee582c67170a336eb232722663e498324d9b4ebbfd871d28
I am assuming this is also a false positive.
I've not installed any other new software on my PC since NMKD SD GUI 1.4.0 and subsequent versions.
My daily scan by Malwarebytes did not find anything, so I am at a loss as to what is going on.
Has anyone else experienced this issue?
Anyway, whomever reads this, please support u/nmkd . The SD GUI software is too good NOT to support it in some way.
Friendly reminder to ditch all Antivirus software except Defender, they're useless.
Anyway, feel free to compile it yourself if you're paranoid about it. There's nothing malicious in there.
I just ran into the same problem, StableDiffusionGui.exe 1.7.0 was quarantined by Malwarebytes as ransomware. The Malwarebytes report says: "Event: RTP detectionEvent, details: Malware.Ransom.Agent.Generic". I don't know what to make of this
Cool.
I do have a question, though...
Does it produce an invisible watermark? If so, how can I disable it?
It does not
1024x1024 on a 6GB RTX2060 with no need for low memory mode. this is crazy how this evolves.
thanks for the contribution
Don't forget that the model was trained on 512x512 images. By setting a higher resolution for generation, you won't always get a better detailed image. Instead, you'll get weird artifacts, duplicate objects, and other glitches. After some time of pain, you will get the idea to reduce the resolution of the image. Unfortunately, there is no such thing as magic, even if the new technology looks like magic. :)
how can i unistall de 1.2 version for install 1.4 version?
Delete the old folder, extract the new one
Great job. Best SD GUI so far!
It would be nice, if you could use the seed from the currently selected image with just a button click. And may be being able to copy prompt + settings in one set. To make sharing easier. :)
You can by right-clicking it.
https://i.imgur.com/sCDkt0N.png
Thank you sooo much!
This is simply amazing.
Next update Outpainting? 😅
Our painting would be cool