aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
2023-03-25Merge pull request #8780 from Brawlence/masterAUTOMATIC1111-2/+56
Unload and re-load checkpoint to VRAM on request (API & Manual)
2023-03-25Merge pull request #8797 from ArrowM/masterAUTOMATIC1111-1/+1
Move `load_file_from_url` import
2023-03-25Merge pull request #8803 from mlhub-action/fix_scripts_load_orderAUTOMATIC1111-1/+9
Fix scripts load order
2023-03-25Merge pull request #8814 from catboxanon/inpaint-maskAUTOMATIC1111-0/+20
Add ability to display and/or save inpainting mask and masked composite
2023-03-25Merge pull request #8824 from zimkjh/fix-variable-typoAUTOMATIC1111-2/+2
fix variable typo
2023-03-25Merge pull request #8647 from Tps-F/add_submoduleAUTOMATIC1111-8/+5
Support git submodule for extension and Fix Windows PermissionError
2023-03-25use HTTP request to fetch metadata for Lora cards instead of including it ↵AUTOMATIC-12/+35
into the main page
2023-03-25Merge pull request #8878 from butaixianran/masterAUTOMATIC1111-1/+5
Fix None type error for TI module
2023-03-25Merge pull request #8866 from brkirch/mps-torch-2-0-nn-linear-workaroundsAUTOMATIC1111-1/+8
Add PyTorch 2.0 support for macOS, fix image generation on macOS 13.2.X
2023-03-25Merge pull request #8782 from FNSpd/masterAUTOMATIC1111-3/+3
--upcast-sampling support for CUDA
2023-03-25bump gradio to 3.23AUTOMATIC-2/+9
fix broken image dragging
2023-03-25fix extra networks uiAUTOMATIC-1/+1
2023-03-25enable queue by defaultAUTOMATIC-4/+5
more stylistic changes
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-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-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-16Cross device linkFtps-1/+11
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-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-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