AUTOMATIC1111
90410e212f
Merge pull request #8814 from catboxanon/inpaint-mask
...
Add ability to display and/or save inpainting mask and masked composite
2023-03-25 11:21:45 +03:00
AUTOMATIC1111
e8bbc344c3
Merge pull request #8824 from zimkjh/fix-variable-typo
...
fix variable typo
2023-03-25 11:04:46 +03:00
AUTOMATIC1111
9d2551d593
Merge pull request #8647 from Tps-F/add_submodule
...
Support git submodule for extension and Fix Windows PermissionError
2023-03-25 11:02:41 +03:00
AUTOMATIC
9ed04e759d
use HTTP request to fetch metadata for Lora cards instead of including it into the main page
2023-03-25 10:11:04 +03:00
AUTOMATIC1111
724a63714d
Merge pull request #8878 from butaixianran/master
...
Fix None type error for TI module
2023-03-25 09:20:43 +03:00
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
2023-03-25 09:17:09 +03:00
AUTOMATIC1111
03c8eefbcc
Merge pull request #8782 from FNSpd/master
...
--upcast-sampling support for CUDA
2023-03-25 09:10:01 +03:00
AUTOMATIC
4697def235
bump gradio to 3.23
...
fix broken image dragging
2023-03-25 09:00:37 +03:00
AUTOMATIC
ff216820fd
fix extra networks ui
2023-03-25 09:00:37 +03:00
AUTOMATIC
af2db25c84
enable queue by default
...
more stylistic changes
2023-03-25 09:00:37 +03:00
AUTOMATIC
43a0912a07
hide delete button for single-item dropdown
...
more stylistic changes
2023-03-25 09:00:37 +03:00
AUTOMATIC
9b2f205400
fix ctrl+up/down attention edit
...
fix dropdown obscured by live preview
stylistic changes
2023-03-25 09:00:36 +03:00
AUTOMATIC
9f0da9f6ed
initial gradio 3.22 support
2023-03-25 09:00:36 +03:00
FNSpd
a9eab236d7
Update devices.py
2023-03-24 23:08:30 +04:00
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.
2023-03-25 02:05:00 +08:00
FNSpd
280ed8f00f
Update sd_hijack_optimizations.py
2023-03-24 16:29:16 +04:00
FNSpd
beb7dda5d6
Update sd_hijack_unet.py
2023-03-24 16:25:42 +04:00
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.
2023-03-24 04:04:22 -04:00
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.
2023-03-24 04:04:20 -04:00
pieresimakp
771ea212de
added button to grab the width and height from the loaded image in img2img
2023-03-24 12:41:17 +08:00
space-nuko
d86beb8228
Remove "do not add watermark to images" option
2023-03-23 17:09:59 -04:00
pieresimakp
252f15e046
added search textbox to filter available extensions
2023-03-23 23:43:00 +08:00
carat-johyun
92e173d414
fix variable typo
2023-03-23 14:28:08 +09:00
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.
2023-03-22 17:51:40 +00:00
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
2023-03-23 01:28:09 +09:00
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
2023-03-22 18:24:11 +09:00
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.
2023-03-21 21:13:30 -05:00
missionfloyd
1d096ed145
Lazy load extra network images
2023-03-21 16:07:24 -06:00
Rucadi
a80d7d090c
Update script_callbacks.py
2023-03-21 18:47:05 +01:00
FNSpd
c84c9df737
Update sd_hijack_optimizations.py
2023-03-21 14:50:22 +04:00
FNSpd
91cfa9718c
Update sd_hijack_unet.py
2023-03-21 14:47:43 +04:00
FNSpd
254d994643
Update devices.py
2023-03-21 14:45:39 +04:00
Φφ
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.
2023-03-21 09:28:50 +03:00
missionfloyd
8e3ced73a8
Add event.stopPropagation() to extraNetworksShowMetadata()
...
Prevent bubbling the same way "replace preview" does
2023-03-20 18:04:22 -06:00
missionfloyd
64fc936738
Don't bubble when metadata_button is clicked
2023-03-19 19:30:28 -06:00
Ftps
147d2922ff
Cross device link
2023-03-16 12:35:48 +09:00
Vespinian
f04bd037a5
Comment fix
2023-03-15 22:27:54 -04:00
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
2023-03-15 22:17:32 -04:00
Vladimir Mandic
5387576c59
api error handler
2023-03-15 15:11:04 -04:00
Ftps
79ed567b12
remove unused library
...
I'm sorry I forgot.
2023-03-15 22:42:53 +09:00
Ftps
4845db4e32
Update ui_extensions.py
...
Add git submodule and Fix WinError
2023-03-15 20:29:50 +09:00
bluelovers
fd672a79af
fix: remove cmp
...
by ChatGPT
2023-03-15 13:17:09 +08:00
InvincibleDude
f5e4436453
Merge branch 'master' into improved-hr-conflict-test
2023-03-14 16:55:59 +03:00
AUTOMATIC1111
a9fed7c364
Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fix
...
Add correction file filename length limits on *nix systems
2023-03-14 11:28:13 +03:00
AUTOMATIC
6a04a7f20f
fix an error loading Lora with empty values in metadata
2023-03-14 11:22:29 +03:00
AUTOMATIC1111
8b35b64e11
Merge pull request #8589 from vladmandic/unipc
...
add progressbar to unipc sampler
2023-03-14 11:19:21 +03:00
AUTOMATIC1111
f9b0465c8b
Merge pull request #8588 from hananbeer/fix/undefined_extra_network_data
...
initialize extra_network_data before use
2023-03-14 11:18:30 +03:00
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.
2023-03-14 15:36:08 +09:00
AUTOMATIC
c19530f1a5
Add view metadata button for Lora cards.
2023-03-14 09:10:26 +03:00
Vladimir Mandic
03a80f198e
add pbar to unipc
2023-03-13 12:35:30 -04:00