aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
2023-03-25hide delete button for single-item dropdownAUTOMATIC-3/+16
more stylistic changes
2023-03-25fix ctrl+up/down attention editAUTOMATIC-2/+2
fix dropdown obscured by live preview stylistic changes
2023-03-25initial gradio 3.22 supportAUTOMATIC-37/+50
2023-03-24Update devices.pyFNSpd-1/+1
2023-03-25Fix None type error for TI modulebutaixianran-1/+5
When user using model_name.png as a preview image, textural_inversion.py still treat it as an embeding, and didn't handle its error, just let python throw out an None type error like following: ```bash File "D:\Work\Dev\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 155, in load_from_file name = data.get('name', name) AttributeError: 'NoneType' object has no attribute 'get' ``` With just a simple `if data:` checking as following, there will be no error, breaks nothing, and now this module can works fine with user's preview images. Old code: ```python data = extract_image_data_embed(embed_image) name = data.get('name', name) ``` New code: ```python data = extract_image_data_embed(embed_image) if data: name = data.get('name', name) else: # if data is None, means this is not an embeding, just a preview image return ``` Also, since there is no more errors on textual inversion module, from now on, extra network can set "model_name.png" as preview image for embedings.
2023-03-24Update sd_hijack_optimizations.pyFNSpd-1/+1
2023-03-24Update sd_hijack_unet.pyFNSpd-1/+1
2023-03-24Add workaround for MPS layer_norm on PyTorch 2.0brkirch-1/+3
On PyTorch 2.0, with MPS layer_norm only accepts float32 inputs. This was fixed shortly after 2.0 was finalized so the workaround can be applied with an exact version match.
2023-03-24Add workaround for broken nn.Linear on macOS 13.2brkirch-0/+5
Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
2023-03-24added button to grab the width and height from the loaded image in img2imgpieresimakp-2/+5
2023-03-23Remove "do not add watermark to images" optionspace-nuko-1/+0
2023-03-23added search textbox to filter available extensionspieresimakp-11/+31
2023-03-23fix variable typocarat-johyun-2/+2
2023-03-22Expose inpainting mask and compositecatboxanon-0/+20
For inpainting, this exposes the mask and masked composite and gives the user the ability to display these in the web UI, save to disk, or both.
2023-03-23Fix scripts load ordersumof2primes-1/+1
- 1st webui, 2nd extensions-builtin, 3rd extensions - to load scripts independent of --data-dir - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path] e.g., scripts/xyz_grid.py dependent extentions should loaded later extensions\sd-webui-controlnet\scripts\xyz_grid_support.py extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
2023-03-22Fix scripts load ordersumof2primes-1/+9
- 1st webui, 2nd extensions-builtin, 3rd extensions - to load scripts independent of --data-dir - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path] e.g., scripts/xyz_grid.py dependent extentions should loaded later extensions\sd-webui-controlnet\scripts\xyz_grid_support.py extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
2023-03-21Move `load_file_from_url`ArrowM-1/+1
Why? one of the internal calls of `load_file_from_url` import cv2, which locks the cv2 site-package, which extensions may (and in our case, is) breaking the installation of some libraries. The base project should be limiting its import of unnecessary libraries when possible during the installation phase.
2023-03-21Lazy load extra network imagesmissionfloyd-1/+1
2023-03-21Update script_callbacks.pyRucadi-1/+0
2023-03-21Update sd_hijack_optimizations.pyFNSpd-1/+1
2023-03-21Update sd_hijack_unet.pyFNSpd-1/+1
2023-03-21Update devices.pyFNSpd-1/+1
2023-03-21Unload checkpoints on RequestΦφ-2/+56
…to free VRAM. New Action buttons in the settings to manually free and reload checkpoints, essentially juggling models between RAM and VRAM.
2023-03-20Add event.stopPropagation() to extraNetworksShowMetadata()missionfloyd-1/+1
Prevent bubbling the same way "replace preview" does
2023-03-19Don't bubble when metadata_button is clickedmissionfloyd-1/+1
2023-03-16Cross device linkFtps-1/+11
2023-03-15Comment fixVespinian-1/+1
2023-03-15Made copies of global scriptrunners, now we clear the copied scriptrunner of ↵Vespinian-3/+13
alwayson_scripts and only add back the ones that that were requested
2023-03-15api error handlerVladimir Mandic-1/+44
2023-03-15remove unused libraryFtps-2/+0
I'm sorry I forgot.
2023-03-15Update ui_extensions.pyFtps-16/+5
Add git submodule and Fix WinError
2023-03-15fix: remove cmpbluelovers-1/+1
by ChatGPT
2023-03-14Merge branch 'master' into improved-hr-conflict-testInvincibleDude-104/+1426
2023-03-14Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fixAUTOMATIC1111-0/+5
Add correction file filename length limits on *nix systems
2023-03-14fix an error loading Lora with empty values in metadataAUTOMATIC-1/+1
2023-03-14Merge pull request #8589 from vladmandic/unipcAUTOMATIC1111-3/+4
add progressbar to unipc sampler
2023-03-14Merge pull request #8588 from hananbeer/fix/undefined_extra_network_dataAUTOMATIC1111-1/+2
initialize extra_network_data before use
2023-03-14Update ui_extra_networks.pywilltakasan-2/+2
I updated it so that no error message is displayed when setting a webp for the preview image.
2023-03-14Add view metadata button for Lora cards.AUTOMATIC-0/+31
2023-03-13add pbar to unipcVladimir Mandic-3/+4
2023-03-13initialize extra_network_data before usehigh_byte-1/+2
2023-03-12Make extra networks button togglablemissionfloyd-2/+2
2023-03-12update `fullfn` properlyAlex "mcmonkey" Goodwin-0/+1
2023-03-12add safety check in case of short extensionsAlex "mcmonkey" Goodwin-1/+1
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
2023-03-12relocate filename length limit to better spotAlex "mcmonkey" Goodwin-3/+4
2023-03-12display correct timings after restarting UIAUTOMATIC-0/+3
2023-03-12attempt to fix memory monitor with multiple CUDA devicesAUTOMATIC-4/+8
2023-03-12change extension index link to the new dedicated repo instead of wikiAUTOMATIC-1/+1
2023-03-12force refresh tqdm before closeVladimir Mandic-0/+1
2023-03-12Merge pull request #8492 from zhanghua000/absolute-pathAUTOMATIC1111-2/+6
fix: gradio's ValueError about fetching extensions files