Commit Graph

4562 Commits

Author SHA1 Message Date
lllyasviel f06ba8e60b Significantly reduce thread abuse for faster model moving
This will move all major gradio calls into the main thread rather than random gradio threads.
This ensures that all torch.module.to() are performed in main thread to completely possible avoid GPU fragments.
In my test now model moving is 0.7 ~ 1.2 seconds faster, which means all 6GB/8GB VRAM users will get 0.7 ~ 1.2 seconds faster per image on SDXL.
2024-02-08 10:13:59 -08:00
lllyasviel 760f727eb9 use better context manager to fix potential problems 2024-02-08 01:51:18 -08:00
lllyasviel 257ac2653a rework sigma device mapping 2024-02-07 00:44:12 -08:00
lllyasviel d11c9d7506 fix sigmas device in rare cases #71 2024-02-06 23:12:35 -08:00
lllyasviel 4ea4a92fe9 fix inpaint batch dim align #94 2024-02-06 22:57:53 -08:00
lllyasviel e579fab4d0 try solve #71 2024-02-06 17:46:23 -08:00
Chenlei Hu 79e4e46061 🐛 Fix SVD tab (#63) 2024-02-06 11:10:47 -05:00
lllyasviel d76b830add reduce prints 2024-02-06 07:56:15 -08:00
lllyasviel 1ecbff15fa add note about token merging 2024-02-05 21:55:59 -08:00
lllyasviel 58dff34084 fix ddpm 2024-02-05 20:12:17 -08:00
lllyasviel d45066bef5 Update rng.py 2024-02-05 14:12:31 -08:00
lllyasviel b174caa275 Update rng.py 2024-02-05 14:08:34 -08:00
lllyasviel 1b9734c45b Update rng.py 2024-02-05 13:50:19 -08:00
lllyasviel 8de4896bd6 fix inpaint formulation 2024-02-05 13:44:31 -08:00
lllyasviel f5b3fcc6cf Update rng.py 2024-02-05 13:33:27 -08:00
lllyasviel 0ba407fd9c new samplers
DDPM
DDPM Karras
DPM++ 2M Turbo
DPM++ 2M SDE Turbo
LCM Karras
2024-02-05 03:58:06 -08:00
lllyasviel 049020f3c5 smaller default model 2024-02-04 18:54:50 -08:00
lllyasviel 27d815618d remove xformer prints 2024-02-04 18:27:25 -08:00
Chenlei Hu 8117d7fcee Add button to send generated image to svd tab (#38) 2024-02-04 18:22:56 -05:00
lllyasviel 2954a36c18 fix ldsr 2024-02-04 14:30:58 -08:00
lllyasviel 54d12ef989 ddim 2024-02-04 13:47:31 -08:00
lllyasviel d32b5e5458 fix ddim inpaint 2024-02-04 03:34:20 -08:00
lllyasviel cbb9c0e8be fix ddim inpaint 2024-02-04 02:21:33 -08:00
lllyasviel 1024b67298 fix ddim plms unipc 2024-02-04 02:03:35 -08:00
lllyasviel 0a5ac13b14 Update sd_samplers_lcm.py 2024-02-04 01:22:44 -08:00
lllyasviel e007d405d5 a1111 2024-02-04 00:49:40 -08:00
lllyasviel c11490d560 add_alphas_cumprod_modifier 2024-02-03 22:33:18 -08:00
lllyasviel 905a027fc1 Update processing.py 2024-02-02 23:01:03 -08:00
lllyasviel a5de9d46f3 Update safe.py 2024-02-02 22:43:27 -08:00
lllyasviel 2129c64aed Update safe.py 2024-02-02 22:42:14 -08:00
lllyasviel 1edd626f7c Update processing.py 2024-02-02 22:30:55 -08:00
lllyasviel 332c0d0349 Update safe.py 2024-02-02 21:12:00 -08:00
lllyasviel 79df006ea5 Merge pull request #27 from lllyasviel/dev
from a1111
2024-02-02 14:30:05 -08:00
AUTOMATIC1111 321b2db067 fix extra networks metadata failing to work properly when you create the .json file with metadata for the first time. 2024-02-02 22:47:51 +03:00
AUTOMATIC1111 5084b39ea5 fix checkpoint selection not working for #14588 2024-02-02 19:41:07 +03:00
AUTOMATIC1111 5904e3f6b3 fix page refresh not re-applying sort/filter for #14588
fix path sortkey not including the filename for #14588
2024-02-02 19:30:59 +03:00
lllyasviel a9212b640f photomaker 2024-02-01 22:57:49 -08:00
AUTOMATIC1111 2600370659 fix error when editing extra networks card 2024-02-01 23:54:57 +03:00
AUTOMATIC1111 9f3ba38314 Add "Interrupting..." placeholder. 2024-02-01 22:34:29 +03:00
w-e-w bbe8e02d74 catch load style.csv error 2024-02-01 15:40:15 +09:00
lllyasviel d8a2b366e9 Update ui_common.py 2024-01-31 20:08:14 -08:00
lllyasviel 571c4586c5 remove shit 2024-01-31 17:29:09 -08:00
lllyasviel 66187d97fb early initilize 2024-01-31 15:27:13 -08:00
lllyasviel 1b72a56472 i 2024-01-31 15:18:02 -08:00
lllyasviel cf47ec85f0 fix 2024-01-31 14:57:17 -08:00
lllyasviel 2040649f2a disable extension 2024-01-31 14:53:53 -08:00
lllyasviel e140bbf49e Update sd_unet.py 2024-01-31 13:51:36 -08:00
lllyasviel dbd002f930 Update devices.py 2024-01-31 13:22:40 -08:00
lllyasviel fd75f4f101 Merge branch 'main' into dev 2024-01-31 13:19:08 -08:00
lllyasviel 0d7988da8e move codes 2024-01-31 12:21:50 -08:00