AUTOMATIC1111
0615b3c532
Merge pull request #11926 from wfjsw/fix-env-get-1
...
fix 11291#issuecomment-1646547908
2023-07-22 16:37:03 +03:00
AUTOMATIC1111
2d635c0192
Merge pull request #11927 from ljleb/fix-AND
...
Fix composable diffusion weight parsing
2023-07-22 16:36:40 +03:00
ljleb
88a3e1d306
fix AND linebreaks
2023-07-22 07:40:30 -04:00
ljleb
0674fabd0d
fix AND linebreaks
2023-07-22 07:10:20 -04:00
AUTOMATIC1111
c76a30af41
more info for startup timings
2023-07-22 13:49:29 +03:00
Jabasukuriputo Wang
3c26734d60
nop
2023-07-22 18:33:59 +08:00
Jabasukuriputo Wang
2a7e34fe79
fix https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/11921#issuecomment-1646547908
2023-07-22 18:09:00 +08:00
AUTOMATIC1111
90eb731ff1
start timer early anyway
2023-07-22 12:21:05 +03:00
AUTOMATIC1111
491d42bb1c
Merge pull request #11856 from wfjsw/move-start-timer
...
Only start timer when actually starting
2023-07-22 12:19:36 +03:00
AnyISalIn
1fe2dcaa2a
[bug] If txt2img/img2img raises an exception, finally call state.end()
...
Signed-off-by: AnyISalIn <anyisalin@gmail.com>
2023-07-22 10:00:27 +08:00
AUTOMATIC1111
075934a944
Merge pull request #11920 from wfjsw/typo-fix-1
...
typo fix
2023-07-21 18:01:20 +03:00
AUTOMATIC1111
ed4d7912c7
Merge pull request #11921 from wfjsw/prepend-pythonpath
...
prepend the pythonpath instead of overriding it
2023-07-21 18:00:03 +03:00
Jabasukuriputo Wang
16eddc622e
prepend the pythonpath instead of overriding it
2023-07-21 22:00:03 +08:00
w-e-w
bc91f15ed3
typo fix
2023-07-21 22:56:41 +09:00
Jabasukuriputo Wang
118529a6dc
typo fix
2023-07-21 21:49:33 +08:00
lambertae
f873890298
new restart scheme
2023-07-20 21:27:43 -04:00
lambertae
128d59c9cc
fix ruff
2023-07-20 20:36:40 -04:00
lambertae
2f57a559ac
allow choise of restart_list & use karras from kdiffusion
2023-07-20 20:34:41 -04:00
AUTOMATIC1111
2f98f7c924
Merge branch 'release_candidate' into dev
2023-07-20 19:16:55 +03:00
AUTOMATIC1111
1f26815dd3
Merge pull request #11898 from janekm/janekm-patch-1
...
Update sd_models_xl.py
2023-07-20 19:16:40 +03:00
Janek Mann
8218f6cd37
Update sd_models_xl.py
...
Fix width/height not getting fed into the conditioning
2023-07-20 16:22:52 +01:00
lambertae
ddbf4a73f5
restart-sampler with correct steps
2023-07-20 02:24:18 -04:00
AUTOMATIC1111
4bf64976c1
Merge branch 'release_candidate' into dev
2023-07-19 20:23:48 +03:00
AUTOMATIC1111
23c947ab03
automatically switch to 32-bit float VAE if the generated picture has NaNs.
2023-07-19 20:23:30 +03:00
AUTOMATIC1111
5677296d1b
Merge pull request #11878 from Bourne-M/patch-1
...
【bug】reload altclip model error
2023-07-19 16:26:12 +03:00
AUTOMATIC1111
4334d25978
bugfix: model name was added together with directory name to infotext and to [model_name] filename pattern
2023-07-19 15:49:54 +03:00
yfzhou
cb75734896
【bug】reload altclip model error
...
When using BertSeriesModelWithTransformation as the cond_stage_model, the undo_hijack should be performed using the FrozenXLMREmbedderWithCustomWords type; otherwise, it will result in a failed model reload.
2023-07-19 17:53:28 +08:00
Jabasukuriputo Wang
fc3bdf8c11
Merge branch 'dev' into move-start-timer
2023-07-19 10:33:31 +08:00
w-e-w
c8b55f29e2
missing p save_image before-highres-fix
2023-07-19 08:27:19 +09:00
AUTOMATIC1111
136c8859a4
add backwards compatibility --lyco-dir-backcompat option, use that for LyCORIS directory instead of hardcoded value
...
prevent running preload.py for disabled extensions
2023-07-18 20:11:30 +03:00
AUTOMATIC1111
7f7db1700b
linter fix
2023-07-18 18:16:23 +03:00
AUTOMATIC1111
b270ded268
fix the issue with /sdapi/v1/options failing (this time for sure!)
...
fix automated tests downloading CLIP model
2023-07-18 18:10:04 +03:00
AUTOMATIC1111
66c5f1bb15
return sd_model_checkpoint to None
2023-07-18 17:41:37 +03:00
AUTOMATIC1111
ed82f1c5f1
lint
2023-07-18 15:55:23 +03:00
wfjsw
3c570421d3
move start timer
2023-07-18 19:00:16 +08:00
AUTOMATIC1111
420cc8f68e
also make None a valid option for options API for #11854
2023-07-18 11:48:40 +03:00
Leon Feng
a3730bd9be
Merge branch 'dev' into fix-11805
2023-07-18 04:24:14 -04:00
Leon Feng
d6668347c8
remove duplicate
2023-07-18 04:19:58 -04:00
lambertae
7bb0fbed13
code styling
2023-07-18 01:02:04 -04:00
lambertae
37e048a7e2
fix floating error
2023-07-18 00:55:02 -04:00
brkirch
f0e2098f1a
Add support for --upcast-sampling
with SD XL
2023-07-18 00:39:50 -04:00
lambertae
15a94d6cf7
remove useless header
2023-07-18 00:39:26 -04:00
lambertae
40a18d38a8
add restart sampler
2023-07-18 00:32:01 -04:00
AUTOMATIC1111
a99d5708e6
skip installing packages with pip if theyare already installed
...
record time it took to launch
2023-07-17 20:10:24 +03:00
AUTOMATIC1111
699108bfbb
hide cards for networks of incompatible stable diffusion version in Lora extra networks interface
2023-07-17 18:56:22 +03:00
AUTOMATIC1111
2164578738
Merge pull request #11821 from AUTOMATIC1111/lora_lyco
...
lora extension rework to include other types of networks
2023-07-17 15:51:59 +03:00
AUTOMATIC1111
35510f7529
add alias to lyco network
...
read networks from LyCORIS dir if it exists
add credits
2023-07-17 10:06:02 +03:00
AUTOMATIC1111
9251ae3bc7
delay writing cache to prevent writing the same thing over and over
2023-07-17 09:29:36 +03:00
AUTOMATIC1111
67ea4eabc3
fix cache loading wrong entries from old cache files
2023-07-16 13:46:33 +03:00
AUTOMATIC1111
570f42afd1
possible fix for FP16 VAE failing in img2img SDXL
2023-07-16 12:28:50 +03:00
AUTOMATIC1111
0198eaec45
Merge pull request #11757 from AUTOMATIC1111/sdxl
...
SD XL support
2023-07-16 12:04:53 +03:00
AUTOMATIC1111
9d3dd64fe9
minor restyling for extra networks
2023-07-16 10:44:04 +03:00
AUTOMATIC1111
690d56f3c1
nuke thumbs extra networks view mode (use settings tab to change width/height/scale to get thumbs)
2023-07-16 10:25:34 +03:00
AUTOMATIC1111
ccd97886da
fix bogus metadata for extra networks appearing out of cache
...
fix description editing for checkpoint not immediately appearing on cards
2023-07-16 09:49:34 +03:00
AUTOMATIC1111
f71630edb3
Merge pull request #11794 from MarcusAdams/none-filename-token
...
Added [none] filename token.
2023-07-16 09:27:28 +03:00
AUTOMATIC1111
89c3e17c65
Merge pull request #11797 from wfjsw/ext-index-env
...
allow replacing extensions index with environment variable
2023-07-16 09:27:07 +03:00
AUTOMATIC1111
57e4422bdb
Merge pull request #11806 from huchenlei/file_500
...
404 when thumb file not found
2023-07-16 09:26:07 +03:00
AUTOMATIC1111
47d9dd0240
speedup extra networks listing
2023-07-16 09:25:32 +03:00
AUTOMATIC1111
a1d6ada69a
allow refreshing single card after editing user metadata instead of all cards
2023-07-16 08:38:23 +03:00
huchenlei
8c11b126e5
404 when thumb file not found
2023-07-15 23:51:18 -04:00
Leon Feng
d380f939b5
Update shared.py
2023-07-15 23:31:59 -04:00
AUTOMATIC1111
11f339733d
add lora user metadata editor dialog inspired by MrKuenning's mockup from #7458
2023-07-16 00:57:45 +03:00
AUTOMATIC1111
e5d3ae2bf4
user metadata system for custom networks
2023-07-15 20:39:10 +03:00
Jabasukuriputo Wang
2d9d53be21
allow replacing extensions index with environment variable
2023-07-15 17:09:51 +08:00
AUTOMATIC1111
c58cf73c80
remove "## " from changelog.md version
2023-07-15 09:33:21 +03:00
AUTOMATIC1111
0aa8d538e1
suppress printing TI embedding into console by default
2023-07-15 09:24:22 +03:00
AUTOMATIC1111
510e5fc8c6
cache git extension repo information
2023-07-15 09:20:43 +03:00
AUTOMATIC1111
2b1bae0d75
add textual inversion hashes to infotext
2023-07-15 08:41:22 +03:00
AUTOMATIC1111
127635409a
add padding and identification to generation log section (Failed to find Loras, Used embeddings, etc...)
2023-07-15 08:07:25 +03:00
AUTOMATIC1111
b8bd8ce4cf
disable rich exception output in console for API by default, use WEBUI_RICH_EXCEPTIONS env var to enable
2023-07-15 07:44:37 +03:00
AUTOMATIC1111
14cf434bc3
fix an issue in live previews that happens when you use SDXL with fp16 VAE
2023-07-15 07:33:16 +03:00
Marcus Adams
5d94088eac
Added [none] filename token.
2023-07-14 21:52:00 -04:00
AUTOMATIC1111
95ee0cb188
restyle time taken/VRAM display
2023-07-14 22:51:58 +03:00
AUTOMATIC1111
5dee0fa1f8
add a message about unsupported samplers
2023-07-14 21:41:21 +03:00
AUTOMATIC1111
ac2d47ff4c
add cheap VAE approximation coeffs for SDXL
2023-07-14 20:27:41 +03:00
AUTOMATIC1111
471a5a66b7
add more relevant fields to caching conds
2023-07-14 17:54:09 +03:00
AUTOMATIC1111
92a3236161
Merge branch 'dev' into sdxl
2023-07-14 10:12:48 +03:00
AUTOMATIC1111
9a3f35b028
repair medvram and lowvram
2023-07-14 09:56:01 +03:00
AUTOMATIC1111
abb948dab0
raise maximum Negative Guidance minimum sigma due to request in PR discussion
2023-07-14 09:28:01 +03:00
AUTOMATIC1111
b7dbeda0d9
linter
2023-07-14 09:19:08 +03:00
AUTOMATIC1111
6d8dcdefa0
initial SDXL refiner support
2023-07-14 09:16:01 +03:00
w-e-w
a3db187e4f
handles model hash cache.json error
2023-07-14 05:48:14 +09:00
AUTOMATIC1111
6c5f83b19b
add support for SDXL loras with te1/te2 modules
2023-07-13 21:17:50 +03:00
AUTOMATIC1111
ff73841c60
mute SDXL imports in the place there SDXL is imported for the first time instead of launch.py
2023-07-13 17:42:16 +03:00
AUTOMATIC1111
e16ebc917d
repair --no-half for SDXL
2023-07-13 17:32:35 +03:00
AUTOMATIC1111
b8159d0919
add XL support for live previews: approx and TAESD
2023-07-13 17:24:54 +03:00
AUTOMATIC1111
6f23da603d
fix broken img2img
2023-07-13 16:18:39 +03:00
AUTOMATIC1111
b7c5b30f14
Merge branch 'dev' into master
2023-07-13 15:21:39 +03:00
AUTOMATIC1111
262ec8ecda
Merge pull request #11707 from wfjsw/revert-11244
...
Revert #11244
2023-07-13 14:51:04 +03:00
AUTOMATIC1111
ed0512c76f
Merge pull request #11747 from AUTOMATIC1111/img2img-save
...
Save img2img batch with images.save_image()
2023-07-13 14:50:08 +03:00
AUTOMATIC1111
cc0a3cc492
Merge pull request #11750 from AUTOMATIC1111/quick-settings-textbox
...
Use submit and blur for quick settings textbox
2023-07-13 14:49:48 +03:00
AUTOMATIC1111
e93f582a78
Merge pull request #11748 from huaizong/fix/x/resize-less-than-two-pixel-error
...
fix: check fill size none zero when resize (fixes #11425 )
2023-07-13 14:48:19 +03:00
AUTOMATIC1111
594c8e7b26
fix CLIP doing the unneeded normalization
...
revert SD2.1 back to use the original repo
add SDXL's force_zero_embeddings to negative prompt
2023-07-13 11:35:52 +03:00
AUTOMATIC1111
21aec6f567
lint
2023-07-13 09:38:54 +03:00
AUTOMATIC1111
ac4ccfa136
get attention optimizations to work
2023-07-13 09:30:33 +03:00
AUTOMATIC1111
b717eb7e56
mute unneeded SDXL imports for tests too
2023-07-13 08:29:37 +03:00
AUTOMATIC1111
a04c955121
fix importlib.machinery issue on github's autotests #yolo
2023-07-13 00:12:25 +03:00
AUTOMATIC1111
5cf623c58e
linter
2023-07-13 00:08:19 +03:00
AUTOMATIC1111
60397a7800
Merge branch 'dev' into sdxl
2023-07-12 23:53:26 +03:00
AUTOMATIC1111
da464a3fb3
SDXL support
2023-07-12 23:52:43 +03:00
w-e-w
ea49bb0612
use submit blur for quick settings textbox
2023-07-12 23:30:22 +09:00
Aarni Koskela
3d524fd3f1
Don't do MPS GC when there's a latent that could still be sampled
2023-07-12 15:17:30 +03:00
Aarni Koskela
8f6b24ce59
Add correct logger name
2023-07-12 15:16:42 +03:00
missionfloyd
e0218c4f22
Merge branch 'dev' into img2img-save
2023-07-12 02:57:57 -06:00
王怀宗
6c0d5d1198
fix: check fill size none zero when resize ( fixes #11425 )
2023-07-12 16:51:50 +08:00
missionfloyd
3fee3c34f1
Save img2img batch with images.save_image()
2023-07-12 02:45:03 -06:00
AUTOMATIC1111
af081211ee
getting SD2.1 to run on SDXL repo
2023-07-11 21:16:43 +03:00
Aarni Koskela
b85fc7187d
Fix MPS cache cleanup
...
Importing torch does not import torch.mps so the call failed.
2023-07-11 12:51:05 +03:00
TangJicheng
14501f56aa
set timeout_keep_alive
2023-07-11 17:32:04 +09:00
TangJicheng
10d4e4ace2
add cmd_args: --timeout-keep-alive
2023-07-11 17:30:57 +09:00
AUTOMATIC1111
7b833291b3
Merge branch 'master' into dev
2023-07-11 06:25:50 +03:00
Aarni Koskela
44c27ebc73
Use closing() with processing classes everywhere
...
Follows up on #11569
2023-07-10 20:08:23 +03:00
tangjicheng
089a0022ae
add queue lock for refresh-checkpoints
2023-07-10 23:10:14 +09:00
wfjsw
75f56406ce
Revert Pull Request #11244
...
Revert "Add github mirror for the download extension"
This reverts commit 9ec2ba2d28
.
Revert "Update code style"
This reverts commit de022c4c80
.
Revert "Update call method"
This reverts commit e9bd18c57b
.
Revert "move github proxy to settings, System page."
This reverts commit 4981c7d370
.
2023-07-09 22:42:00 +08:00
AUTOMATIC1111
7dcdf81b84
Merge pull request #11595 from akx/alisases
...
Fix typo: checkpoint_alisases
2023-07-08 17:53:55 +03:00
AUTOMATIC1111
4981c7d370
move github proxy to settings, System page.
2023-07-08 17:52:03 +03:00
AUTOMATIC1111
ee642a2ff4
Merge pull request #11244 from MaiXiaoMeng/dev
...
Add github mirror for the download extension
2023-07-08 17:38:29 +03:00
Aarni Koskela
da468a585b
Fix typo: checkpoint_alisases
2023-07-08 17:28:42 +03:00
AUTOMATIC1111
da8916f926
added torch.mps.empty_cache() to torch_gc()
...
changed a bunch of places that use torch.cuda.empty_cache() to use torch_gc() instead
2023-07-08 17:13:18 +03:00
AUTOMATIC1111
e161b5a025
rework #10436 to use shared.walk_files
2023-07-08 16:54:03 +03:00
AUTOMATIC1111
993dd9a892
Merge branch 'dev' into patch-1
2023-07-08 16:50:23 +03:00
AUTOMATIC1111
d7d6e8cfc8
use natural sort for shared.walk_files and shared.listfiles, as well as for dirs in extra networks
2023-07-08 16:45:59 +03:00
AUTOMATIC1111
7a6abc59ea
for #10650 : change key to alt+arrows, enable by default
2023-07-08 16:15:28 +03:00
AUTOMATIC1111
12a29a677a
Merge pull request #10650 from missionfloyd/reorder-hotkeys
...
Hotkeys to move prompt elements
2023-07-08 16:12:01 +03:00
AUTOMATIC1111
274a3e21ba
small rework for img2img PNG info
2023-07-08 15:42:00 +03:00
AUTOMATIC1111
1d71c36de2
third time's the charm
2023-07-08 15:21:29 +03:00
AUTOMATIC1111
9043b91649
additional changes for merge conflict for #11337
2023-07-08 15:14:24 +03:00
AUTOMATIC1111
b88645d9eb
additional changes for merge conflict for #11337
2023-07-08 15:14:14 +03:00
AUTOMATIC1111
ec9bbda3da
Merge branch 'dev' into img2img-batch-png-info
2023-07-08 15:10:10 +03:00
AUTOMATIC1111
539518292e
Merge pull request #11468 from NoCrypt/grid-colors-options
...
Add options to change colors in grid
2023-07-08 14:51:50 +03:00
AUTOMATIC1111
f0c62688d2
Merge pull request #11488 from AUTOMATIC1111/callback-after_extra_networks_activate
...
add callback after_extra_networks_activate
2023-07-08 14:50:11 +03:00
AUTOMATIC1111
3602602260
whitespace for #11477
2023-07-08 14:44:02 +03:00
AUTOMATIC1111
53924aeaf0
Merge pull request #11477 from hako-mikan/master
...
add `before_hr` script callback
2023-07-08 14:43:06 +03:00
AUTOMATIC1111
eb51acb89e
Merge pull request #11503 from AUTOMATIC1111/rename---add-stop-route-to---api-server-stop
...
Rename --add-stop-route to --api-server-stop
2023-07-08 14:40:21 +03:00
AUTOMATIC1111
6acc4cd7e1
Merge pull request #11513 from Akegarasu/dev
...
fix can't get current hash
2023-07-08 14:39:52 +03:00
AUTOMATIC1111
b25925c95b
Merge pull request #11520 from AUTOMATIC1111/extension-metadata
...
Extension metadata
2023-07-08 14:30:17 +03:00
AUTOMATIC1111
b74f661ed9
Merge pull request #11529 from hunshcn/sync-weight
...
sync default value of process_focal_crop_entropy_weight between ui and api
2023-07-08 14:24:48 +03:00
AUTOMATIC1111
7a7fa25d02
lint fix for #11492
2023-07-08 14:21:40 +03:00
AUTOMATIC1111
fc049a2fd3
Merge branch 'dev' into better-status-reporting-1
2023-07-08 14:19:34 +03:00
AUTOMATIC1111
ae74b44c69
Merge pull request #11596 from akx/use-read-info
...
postprocessing: use read_info_from_image
2023-07-08 14:14:12 +03:00
AUTOMATIC1111
9be8903ca9
Merge pull request #11567 from AUTOMATIC1111/seed_resize_to_0
...
Don't add "Seed Resize: -1x-1" to API image metadata
2023-07-08 13:58:31 +03:00
AUTOMATIC1111
d12ccb91a8
Merge pull request #11631 from AUTOMATIC1111/gif-preview
...
Allow gif for extra network previews
2023-07-08 13:47:57 +03:00
AUTOMATIC1111
2151a9881f
Merge pull request #11492 from semjon00/dev
...
Fix throwing exception when trying to resize image with I;16 mode
2023-07-08 13:46:08 +03:00
AUTOMATIC1111
19772c3c97
fix problem with extra network saving images as previews losing generation info
...
add a description for save_image_with_geninfo
2023-07-08 13:43:42 +03:00
AUTOMATIC1111
16045d0877
Merge pull request #11637 from Hao-Wu/fix-has-mps-deprecated
...
Fix warning of 'has_mps' deprecated from PyTorch
2023-07-08 13:11:52 +03:00
AUTOMATIC1111
5ed1ae5003
Merge pull request #11656 from jovijovi/dev
...
fix(api): convert to "RGB" if image mode is "RGBA" #11655
2023-07-08 13:10:50 +03:00
AUTOMATIC1111
46c2b1e202
Merge pull request #11660 from neilmahaseth/patch-1
...
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
2023-07-08 13:10:03 +03:00
Neil Mahseth
c258dd34a8
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
...
The code snippet print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a')) raises a UnicodeEncodeError with the message "'charmap' codec can't encode character '\u016b' in position 129". This error occurs because the default encoding used by the open() function cannot handle certain Unicode characters.
To fix this issue, the encoding parameter needs to be explicitly specified when opening the file. By using an appropriate encoding, such as 'utf-8', we can ensure that Unicode characters are properly encoded and written to the file.
The updated code should be modified as follows:
python
Copy code
print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a', encoding='utf-8'))
By making this change, the code will no longer raise the UnicodeEncodeError and will correctly handle Unicode characters during the file write operation.
2023-07-06 22:02:47 +05:30
jovijovi
259967b7c6
fix(api): convert to "RGB" if image mode is "RGBA"
2023-07-06 18:43:17 +08:00
Hao-Wu
daf41a2734
Fix warning of 'has_mps' is deprecated from PyTorch
2023-07-06 15:37:10 +08:00