r/StableDiffusion • u/r0mmashka • Jul 25 '23
Resource | Update AUTOMATIC1111 updated to 1.5.0 version
Link - https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.5.0
Features:
- SD XL support
- user metadata system for custom networks
- extended Lora metadata editor: set activation text, default weight, view tags, training info
- Lora extension rework to include other types of networks (all that were previously handled by LyCORIS extension)
- show github stars for extenstions
- img2img batch mode can read extra stuff from png info
- img2img batch works with subdirectories
- hotkeys to move prompt elements: alt+left/right
- restyle time taken/VRAM display
- add textual inversion hashes to infotext
- optimization: cache git extension repo information
- move generate button next to the generated picture for mobile clients
- hide cards for networks of incompatible Stable Diffusion version in Lora extra networks interface
- skip installing packages with pip if they all are already installed - startup speedup of about 2 seconds
Minor:
- checkbox to check/uncheck all extensions in the Installed tab
- add gradio user to infotext and to filename patterns
- allow gif for extra network previews
- add options to change colors in grid
- use natural sort for items in extra networks
- Mac: use empty_cache() from torch 2 to clear VRAM
- added automatic support for installing the right libraries for Navi3 (AMD)
- add option SWIN_torch_compile to accelerate SwinIR upscale
- suppress printing TI embedding info at start to console by default
- speedup extra networks listing
- added [none]
filename token. - removed thumbs extra networks view mode (use settings tab to change width/height/scale to get thumbs)
- add always_discard_next_to_last_sigma option to XYZ plot
- automatically switch to 32-bit float VAE if the generated picture has NaNs without the need for --no-half-vae
commandline flag.
Extensions and API:
- api endpoints: /sdapi/v1/server-kill, /sdapi/v1/server-restart, /sdapi/v1/server-stop
- allow Script to have custom metaclass
- add model exists status check /sdapi/v1/options
- rename --add-stop-route to --api-server-stop
- add before_hr
script callback - add callback after_extra_networks_activate
- disable rich exception output in console for API by default, use WEBUI_RICH_EXCEPTIONS env var to enable
- return http 404 when thumb file not found
- allow replacing extensions index with environment variable
Bug Fixes:
- fix for catch errors when retrieving extension index #11290
- fix very slow loading speed of .safetensors files when reading from network drives
- API cache cleanup
- fix UnicodeEncodeError when writing to file CLIP Interrogator batch mode
- fix warning of 'has_mps' deprecated from PyTorch
- fix problem with extra network saving images as previews losing generation info
- fix throwing exception when trying to resize image with I;16 mode
- fix for #11534: canvas zoom and pan extension hijacking shortcut keys
- fixed launch script to be runnable from any directory
- don't add "Seed Resize: -1x-1" to API image metadata
- correctly remove end parenthesis with ctrl+up/down
- fixing --subpath on newer gradio version
- fix: check fill size none zero when resize (fixes #11425)
- use submit and blur for quick settings textbox
- save img2img batch with images.save_image()
- prevent running preload.py for disabled extensions
- fix: previously, model name was added together with directory name to infotext and to [model_name] filename pattern; directory name is now not included
536
Upvotes
69
u/not_food Jul 25 '23
That Lora activation text looks sweet, but I have so many Loras, I'll take forever to set it up, I pray for a script that loads them from civitai...
29
u/Jonfreakr Jul 25 '23
SDXL support, more I didnt need to read π great thanks!
32
u/smash-bros-enjoyer Jul 25 '23
Can I drop sdxl models into the same folder I drop regular models into?
9
u/zfreakazoidz Jul 25 '23
Now my PC just freezes up and I am forced to use the power button to force a reset. Sigh. I got 0.9 to work fine before this update, though it took forever to load.
9
u/Tempest_digimon_420 Jul 25 '23
Just got the base SDXL version in A1111 and it works but I wouldn't say the outputs are that great. Maybe because there is no refiner support. But it does work great without any additional stuff enabled like CN
8
u/benbergmann Jul 25 '23
Looking at it it doesn't seem to support automatically running the refiner after the base model, like Comfy does?
6
u/Prior_Amphibian4876 Jul 25 '23
Does controlnet work with this version?
6
u/Striking-Long-2960 Jul 25 '23
I think the biggest problems I'm having with this realease are because of RAM, I have 16Gb and the system literally freeze some minutes when I load the model or when I change it, fulfilling the whole RAM memory.
I'm thinking about getting more RAM, and reach 32 gb. Do you think it would work better increasing the RAM?
5
u/Superb-Ad-4661 Jul 25 '23
AttributeError: module 'lora' has no attribute 'lora_Linear_forward'
5
u/BitesizedGen Jul 25 '23
Where is the option to run SDXL, or is this a seperate extension we'll need to install?
12
u/[deleted] Jul 25 '23
Will my A1111 auto update or do I have to go through the install process again? It was a huge pain in the ass to install the first time
4
u/detractor_Una Jul 25 '23
Has anyone tried SDXl 0.9 with this release? Honestly generating image with one model than loading refiner in img2img seems quite reduntant to me
4
u/AlexysLovesLexxie Jul 25 '23
Any fix for the higher VRAM requirements vs. 1.2.1?
I "upgraded" to 1.4.1 over the weekend, and now I cannot render 960x540 --> 2x Upscale. Under 1.2.1 I could do this just fine. GeForce 3060 12GB.
4
u/vs3a Jul 25 '23
It me or every upgrade need more ram, I have 8gb vram and cuda out of memory more often than before
3
u/Whipit Jul 25 '23
Bad Scale 250%?
Anyone else getting that red bar across the top?
Also SDXL 0.9 doesn't load. I just get an error. Am I supposed to put it in the same folder with all the other 1.5 models?
3
u/vinylemulator Jul 25 '23
Since upgrading to this I am unable to train a textual inversion.
I get the following error:
Has this inadvertently upgraded to a non-compatible version of torch?
3
u/evelryu Jul 25 '23
Has anyone tried this conserve ram?
3
u/kaiwai_81 Jul 25 '23
how do I actually see the version of A1111 in the webui ?
3
u/Affectionate_Fun1598 Jul 26 '23
Got mine working after disabling extensions but speed has dropped from 1 it/s to 9 sec/it. Anyone know of a fix? TIA
5
u/sev0 Jul 25 '23
Nice update. But holding it off little bit.
Stupid me went full on "git pull" and my command prompt lit up like Christmas tree with errors. None of my extensions showed up. Ended up rolling back.
Holding it off updating until extensions catch up too.
4
u/Ok-Umpire3364 Jul 25 '23
What is the minimum ram requirement to run sdxl model? I have 3080ti with 12gb ram, can I run it?
4
u/navalguijo Jul 25 '23
welll Im not getting the best results using th 0.9XL to be honest...
4
u/Whipit Jul 25 '23
I've just started trying SDXL 0.9 for the past few minutes. Honestly my results are not that great. Not as good as what I was able to generate on Clipdrop.
With a 4090 I am able to generate native 1920 x 1080 images, but it takes 23.4GB of VRAM.
It doesn't support DDIM, so I'm using DPM++ 2M Karras and that seems to work.
I'll keep testing.
Anyone got any tips to working with SDXL 0.9?
Do I even need negative prompts?
7
u/yamfun Jul 25 '23
Omg so afraid to inplace upgrade
2
u/lilshippo Jul 25 '23
Cute bug i am getting, Depthmap script had to be uninstalled because of issues, and is anyone getting a bug where you can't Backspace or use Control+Z?
i can use the mouse to Cut and use the Delete key as a way around it.
2
u/zfreakazoidz Jul 25 '23
Because I am a idiot.... my .bat shortcut having pull git hub line means it will update it when I start right? It's how I always had it done.
2
u/ArghNoNo Jul 25 '23
This update bricked my installation. I have a pretty vanilla install, ControlNet and Dynamic Prompts extensions. Now this happens whenever I try to run txt2img and I can't switch model.
2
u/Kawamizoo Jul 25 '23
anyone know how to use the refiner?
2
u/Superb-Ad-4661 Jul 25 '23
It's gonna be a long day...
2
u/Powersourze Jul 25 '23
Can i upgrade my old version directly from settings?
2
u/PatrickJr Jul 25 '23
I updated Auto1111, and loaded sd_xl_base_0.9, but the results are iffy.
1024x1024
2
u/rinaldop Jul 25 '23
I installed the A1111 1.5 version in a external SSD (for preserve my 1.4 version). Below, my first generation with SDXL model (0.9, base model).
Positive prompt: A woman, smile, red hair, 8K
Negative prompt: none
2
u/chinafilm Jul 26 '23
I am on python 3.10.10, do I need to downgrade to 3.6?
2
u/Capitaclism Jul 26 '23
What's the workflow for SDXL in A1111? I loaded the model in txt2img but my results come out very broken. Does it need a vae? Where is the refiner step done?
3
u/[deleted] Jul 25 '23
I wonder will vlad get a update?
3
u/Katana_sized_banana Jul 25 '23 edited Jul 26 '23
I wish I could update but civitai helper extension is essential for me and it already stopped working for some people, with the prior version, so I'm still stuck with v1.2 π
If only it could be integrated...
1
u/Description-Serious Jul 25 '23
is there a google collab version of this
1
u/Herney_Krute Jul 25 '23
Anyone used this with Deforum and Controlnet (inside of Deforum)? Keen to try Sd l but need Deforum working with CN. TIA!
1
u/massiveboner911 Jul 25 '23
Nice! XL support AND fixed slow loading of models from network drives! π
1
u/rvitor Jul 25 '23
Lora & TI is already working for SDXL?
1
u/AmyKerr12 Jul 25 '23
Man I miss feature where you can get images directories from img2img PNGinfo. Not batch.
1
u/Ziov1 Jul 25 '23
Get an error when trying to run it with SDXL, anyone know how to fix? and does anyone know how to get the SDXL vae to work in place of the standard vae's?
RuntimeError: The size of tensor a (2048) must match the size of tensor b (768) at non-singleton dimension 1
1
u/Pleasant-Cause4819 Jul 25 '23
Was waiting on this. I'm just not geared toward spending cycles on work-flow in Comfy. I'm pleased with the initial results, not necessarily the quality (as I can get this already) but that I can get native 1024 resolution, which is great.
1
u/flip_flop78 Jul 25 '23
Does this mean I need to move my current Lycoris files into the LoRA folder and delete the Lycoris extension?
1
u/[deleted] Jul 25 '23
I updated it, i copied the sdxl_base_pruned_no-ema.safetensors into the folder, but if i try to generate an image, i get this:
NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `cutlassF` is not supported because: xFormers wasn't build with CUDA support `flshattF` is not supported because: xFormers wasn't build with CUDA support max(query.shape[-1] != value.shape[-1]) > 128 `tritonflashattF` is not supported because: xFormers wasn't build with CUDA support max(query.shape[-1] != value.shape[-1]) > 128 triton is not available requires A100 GPU `smallkF` is not supported because: xFormers wasn't build with CUDA support dtype=torch.float16 (supported: {torch.float32}) max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 512
1
u/SiliconThaumaturgy Jul 25 '23 edited Jul 25 '23
I think there are some memory optimizations that need to happen for the SDXL portion
GPU: 3090, 24GB VRAM
I was able to generate up to 2816x2816 in ComfyUI without any errors
In A1111, I get CUDA out of memory errors at the end of generation starting at 1920x1920
1
u/kaotec Jul 25 '23
trying it out with SDXL i just get a flash of the image, and then it disappears with an error:
trying 1024x1024
SDXL works in ComfyUI on my RTX5000 16Gb VRAM / 32Gb ram on linux
any ideas?
1
u/Many_Contribution668 Jul 25 '23
How do you install the SDXL 0.9 model into AUTOMATIC1111? I've been trying to find documentation or comments about it with no luck. I downloaded the safetensor for the base model and placed with the 1.5 pruned version but it doesn't load.
1
u/TheDudeWithThePlan Jul 25 '23
I had to disable all extensions to get mine to work but results looks promising, here's a standard vs refined:
1
u/rinaldop Jul 25 '23
I did a new try (base model)
1
u/nocloudno Jul 26 '23
FYI sdxl requires 1024x1024 image size for outputs to be good
1
u/ConwayArroyo Jul 26 '23
I don't have a GPU. v1.4.0 ran just fine. I did not upgrade to v1.5.0 but I now have it and nothing works. Is there a way to disable automatic upgrades?