Commit Graph

7973 Commits

Author SHA1 Message Date
lllyasviel
79bdb78619 less verbose 2024-02-23 22:31:16 -08:00
lllyasviel
2ecb869f31 try solve #386 2024-02-23 20:43:06 -08:00
lllyasviel
a844834193 safer stream initialization 2024-02-23 20:28:27 -08:00
lllyasviel
d508d8132f add cmd flag hints 2024-02-23 20:06:08 -08:00
lllyasviel
88f395091b
add two optimizations
--pin-shared-memory and --cuda-malloc

See also the updates in Readme for more details
2024-02-23 18:39:32 -08:00
lllyasviel
54c89503eb Disable pin page
This is an emergency fix

GTX 1060/1050/1066 either does not have shared GPU page vram or have less than 2GB shared page vram - pinning any tensors larger than that will crash

Solution is still under investigation.
2024-02-23 16:43:08 -08:00
lllyasviel
16caff3d14 Revert "try solve #381"
This reverts commit 9d4c88912d.
2024-02-23 16:13:40 -08:00
lllyasviel
9d4c88912d try solve #381
caused by some potential historical webui problems
2024-02-23 16:01:40 -08:00
lllyasviel
bde779a526 apply_token_merging 2024-02-23 15:43:27 -08:00
lllyasviel
2a7fb1be24 less verbose 2024-02-23 14:22:37 -08:00
lllyasviel
cc5f773519
sync upstream 2024-02-23 13:48:28 -08:00
lllyasviel
1c6e4b698b Merge branch 'dev' of github.com:AUTOMATIC1111/stable-diffusion-webui into dev 2024-02-23 13:45:46 -08:00
lllyasviel
ad0ce480f9 always print time 2024-02-23 13:02:30 -08:00
lllyasviel
df12dde12e
Rework unload system
Previous repeated loading (on cn or other extensions) is fixed. ControlNet saves about 0.7 to 1.1 seconds on my two device when batch count > 1. 

8GB VRAM can use SDXL at resolution 6144x6144 now, out of the box, without tiled diffusion or other things. 

(the max resolution on Automatic1111 txt2img UI is 2048 but one can highres fix to try 6144 or even 8192)
2024-02-23 12:58:09 -08:00
lllyasviel
19473b1a26 fix ci 2024-02-23 09:44:08 -08:00
lllyasviel
26c325296e
rework memory computation for async loader (#377) 2024-02-23 09:24:39 -08:00
Andray
3a99824638 register_tmp_file also with mtime 2024-02-23 20:26:56 +04:00
Andray
bab918f049 fix resize-handle for vertical layout 2024-02-23 18:34:24 +04:00
DB Eriospermum
ed594d7ba6
fix: the split_threshold parameter does not work when running Split oversized images 2024-02-23 13:37:37 +08:00
lllyasviel
eacb14e115 tune threshold based on more test devices
for async mover
2024-02-22 17:18:31 -08:00
Andray
9211febbfc ResizeHandleRow - allow overriden column scale parametr 2024-02-23 02:32:12 +04:00
AUTOMATIC1111
18819723c1
Merge pull request #15002 from light-and-ray/support_resizable_columns_for_touch_(tablets)
support resizable columns for touch (tablets)
2024-02-22 22:59:26 +03:00
AUTOMATIC1111
3f18a09c86 make extra network card description plaintext by default, with an option to re-enable HTML as it was 2024-02-22 21:27:10 +03:00
lllyasviel
8283774b86 revise caster 2024-02-22 10:24:27 -08:00
lllyasviel
6ebef20db3 avoid potential OOM caused by computation being slower than mover
avoid OOM (or shared vram invoking) caused by computation being slower than mover (GPU filled with loaded  but uncomputed tensors), by setting the max async overhead to 512MB
2024-02-22 08:24:23 -08:00
lllyasviel
167dbc6411 safe value for new memory peak 2024-02-22 06:31:21 -08:00
Andray
58985e6b37 fix lint 2 2024-02-22 17:22:00 +04:00
Andray
ab1e0fa9bf fix lint and console warning 2024-02-22 17:16:16 +04:00
Andray
85abbbb8fa support resizable columns for touch (tablets) 2024-02-22 17:04:56 +04:00
lllyasviel
539bc5035d safe cleanup to avoid potential problems 2024-02-22 01:28:38 -08:00
lllyasviel
4080e25805 add todo note 2024-02-22 00:47:26 -08:00
lllyasviel
846fdc3341 also implement async offload to control-lora
controlnet, t2iadapters, etc
2024-02-22 00:20:35 -08:00
lllyasviel
638ee43bf1 Merge upstream PR 14855 2024-02-21 23:59:40 -08:00
lllyasviel
95ddac3117
Merge upstream
upstream
2024-02-21 23:56:45 -08:00
lllyasviel
b713542cd8 resolve upstream 2024-02-21 23:54:21 -08:00
lllyasviel
b4f3c1971b Merge branch 'dev' of github.com:AUTOMATIC1111/stable-diffusion-webui into dev 2024-02-21 23:44:47 -08:00
AUTOMATIC1111
1da05297ea possible fix for reload button not appearing in some cases for extra networks. 2024-02-22 10:28:03 +03:00
dtlnor
f537e5a519 fix #14591 - using translated content to do categories mapping 2024-02-22 12:26:57 +09:00
lllyasviel
4ce60f2176 support SDXL-Lightning
added samplers: Euler SGMUniform, Euler A SGMUniform, DPM++ 2M SGMUniform, DPM++ 2M SDE SGMUniform

ByteDance official recommended one is Euler SGMUniform

Remember to use CFG=1.0
2024-02-21 15:42:38 -08:00
Kohaku-Blueleaf
c4afdb7895
For no constraint 2024-02-22 00:43:32 +08:00
Kohaku-Blueleaf
64179c3221
Update network_oft.py 2024-02-21 22:50:43 +08:00
Kohaku-Blueleaf
591470d86d linting 2024-02-20 17:21:34 +08:00
Kohaku-Blueleaf
a5436a3ac0 Update network_oft.py 2024-02-20 17:20:14 +08:00
AUTOMATIC1111
0a271938d8
Merge pull request #14966 from light-and-ray/avoid_doble_upscaling_in_inpaint
[bug] avoid doble upscaling in inpaint
2024-02-19 18:06:05 +03:00
Andray
33c8fe1221 avoid doble upscaling in inpaint 2024-02-19 16:57:49 +04:00
AUTOMATIC1111
6e4fc5e1a8
Merge pull request #14871 from v0xie/boft
Support inference with LyCORIS BOFT networks
2024-02-19 10:05:30 +03:00
Kohaku-Blueleaf
4eb949625c
prevent undefined variable 2024-02-19 14:43:07 +08:00
Kohaku-Blueleaf
5a8dd0c549
Fix rescale 2024-02-18 14:58:41 +08:00
AUTOMATIC1111
9d5becb4de
Merge pull request #14947 from AUTOMATIC1111/open-button
option "open image button" open the actual dir
2024-02-17 21:30:21 +03:00
w-e-w
71072f5620 re-work open image button settings 2024-02-18 02:47:44 +09:00