2545 Commits (433b3ab7017556a19173a86d1215ed0a0b5b1396)

Author SHA1 Message Date
AUTOMATIC1111 89ea746f7c
Merge pull request #8866 from brkirch/mps-torch-2-0-nn-linear-workarounds
Add PyTorch 2.0 support for macOS, fix image generation on macOS 13.2.X
3 years ago
AUTOMATIC1111 03c8eefbcc
Merge pull request #8782 from FNSpd/master
--upcast-sampling support for CUDA
3 years ago
AUTOMATIC 4697def235 bump gradio to 3.23
fix broken image dragging
3 years ago
AUTOMATIC ff216820fd fix extra networks ui 3 years ago
AUTOMATIC af2db25c84 enable queue by default
more stylistic changes
3 years ago
AUTOMATIC 43a0912a07 hide delete button for single-item dropdown
more stylistic changes
3 years ago
AUTOMATIC 9b2f205400 fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
3 years ago
AUTOMATIC 9f0da9f6ed initial gradio 3.22 support 3 years ago
FNSpd a9eab236d7
Update devices.py 3 years ago
butaixianran 803d44c474
Fix None type error for TI module
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.
3 years ago
FNSpd 280ed8f00f
Update sd_hijack_optimizations.py 3 years ago
FNSpd beb7dda5d6
Update sd_hijack_unet.py 3 years ago
brkirch 27fe3eb6a9 Add workaround for MPS layer_norm on PyTorch 2.0
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.
3 years ago
brkirch c5142e2fbe Add workaround for broken nn.Linear on macOS 13.2
Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
3 years ago
pieresimakp 252f15e046 added search textbox to filter available extensions 3 years ago
carat-johyun 92e173d414 fix variable typo 3 years ago
catboxanon caf84e8233 Expose inpainting mask and composite
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.
3 years ago
sumof2primes cd3cd0fca0 Fix scripts load order
- 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
3 years ago
sumof2primes 64b7e83823 Fix scripts load order
- 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
3 years ago
ArrowM 00bd271faf Move `load_file_from_url`
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.
3 years ago
FNSpd c84c9df737
Update sd_hijack_optimizations.py 3 years ago
FNSpd 91cfa9718c
Update sd_hijack_unet.py 3 years ago
FNSpd 254d994643
Update devices.py 3 years ago
Φφ 4cbbb881ee Unload checkpoints on Request
…to free VRAM.

New Action buttons in the settings to manually free and reload checkpoints, essentially
juggling models between RAM and VRAM.
3 years ago
missionfloyd 8e3ced73a8 Add event.stopPropagation() to extraNetworksShowMetadata()
Prevent bubbling the same way "replace preview" does
3 years ago
missionfloyd 64fc936738
Don't bubble when metadata_button is clicked 3 years ago
Ftps 147d2922ff Cross device link 3 years ago
Vespinian f04bd037a5 Comment fix 3 years ago
Vespinian dfa258de5f Made copies of global scriptrunners, now we clear the copied scriptrunner of alwayson_scripts and only add back the ones that that were requested 3 years ago
Vladimir Mandic 5387576c59
api error handler 3 years ago
Ftps 79ed567b12 remove unused library
I'm sorry I forgot.
3 years ago
Ftps 4845db4e32 Update ui_extensions.py
Add git submodule and Fix WinError
3 years ago
bluelovers fd672a79af fix: remove cmp
by ChatGPT
3 years ago
AUTOMATIC1111 a9fed7c364
Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fix
Add correction file filename length limits on *nix systems
3 years ago
AUTOMATIC 6a04a7f20f fix an error loading Lora with empty values in metadata 3 years ago
AUTOMATIC1111 8b35b64e11
Merge pull request #8589 from vladmandic/unipc
add progressbar to unipc sampler
3 years ago
AUTOMATIC1111 f9b0465c8b
Merge pull request #8588 from hananbeer/fix/undefined_extra_network_data
initialize extra_network_data before use
3 years ago
willtakasan 4281432594
Update ui_extra_networks.py
I updated it so that no error message is displayed when setting a webp for the preview image.
3 years ago
AUTOMATIC c19530f1a5 Add view metadata button for Lora cards. 3 years ago
Vladimir Mandic 03a80f198e
add pbar to unipc 3 years ago
high_byte 4d26c7da57 initialize extra_network_data before use 3 years ago
missionfloyd 9e23bacfbc Make extra networks button togglable 3 years ago
Alex "mcmonkey" Goodwin af9158a8c7 update `fullfn` properly 3 years ago
Alex "mcmonkey" Goodwin 48df6d66ea add safety check in case of short extensions
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
3 years ago
Alex "mcmonkey" Goodwin a71b7b5ec0 relocate filename length limit to better spot 3 years ago
AUTOMATIC dfeee786f9 display correct timings after restarting UI 3 years ago
AUTOMATIC a00cd8b9c1 attempt to fix memory monitor with multiple CUDA devices 3 years ago
AUTOMATIC 27eedb6966 change extension index link to the new dedicated repo instead of wiki 3 years ago
Vladimir Mandic bd67c41f54
force refresh tqdm before close 3 years ago
AUTOMATIC1111 adf723a9b2
Merge pull request #8492 from zhanghua000/absolute-path
fix: gradio's ValueError about fetching extensions files
3 years ago
AUTOMATIC1111 6106f6d0a0
Merge pull request #7965 from Kilvoctu/extranet-buttons
Use emojis for extra network buttons
3 years ago
AUTOMATIC1111 beb96bd115
Merge pull request #8515 from EllangoK/unipc-typo
Fix dims typo in unipc
3 years ago
AUTOMATIC1111 bbc4b0478a
Merge pull request #8518 from brkirch/remove-bool-test
Fix image generation on macOS 13.3 betas
3 years ago
bluelovers 0492424121 feat: try sort as ignore-case
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8368
3 years ago
brkirch a4cb96d4ae Remove test, use bool tensor fix by default
The test isn't working correctly on macOS 13.3 and the bool tensor fix for cumsum is currently always needed anyway, so enable the fix by default.
3 years ago
EllangoK 48f4abd2e6 fix dims typo in unipc 3 years ago
Vespinian 64efb3d9e0 Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui 3 years ago
Vespinian 49bbdbe447 small diff whitespace cleanup 3 years ago
Kilvoctu 247a34498b restore text, remove 'close'
don't use emojis for extra network buttons; remove 'close'
3 years ago
AUTOMATIC 27e319dc4f alternative solution for #8089 3 years ago
Vespinian 5546e71a10 Fixed whitespace 3 years ago
Vespinian 46f9fe3cd6 Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui 3 years ago
Vespinian 2174f58dae Changed alwayson_script_name and alwayson_script_args api params to 1 alwayson_scripts param dict 3 years ago
Alex "mcmonkey" Goodwin 7fd19fa4e7 initial fix for filename length limits on *nix systems 3 years ago
AUTOMATIC1111 e0ca78509a
Merge pull request #8118 from adam-huganir/8116-gitpython-api-breaking-change
git 3.1.30 api change, issue #8116
3 years ago
AUTOMATIC1111 d3dd6cc01c
Merge pull request #8175 from vladmandic/image_size
adds checks for resulting image size to avoid memory issues
3 years ago
AUTOMATIC1111 76bc72116e
Merge pull request #7818 from space-nuko/extension-paste-field-names
Allow extensions to declare paste fields for "Send to X" buttons
3 years ago
AUTOMATIC1111 b9fd9c81de
Merge pull request #7963 from xSinStarx/patch-1
Bug Fix: Fixes img2img Negative Token Counter
3 years ago
AUTOMATIC1111 f968270fec
Merge pull request #7812 from vladmandic/hide_ui_tabs
allow configurable hiding of ui tabs
3 years ago
AUTOMATIC 6da2027213 save previews for extra networks in the selected format 3 years ago
AUTOMATIC 9320139bd8 support three extensions for preview instead of one: png, jpg, webp 3 years ago
AUTOMATIC ce68ab8d0d remove underscores from function names in #8366
remove LRU from #8366 because I don't know why it's there
3 years ago
AUTOMATIC1111 c239b3d7a8
Merge pull request #8366 from akx/extra-net-descs
Extra network description files
3 years ago
AUTOMATIC1111 e15c4f31e3 Merge pull request #8042 from fkunn1326/master
Add .mjs support for extensions
3 years ago
Zhang Hua 8e0d16e746
modules/sd_vae_approx.py: fix VAE-approx path 3 years ago
Zhang Hua 8106117a47
models/ui.py: make the path of script.js absolute 3 years ago
AUTOMATIC1111 98695c1885
Merge pull request #8050 from Tpinion/master
Bugfix: Filter out temporary files that will be generated if the download fails.
3 years ago
AUTOMATIC 7f2005127f rename CFGDenoiserParams fields for #8064 3 years ago
AUTOMATIC1111 af416a2dbd
Merge pull request #8064 from laksjdjf/master
Add cond and uncond hidden states to CFGDenoiserParams
3 years ago
AUTOMATIC1111 45905b92a9
Merge pull request #8100 from missionfloyd/webp-lossless
Add lossless webp option
3 years ago
AUTOMATIC1111 da3f942ab2
Merge pull request #8017 from space-nuko/before-process-batch
Add `before_process_batch` script callback
3 years ago
AUTOMATIC aaa367e35c new setting: Extra text to add before <...> when adding extra network to prompt 3 years ago
AUTOMATIC1111 6705b1764a
Merge pull request #8092 from infinitewarp/sort-upscalers
sort upscalers by name
3 years ago
AUTOMATIC1111 8ec0442dcd
Merge pull request #8322 from yeataro/master
add: /sdapi/v1/scripts in API
3 years ago
AUTOMATIC 3531a50080 rename fields for API for saving/sending images
save images to correct directories
3 years ago
AUTOMATIC1111 bb3ecc3285
Merge pull request #8287 from vladmandic/save-images
Allow saving of images generated via API
3 years ago
AUTOMATIC1111 d81c503918
Merge pull request #8367 from pamparamm/scaled-dot-product-attention
Add scaled dot product attention
3 years ago
AUTOMATIC 58b5b7c2f1 add UniPC options to infotext 3 years ago
AUTOMATIC f261a4a53c use selected device instead of always cuda for UniPC sampler 3 years ago
space-nuko 5fef67f6ee Requested changes 3 years ago
space-nuko ac38ad7e60 Merge remote-tracking branch 'origin/master' into unipc 3 years ago
Pam 8d7fa2f67c sdp_attnblock_forward hijack 3 years ago
Pam 0981dea948 sdp refactoring 3 years ago
Pam 37acba2633 argument to disable memory efficient for sdp 3 years ago
Yea Chen f85a192f99
Update modules/api/api.py
Suggested change by @akx

Co-authored-by: Aarni Koskela <akx@iki.fi>
3 years ago
Pam fec0a89511 scaled dot product attention 3 years ago
Aarni Koskela 06f167da37 Extra networks: support .txt description sidecar file 3 years ago
Aarni Koskela 49b1dc5e07 Deduplicate extra network preview-search code 3 years ago
Brad Smith d118cb6ea3
use lowercase name for sorting; keep `UpscalerLanczos` and `UpscalerNearest` at the start of the list with `UpscalerNone`
Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
3 years ago
Vladimir Mandic b012d70f15
update using original defaults 3 years ago