Commit Graph

4977 Commits (e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92)

Author SHA1 Message Date
Vladimir Mandic 188fb1efcd allow tuple for dropdowns 2023-10-10 07:54:59 -04:00
Vladimir Mandic 22405a845a safe hypertile reset 2023-10-09 15:56:01 -04:00
Vladimir Mandic b5eaa0ccb4 fix samplers init 2023-10-09 15:42:12 -04:00
Vladimir Mandic d80890531c add experimental override 2023-10-09 14:55:43 -04:00
Vladimir Mandic 49c58a0c06 gradio update phase one 2023-10-09 14:45:25 -04:00
Vladimir Mandic 2a9ef465c8 move samplers init to separate call 2023-10-09 09:38:27 -04:00
Vladimir Mandic e881e885e8 fix hypertile with hires 2023-10-09 09:11:46 -04:00
Vladimir Mandic d951007d21 add motd 2023-10-09 08:46:48 -04:00
Vladimir Mandic 6b4df05b5c fix sampler eta 2023-10-09 07:27:00 -04:00
Vladimir Mandic 512dfb990c cleanup 2023-10-08 16:14:41 -04:00
Vladimir Mandic 4263d55e7c model filter 2023-10-08 16:12:25 -04:00
Vladimir Mandic fccb237542 fix lora unload 2023-10-08 16:01:53 -04:00
Vladimir Mandic f2fc41cfc2 refactor lora load/unload 2023-10-08 12:00:51 -04:00
Vladimir Mandic c0e4605dfb
Merge pull request #2293 from AI-Casanova/lycoris-diffusers
Lycoris loading on Diffusers Backend
2023-10-08 08:20:25 -04:00
Vladimir Mandic dca4efb3ad handle xformers 2023-10-08 08:10:34 -04:00
Vladimir Mandic 564d04d9f4
Merge pull request #2296 from vladmandic/master
update dml
2023-10-08 07:26:55 -04:00
Vladimir Mandic 65dfed93a1 add process batch 2023-10-08 07:25:45 -04:00
Vladimir Mandic 435a8af57c
Merge branch 'dev' into vlad3 2023-10-08 07:16:10 -04:00
AI-Casanova cc86189a6a
Delete modules/lora_diffusers.py 2023-10-07 13:15:07 -05:00
AI-Casanova d79d2a7663
remove obsolete references to lora_diffusers.py 2023-10-07 13:13:24 -05:00
Seunghoon Lee e5f8b7f0a4
update dml 2023-10-08 02:19:56 +09:00
AI-Casanova b41d3b2efb
Update sd_models.py for LyCORIS loading on Diffusers Backend 2023-10-07 12:12:24 -05:00
Vladimir Mandic 1a984c2827 implement styles extra field 2023-10-07 09:59:02 -04:00
Vladimir Mandic 8e22fbbdb6 add style as en provider 2023-10-07 08:07:42 -04:00
Vladimir Mandic 109b1d6907 update style 2023-10-06 19:09:46 -04:00
Vladimir Mandic b2d1cd3a2b update changelog 2023-10-06 17:52:20 -04:00
Vladimir Mandic a47c4cf04d update settings and fix references to state 2023-10-06 17:18:42 -04:00
Vladimir Mandic 3c794fa124 typos 2023-10-06 16:15:26 -04:00
Vladimir Mandic 2ec797472b add hypertile 2023-10-06 16:10:56 -04:00
Vladimir Mandic 35caccd3bd add free-u 2023-10-06 12:37:26 -04:00
Vladimir Mandic b225cedb50 css tweaks 2023-10-06 08:33:12 -04:00
Disty0 c3df104cde Move OpenVINO options to Model Compile 2023-10-06 01:37:24 +03:00
Disty0 e178ab89ee OpenVINO add disable caching option 2023-10-06 01:33:07 +03:00
Vladimir Mandic b790bcd637 xyz grid allow string/select switch 2023-10-05 15:10:01 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic 7dc098182a new lora handler and remove lyco 2023-10-05 14:30:51 -04:00
Vladimir Mandic 1369c4d714 initial built-in styles 2023-10-04 16:06:02 -04:00
Vladimir Mandic 30fe75f205 fix recently broken extension js code loading 2023-10-04 12:35:18 -04:00
Vladimir Mandic 1e8205fbb1 bring metadata apply to speed 2023-10-04 11:10:47 -04:00
AI-Casanova 322357fff6
Update shared.py 2023-10-03 20:33:49 -05:00
AI-Casanova 14914b9bfb
Fix Diffusers Prompt Padding and add pooled option 2023-10-03 20:31:50 -05:00
Vladimir Mandic 1e70a1ae57 civitai multithreaded downloads 2023-10-03 10:46:00 -04:00
Symbiomatrix f904b24a1a
Missed line. 2023-10-03 17:44:08 +03:00
Symbiomatrix bb201475a9
Made frame batch mode toggleable. 2023-10-03 17:36:53 +03:00
Symbiomatrix 5874b81c23
Add setting for batch frames. 2023-10-03 17:30:43 +03:00
Symbiomatrix 07d3d88fbb
Merge branch 'master' into vlad3 2023-10-03 10:45:28 +03:00
Vladimir Mandic 578d270cab fix save image json 2023-10-02 17:51:47 -04:00
Vladimir Mandic f3c6bfbe7f finish nvml 2023-10-02 17:25:57 -04:00
Vladimir Mandic 39933a0e28 add nvml api 2023-10-02 16:33:26 -04:00
Vladimir Mandic ee794a137d change diffusers prompt attention 2023-10-02 15:20:09 -04:00
Vladimir Mandic a93df3a8b2
Merge pull request #2276 from vladmandic/AI-Casanova-Prompt-Parser
Major Refactor prompt_parser_diffusers.py
2023-10-02 14:23:00 -04:00
Vladimir Mandic bf3bb91d56 avoid js double load 2023-10-02 11:39:12 -04:00
Vladimir Mandic c4071b6723 cache script/extension info 2023-10-02 09:34:01 -04:00
Vladimir Mandic 1e66ff4f99 cleanup gradio 2023-10-02 08:57:43 -04:00
Vladimir Mandic 9a5f339082 add compact view 2023-10-02 07:56:11 -04:00
AI-Casanova 626b4e3e13
Update processing_diffusers.py 2023-10-01 15:56:14 -05:00
AI-Casanova 08d094bb95
Major Refactor prompt_parser_diffusers.py
Prompt_2 has been mostly overridden by `TE2` keyword in prompt
2023-10-01 15:52:42 -05:00
Vladimir Mandic 9d335a34e8 update en paths 2023-10-01 16:20:27 -04:00
Vladimir Mandic d572abbec8 update changelog 2023-10-01 14:28:42 -04:00
Vladimir Mandic 1c28757061 update train script 2023-10-01 13:59:13 -04:00
Vladimir Mandic 6ea5c177e7 add downloader 2023-10-01 10:35:49 -04:00
Vladimir Mandic 4c98b8d1c7 minor patches and nvml cli 2023-09-30 17:17:57 -04:00
Vladimir Mandic d01f01c981 update upscalers 2023-09-30 09:20:25 -04:00
Disty0 f11cf4b29a OpenVINO add Multi GPU option 2023-09-30 12:48:21 +03:00
Vladimir Mandic 965e5a95f1 refactor diffusers tasks 2023-09-29 14:13:30 -04:00
Disty0 dc31dcbc1c Cleanup 2023-09-29 18:29:44 +03:00
Disty0 72a33d5247 Update device logging 2023-09-29 18:28:04 +03:00
Vladimir Mandic 1da359eb6e fix prompt clear 2023-09-29 11:23:39 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic a2b00f34ec add vae to en 2023-09-29 09:00:44 -04:00
Disty0 f11946f3ba IPEX add torch.version.cuda hijack 2023-09-29 15:34:06 +03:00
Vladimir Mandic fca8680521 add nodejs sdapi example 2023-09-29 08:23:42 -04:00
Vladimir Mandic e830b41dfa one more sdxl embeddings fix 2023-09-28 16:03:18 -04:00
Vladimir Mandic a785f3da2e update main ui 2023-09-28 14:33:20 -04:00
Vladimir Mandic 23593d5442 en styles phase two 2023-09-28 14:33:20 -04:00
Vladimir Mandic 21e99d9280
Merge pull request #2263 from AI-Casanova/patch-5
Fix SDXL TI v2
2023-09-28 14:33:03 -04:00
Disty0 2784dcaef9 OpenVINO print raw device 2023-09-28 21:30:40 +03:00
Disty0 6184a8cb5c IPEX and DML fix Cuda error 2023-09-28 20:51:11 +03:00
Disty0 21d53b6ac8 Cleanup 2023-09-28 19:53:52 +03:00
Disty0 7a3c1da954 Add OpenVINO device logging 2023-09-28 19:33:14 +03:00
AI-Casanova 7f7c390c5a
Fix SDXL TI v2
For some reason trying to resize `clip_l` and `clip_g` doesn't work resulting in this error `index 49408 is out of bounds for dimension 0 with size 49408`

`self.register_embedding` doesn't work for SDXL `'StableDiffusionXLPipeline' object has no attribute 'cond_stage_model'` but the exception happens after the embeddings are loaded so is inconsequential to function.
2023-09-28 08:26:42 -05:00
Disty0 5edf481c8d Add Torch GC threshold slider 2023-09-28 14:38:22 +03:00
Disty0 f78c5c6423 IPEX more attention optimizations 2023-09-28 13:59:50 +03:00
Disty0 072469245b Merge branch 'master' into dev 2023-09-28 00:28:01 +03:00
Disty0 49d181b8a3 Remove OpenVINO device warning 2023-09-28 00:26:53 +03:00
Disty0 180f8c9c93 Update OpenVINO 2023-09-27 20:09:59 +03:00
Vladimir Mandic 2cd5964c9b add sigma min/max 2023-09-27 12:06:14 -04:00
Vladimir Mandic d67152cab4 cleanup upscaler settings 2023-09-27 09:24:23 -04:00
Vladimir Mandic 76894461d2
Merge pull request #2259 from AI-Casanova/patch-3
Update lora_diffusers.py for Diffusers 0.21.2
2023-09-27 09:23:11 -04:00
Vladimir Mandic ef0e8a5161 upscaler caching and ti model detection 2023-09-27 08:49:04 -04:00
Vladimir Mandic 73b6d4f57c add current_optimizer info 2023-09-27 06:02:12 -04:00
AI-Casanova 7a00e16725
Update lora_diffusers.py for Diffusers 0.21.2
Caution, NOT backward compatible to 0.20.2
2023-09-26 18:25:15 -05:00
Vladimir Mandic 75c41498dd styles editing phase one 2023-09-26 19:11:51 -04:00
Vladimir Mandic 7ceb1df1f5 dml fix for sd 2.1 2023-09-26 17:50:42 -04:00
Vladimir Mandic 8a11a3a70f update changelog 2023-09-26 17:45:52 -04:00
Vladimir Mandic 6bb1e59de6 diffusers better ti reload 2023-09-26 17:42:24 -04:00
Vladimir Mandic 7f9013533d better error handling 2023-09-26 12:30:45 -04:00
Vladimir Mandic 14aec521ed better diffusers embedding handling 2023-09-26 12:04:26 -04:00
Vladimir Mandic e661d7bce7 rework open folder 2023-09-26 09:55:22 -04:00
Vladimir Mandic 38402c8e6e fix new k-diffusers 2023-09-26 09:55:22 -04:00
Disty0 6650602289 IPEX fix mem_get_info 2023-09-26 16:34:54 +03:00
Vladimir Mandic db6091207d register skipped embeddings correctly 2023-09-26 07:04:14 -04:00
Vladimir Mandic c8b106a471 cleanup 2023-09-26 06:57:19 -04:00
Vladimir Mandic 0bc0920a77 open folder in gallery path 2023-09-26 06:35:33 -04:00
Vladimir Mandic 5ebc6dd166 safe pipeline import 2023-09-25 19:58:01 -04:00
Vladimir Mandic dbdb43cf27 refactor samplers 2023-09-25 19:46:12 -04:00
Vladimir Mandic ab65243ad7 cleanup pipelines 2023-09-25 19:46:12 -04:00
Vladimir Mandic 763be8092b enable sdxl inpaint 2023-09-25 19:46:12 -04:00
Vladimir Mandic ff28ac35e0 add actual latent upscalers 2023-09-25 19:46:12 -04:00
Disty0 4ba2e23dd2 IPEX Optimizations 2023-09-26 00:28:41 +03:00
Vladimir Mandic fa11439246 fix typos 2023-09-24 22:22:42 -04:00
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic aabad68872 en details 2023-09-24 12:21:36 -04:00
Vladimir Mandic d9418ecf1d
Merge pull request #2246 from hameerabbasi/hameer/change-symbols
Change symbols so they display properly on macOS.
2023-09-24 12:19:44 -04:00
Hameer Abbasi 8b9ff968ac
Change symbols missing for macOS. 2023-09-24 15:48:05 +02:00
Vladimir Mandic 0afcfe6097 logger early init 2023-09-23 23:44:34 -04:00
Vladimir Mandic 940b4122f9 add en details view - phase one 2023-09-23 17:49:31 -04:00
Vladimir Mandic 257601bbb8 cleanup 2023-09-23 10:15:06 -04:00
Vladimir Mandic f69625625b add browser session info 2023-09-22 21:01:07 -04:00
Vladimir Mandic 9b4c4e5b49 accordions everywhere 2023-09-22 20:34:25 -04:00
Vladimir Mandic 4e7ad0e15a diffusers better model autodetect 2023-09-22 10:28:10 -04:00
Vladimir Mandic 4518cfb3b1 refactor schedulers first part 2023-09-21 13:19:55 -04:00
Vladimir Mandic 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic b00c323c31 update changelog 2023-09-21 07:52:09 -04:00
Vladimir Mandic 0986c9ed13
Merge pull request #2233 from vladmandic/master
update dev from master
2023-09-21 07:51:09 -04:00
Vladimir Mandic b2e7bcd546 refactor ddpmedit 2023-09-20 13:17:33 -04:00
Vladimir Mandic 200ced8b1c refactor unipc code 2023-09-20 13:15:40 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Disty0 89ba8e3cf6
Merge pull request #2228 from Nuullll/get-device-id
Fix ipex init
2023-09-20 15:39:56 +03:00
Nuullll 16b1752042 Fix ipex init
getDeviceIdListForCard is renamed since 835b41fd5c
2023-09-20 20:16:56 +08:00
Vladimir Mandic 5411a0fd8f fix 2023-09-19 20:35:19 -04:00
Vladimir Mandic d73f5f6ff6 allow zero denoising 2023-09-19 15:14:58 -04:00
Vladimir Mandic f82e05c5f1 second part of has_accelerate cleanup 2023-09-19 13:05:42 -04:00
Vladimir Mandic df377d6d27 safe handling of accelerate 2023-09-19 12:55:32 -04:00
Vladimir Mandic 4d9ccbc035 add batch info to metadata 2023-09-19 11:13:40 -04:00
Disty0 c33bbc83e7 Update OpenVINO 2023-09-19 11:19:32 +03:00
Vladimir Mandic 947be29055 fix save 2023-09-18 23:04:09 -04:00
Vladimir Mandic e6d6ee621a diffusers lora unload logic 2023-09-18 22:30:36 -04:00
Vladimir Mandic 26710417d7
Merge pull request #2222 from Aptronymist/pngfix
Correcting legacy image optimization code
2023-09-18 22:12:19 -04:00
Aptronymist cefb5959e3 Correcting legacy image optimization code
Legacy A1111 code improperly implemented Pillow image optimization options, "quality=" never applied to PNG files (or anything else), only JPEG files, per https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#png-saving and https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg-saving

This is now corrected, other than turning on the optimize=True, for backup and giggles, compress_level=9 is also set. For JPEG files, I also enabled optimize=True as it supposedly makes more optimized files.
2023-09-18 21:27:20 -04:00
Vladimir Mandic 7ae304f76e cleanup settings 2023-09-18 21:24:40 -04:00
Vladimir Mandic 8797a34e19 add tensor to samples method 2023-09-18 15:49:04 -04:00
Vladimir Mandic 7e298b2039 reenable sequential lora apply 2023-09-18 15:27:39 -04:00
Vladimir Mandic ef91976165 switch to native r-esrgan and modelloader 2023-09-18 15:21:11 -04:00
Vladimir Mandic b35a84f505 add upscaler logging 2023-09-18 14:48:41 -04:00
Vladimir Mandic 0f3dc232c1 add en show/hide/reorder 2023-09-18 10:27:31 -04:00
Vladimir Mandic eee6d3104e rename en 2023-09-18 09:25:25 -04:00
Vladimir Mandic f7901c8d53 add changelog to ui 2023-09-18 08:38:04 -04:00
Disty0 550b7056ac IPEX fix SDPA and reduce torch_gc force to %90 2023-09-18 15:36:14 +03:00
SBM 34c48a85c0 Experimental batch mode for frames. 2023-09-18 01:02:09 +03:00
Vladimir Mandic 792893e68e fix filename gen 2023-09-17 15:36:05 -04:00
Vladimir Mandic d1302c09e3 update pre-commit and fix ops 2023-09-17 15:06:21 -04:00
Vladimir Mandic f4492f4c86 optimize en search 2023-09-17 10:47:25 -04:00
Vladimir Mandic 4887b0a631 add before process callback 2023-09-17 10:16:36 -04:00
Disty0 e0c8d37d5e Fix DPM SDE and update IPEX defaults 2023-09-17 16:14:40 +03:00
Disty0 3389edf6f8 Fix model unloading 2023-09-17 03:46:16 +03:00
Disty0 36e0823538 Cleanup 2023-09-17 01:28:35 +03:00
Vladimir Mandic 2daf61ae7a presort en 2023-09-16 17:36:03 -04:00
Vladimir Mandic 12d6173b57 fix bad styles names 2023-09-16 17:19:19 -04:00
Vladimir Mandic 9ca17487e0 diffusers round width/height 2023-09-16 17:09:51 -04:00
Vladimir Mandic 2878f66c57 fix paths 2023-09-16 16:53:10 -04:00
Vladimir Mandic cb43af03a2 get api extra-networks 2023-09-16 16:45:11 -04:00
Disty0 3fa3548138 Diffusers fix compile 2023-09-16 22:15:07 +03:00
Vladimir Mandic 3c3b3b9291 simplify ti loading 2023-09-16 13:46:40 -04:00
Disty0 4e209fe87f OpenVINO fix caching and recompile when using Lora 2023-09-16 20:05:53 +03:00
Vladimir Mandic 214d14ef53 fix double before-hires save 2023-09-16 10:40:56 -04:00
Disty0 793b5f4921 OpenVINO Lora support 2023-09-16 16:10:02 +03:00
Disty0 b13494a142 Diffusers fix hires sampler 2023-09-16 14:38:55 +03:00
Disty0 71631b7a36 Diffusers add DPM SDE sampler 2023-09-16 13:48:22 +03:00
Vladimir Mandic d833b853ff downgrade diffusers 2023-09-15 13:41:56 -04:00
Vladimir Mandic b67e986ec3 fix loading hypernetwork 2023-09-15 11:53:14 -04:00
Vladimir Mandic 2309398be8 temp fix sdxl lora 2023-09-15 11:38:38 -04:00
Vladimir Mandic 396135d567 fix tomes 2023-09-15 10:18:50 -04:00
Vladimir Mandic d3177fc560 fix api typing for scripts 2023-09-15 10:09:06 -04:00
Vladimir Mandic c7f3f57093 fix hires preview 2023-09-15 09:50:45 -04:00
Vladimir Mandic 0d0240314b add process/postprocess logging 2023-09-15 09:14:47 -04:00
Vladimir Mandic 496bdf7c55 fix backend switch 2023-09-15 08:39:25 -04:00
Vladimir Mandic 083ab521fa cleanup 2023-09-14 20:01:30 -04:00
Vladimir Mandic 9d85a9702b fix vae upscale 2023-09-14 15:28:38 -04:00
Vladimir Mandic ef51f55026 critical fix 2023-09-14 14:41:43 -04:00
Vladimir Mandic b41c3009be revert diffusers 2023-09-14 13:03:40 -04:00
Vladimir Mandic fc75b5ec41 add wuerstchen model 2023-09-14 11:51:09 -04:00
Vladimir Mandic 484dae8dbd upgrade diffusers 2023-09-14 09:38:17 -04:00
Disty0 25133420f4 IPEX hijacks fix diffusers 0.21.1 lazy_import 2023-09-14 15:51:35 +03:00
Vladimir Mandic c869e9c992 fix small grids 2023-09-14 08:46:09 -04:00
Vladimir Mandic d4871414ea fix fullpath 2023-09-13 17:26:15 -04:00
Vladimir Mandic 26383c7950 handle cross-mounting 2023-09-13 16:53:26 -04:00
Vladimir Mandic a1120666d8 fix styles and console logging 2023-09-13 16:50:03 -04:00
Vladimir Mandic af672d10eb fix paths with data-dir 2023-09-13 16:10:29 -04:00
Vladimir Mandic 80051ce365 hide refiner if not working in diffusers 2023-09-13 15:29:37 -04:00
Vladimir Mandic 336bc0de40 re-layout of main settings 2023-09-13 13:01:10 -04:00
Vladimir Mandic 76c444fbc8 cleanup 2023-09-13 11:48:13 -04:00
Vladimir Mandic 08f594a54b fix missing paths 2023-09-13 11:26:28 -04:00
Vladimir Mandic a7755ac6d8 fix slow hypernetworks enum 2023-09-13 09:16:44 -04:00
Vladimir Mandic 7439272219 redesign ui defaults 2023-09-13 09:04:55 -04:00
Vladimir Mandic c3cbb6a48b error handling on invalid metadata 2023-09-12 17:45:31 -04:00
Vladimir Mandic 5142b2ab30 catch empty processing object 2023-09-12 15:51:55 -04:00
Vladimir Mandic 4d94beabe9 add callback 2023-09-12 14:56:09 -04:00
Vladimir Mandic 9cf7fc4a75 add new hires with refiner and non-latent modes 2023-09-12 11:54:10 -04:00
AI-Casanova d44c9d0c33
Fix for mixed case TI filenames (SDXL) 2023-09-11 17:12:29 -05:00
Vladimir Mandic 2f071c6586 cleanup 2023-09-11 09:55:28 -04:00
Vladimir Mandic 1f730b129f update hires logic 2023-09-11 09:09:38 -04:00
Disty0 7a8fed1e94 Fix img2img doesn't have hires error 2023-09-11 12:24:54 +03:00
Disty0 f9096194da Fix typo 2023-09-11 12:02:06 +03:00
Vladimir Mandic cb51e55c28 handle invalid filenames in styles 2023-09-10 19:57:28 -04:00
Vladimir Mandic cbed61732f enable non-latent hires upscalers 2023-09-10 19:48:22 -04:00
Vladimir Mandic 2c06f841fb fix styles api 2023-09-10 18:52:48 -04:00
Vladimir Mandic f8fcb6f853 fix original hires non-latent 2023-09-10 18:30:20 -04:00
Vladimir Mandic 19d92dae52 fix esrgan 2023-09-10 18:16:59 -04:00
Vladimir Mandic 56e041c3b6 improve civitai integration 2023-09-10 18:13:20 -04:00
Vladimir Mandic 5a649f951a skip invalid diffusers model 2023-09-10 15:19:39 -04:00
Vladimir Mandic 250d1bf2fb update hints 2023-09-10 13:05:31 -04:00
Vladimir Mandic 2d0ea97a14 css optimizations, flat icons, metadata scrubbing 2023-09-10 10:55:54 -04:00
Vladimir Mandic 60df52f636 add no-metadata 2023-09-10 08:32:53 -04:00
Disty0 4898c0ffa7 Fix inference-mode 2023-09-10 12:00:52 +03:00
Vladimir Mandic 36001151bb ti fixes 2023-09-09 19:39:21 -04:00
Vladimir Mandic 7bda411738 improve styles, better logging 2023-09-09 13:47:46 -04:00
Vladimir Mandic c98a4ddb6a update sampler logic 2023-09-08 17:53:48 -04:00
Disty0 34ee67477e Fix BF16 and FP32 logging 2023-09-08 23:49:49 +03:00
Vladimir Mandic b94556260a fix postprocessing file name pattern 2023-09-08 13:56:05 -04:00
Vladimir Mandic 29d88cf557 cleanup logging 2023-09-08 13:29:33 -04:00
Vladimir Mandic f36c1eb476 jumbo patch 2023-09-08 13:01:20 -04:00
Vladimir Mandic 5b41115bc8 fix settings refresh button 2023-09-08 08:34:27 -04:00
Vladimir Mandic 0194620ec2 cleanup options 2023-09-08 07:59:58 -04:00
QuantumSoul 36f134ddd4
Update sd_models.py
If user uses --no-download, they most-likely don't need the error for not having any local models
2023-09-08 04:23:56 +02:00
Disty0 12c2f4d6ee Cleanup 2023-09-08 04:17:27 +03:00
Disty0 9cadf4fc10 IPEX fix and make SDP default 2023-09-08 03:51:44 +03:00
Vladimir Mandic 2187735187 hf quick model scan 2023-09-07 16:54:03 -04:00
Vladimir Mandic a6dcb8c2f5 fix en refresh 2023-09-07 16:15:42 -04:00
Vladimir Mandic c81a909e85 fix theme enum and preview 2023-09-07 11:30:57 -04:00
Vladimir Mandic 09b4c79f4a add job info to all jobs 2023-09-07 10:40:07 -04:00
Vladimir Mandic 81ff379e2c fix refiner 2023-09-07 09:38:35 -04:00
Vladimir Mandic 241b47fa72 fix en description style 2023-09-07 09:22:43 -04:00
Vladimir Mandic 9d42d7d678 fix lyco patch and validate settings 2023-09-07 08:54:11 -04:00
Vladimir Mandic 39e1f91cce skip override for same items, handle taesd 2023-09-07 08:19:37 -04:00
Vladimir Mandic a9e1347b85 make extension disabling for diffusers temporary 2023-09-07 07:39:15 -04:00
Vladimir Mandic 8fd96d0f30 catch directml and ipex initialization errors 2023-09-07 07:27:54 -04:00
Vladimir Mandic 83ae2a6c42 fix pipe detection when processing prompts 2023-09-06 20:21:39 -04:00
Vladimir Mandic ac267d7f3f add light theme, enhance profilng and logging 2023-09-06 13:23:14 -04:00
Aptronymist e3268bf6c4 Revert "update settings"
This reverts commit e442172423.
2023-09-06 11:07:51 -04:00
Aptronymist e442172423 update settings
last minute updates
2023-09-06 10:44:19 -04:00
Vladimir Mandic 4753f363d4 en refresh page 2023-09-05 12:36:08 -04:00
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Disty0 9058bfa250 IPEX fix hypernetwork training 2023-09-05 19:32:03 +03:00
Disty0 b4af0c2241 Fix hypernetwork validate_train_inputs 2023-09-05 19:19:00 +03:00
Disty0 a16be075b9 IPEX patch GradScaler 2023-09-05 19:06:24 +03:00
Disty0 b4f6dc1cb7 IPEX add GradScaler 2023-09-05 19:05:54 +03:00
Vladimir Mandic 889274f39b post merge cleanup 2023-09-05 08:50:03 -04:00
Vladimir Mandic c64cdab1eb
Merge pull request #2130 from AI-Casanova/TI
Add Textual Inversion loading for SDXL
2023-09-05 08:43:41 -04:00
Vladimir Mandic 2b83c7c5ae pre merge cleanup 2023-09-05 08:43:12 -04:00
Vladimir Mandic 545dec0089 add new theme 2023-09-05 08:32:47 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Disty0 616e8f793c IPEX cleanup 2023-09-04 20:35:20 +03:00
Vladimir Mandic e9055c7cd8 major refactor 2023-09-04 11:31:29 -04:00
Hameer Abbasi 4c7792ed01
Add pre-commit. 2023-09-04 13:57:47 +02:00
AI-Casanova e34b19bb80 Add Textual Inversion loading for SDXL 2023-09-03 21:49:43 -05:00
Vladimir Mandic 088878f0ca add black-teal theme 2023-09-03 16:36:35 -04:00
Vladimir Mandic 8258313555
Merge pull request #2128 from vladmandic/master
refresh dev
2023-09-03 15:59:45 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Disty0 1d04014df1 Fix inflated steps with Non SDXL Refiner 2023-09-02 17:25:31 +03:00
Vladimir Mandic cbe779b541 test model jit tracing 2023-09-02 09:55:53 -04:00
Disty0 3287222177 Fix Kandinsky compile and Fix steps with non SDXL 2023-09-02 14:28:11 +03:00
Disty0 e5e1eeeac9 Cleanup 2023-09-02 01:34:01 +03:00
Disty0 d6fe1b8154 OpenVINO add --device-id and --use-cpu openvino 2023-09-02 01:15:41 +03:00
Vladimir Mandic f32fcb5d16 cleanup 2023-09-01 13:47:33 -04:00
Vladimir Mandic 1b2890d02c extra network tags 2023-09-01 11:51:22 -04:00
Vladimir Mandic 106075e609
Merge pull request #2118 from Aptronymist/master
Settings reorganization - Postprocessing
2023-09-01 06:51:05 -04:00
Aptronymist dee11a3dfe fixed order 2023-08-31 17:12:11 -04:00
Aptronymist df37e970a1 added separator 2023-08-31 14:54:50 -04:00
Vladimir Mandic ce0be4a216 renames 2023-08-31 14:30:44 -04:00
Vladimir Mandic b33f3866b0 add interrupt to diffusers 2023-08-31 13:39:39 -04:00
Disty0 5856aa00e9 OpenVINO disable VAE Tiling 2023-08-31 19:32:23 +03:00
Vladimir Mandic 603ff9fc75 minor fixes 2023-08-31 12:00:29 -04:00
Vladimir Mandic 9d4194edc2 read model metadata 2023-08-31 09:05:38 -04:00
Vladimir Mandic 27a517cedd add missing metadata 2023-08-31 08:06:48 -04:00
Disty0 418a085246 Update Readme 2023-08-31 14:43:29 +03:00
Disty0 77fce3e8c8 Fix OpenVINO on Windows 2023-08-31 12:58:39 +03:00
Disty0 8bf0e71a24 IPEX fix latent antialias with BF16 2023-08-30 23:17:35 +03:00
Disty0 95a791a752 Cleanup 2023-08-30 22:51:00 +03:00
Disty0 b1c089cae9 Re-order Text2Img UI 2023-08-30 22:51:00 +03:00
Disty0 2e6506bef2 Disable refiner if refiner steps is 0 2023-08-30 22:51:00 +03:00
Disty0 cdd7f4fe24 Fix Denoise start on Img2Img 2023-08-30 22:51:00 +03:00
Disty0 f2e6e0e88e Add refiner steps 2023-08-30 22:51:00 +03:00
Disty0 8e6b80104d Diffusers use exact steps 2023-08-30 22:51:00 +03:00
Aptronymist 4668e0d937 rearrangement 2023-08-30 14:10:07 -04:00
Aptronymist f1b27ee6d0 preliminary settings reorg
moved around some options regarding images, consolidated image processing, post processing, and upscaling
2023-08-30 13:13:48 -04:00
Vladimir Mandic d6f7bb92da add model preview download 2023-08-30 12:51:12 -04:00
Vladimir Mandic df65df3f36 minor fixes 2023-08-30 09:45:47 -04:00
Vladimir Mandic d45e6a04cd improve vae reload 2023-08-30 08:49:27 -04:00
Vladimir Mandic 72e62078c5 settings redesign 2023-08-30 07:16:25 -04:00
Vladimir Mandic 5e14178b3d fix tomed error 2023-08-30 02:38:25 -04:00
Vladimir Mandic 579be529da fix sd upscale 2023-08-29 17:57:02 -04:00
Vladimir Mandic 7dc4460fdc separate model type detection for base and refiner 2023-08-29 17:36:07 -04:00
Vladimir Mandic fd57787557 css fixes 2023-08-29 16:15:12 -04:00
Vladimir Mandic 10f345f09b handle loading invalid model or pipeline 2023-08-29 15:59:57 -04:00
Vladimir Mandic 9e2e2b8b8f fix gallery, update js logging, add en caching 2023-08-29 14:16:37 -04:00
Vladimir Mandic 348943fcee revert defaults changes 2023-08-29 11:03:21 -04:00
Aptronymist 90afba372c Default Settings Update
Modified default settings to enable some often unused features, changed default image output to png, various performance increasing options on by default at moderate settings. Upscaling and background removal enabled by default so they're visible on the image options panel. Changed default extra networks view to cover with 100% height, sidebar changed to 60% width by default from 35%.
2023-08-28 13:59:06 -04:00
Vladimir Mandic 48c0ce9b2b fix model lookups 2023-08-27 08:01:29 +00:00
Vladimir Mandic 8de8f85c61 handle invalid tokenizer 2023-08-27 07:50:42 +00:00
Vladimir Mandic 05a2e12ce4 fix save metadata 2023-08-27 07:48:33 +00:00
Vladimir Mandic f45adac44a handle invalid samplers 2023-08-27 07:22:35 +00:00
Vladimir Mandic 2e75ce2610 fix gradio radio controls 2023-08-27 07:06:08 +00:00
Disty0 594f0331fd Fix approx and simple previews on SDXL 2023-08-26 19:35:50 +03:00
Vladimir Mandic 0f10a9ce63 catch numpy warning 2023-08-26 17:19:35 +02:00
Vladimir Mandic 91406bc9a0 update civit downloader 2023-08-26 14:13:56 +00:00
Vladimir Mandic c4263da0e6 fix refiner reload/unload 2023-08-26 13:35:59 +00:00
Vladimir Mandic e810d59fb8 update gradio and add batch img2img 2023-08-25 16:36:45 +00:00
Disty0 8ef4aa7a4a OpenVINO fix resolution change 2023-08-25 16:12:10 +03:00
Vladimir Mandic 0512e2973c refactor settings ui 2023-08-24 10:01:39 +02:00
Vladimir Mandic 89a3994c30 wrap final sample processing 2023-08-23 09:12:13 +00:00
Vladimir Mandic 84f343687d fix python 3.9 compatibility 2023-08-23 08:18:40 +00:00
Vladimir Mandic 3d1bcf88a2 fix hashing 2023-08-23 07:26:57 +00:00
Disty0 863fa38c24 OpenVINO fix model reloading 2023-08-23 00:31:43 +03:00
Vladimir Mandic 6a4d4ea5b7 update logging and model hashinh 2023-08-22 18:28:09 +00:00
Disty0 80d2cc46e8 Add precompile as an option 2023-08-22 13:21:25 +03:00
Disty0 374307dd8a Cleanup 2023-08-22 10:39:38 +03:00
Disty0 12fd9151a7 Fix openvino_override_opts 2023-08-22 03:26:08 +03:00
Disty0 e70520efa9 Add --use-openvino 2023-08-22 03:02:19 +03:00
Disty0 ebf7b90e3e OpenVINO fixes 2023-08-21 21:34:53 +03:00
Vladimir Mandic 93bf3bb263 set default settings 2023-08-21 08:31:50 +00:00
Vladimir Mandic 53dcf157fb switch abs to relative paths 2023-08-21 08:11:30 +00:00
Vladimir Mandic 464810be9f fix unknown settings 2023-08-21 06:06:01 +00:00
Vladimir Mandic 4826197d5b
Merge pull request #2047 from vladmandic/master
update dev
2023-08-20 14:43:09 +02:00
Disty0 70395fb63a IPEX Diffusers remove BF16 fixes 2023-08-20 15:16:06 +03:00
Disty0 5b7f873fad Fix sequential offloading 2023-08-19 22:07:10 +03:00
Disty0 1666ee68ad IPEX change default dtype to BF16 2023-08-19 19:44:58 +03:00
Disty0 05084a5f53 Diffusers fix dtypes 2023-08-19 19:27:06 +03:00
Disty0 f9718f068c Seperate OpenVINO from IPEX 2023-08-19 17:52:15 +03:00
Vladimir Mandic 87bb354f4c implement hires for diffusers 2023-08-19 12:25:41 +00:00
Vladimir Mandic 5eac99d3f5 optimize diffusers memory handling 2023-08-18 20:41:34 +00:00
Disty0 05c3bd075a IPEX update OpenVINO 2023-08-18 16:57:14 +03:00
Vladimir Mandic 20ba9aa649 update lint 2023-08-15 08:29:04 +02:00
Vladimir Mandic ebc1243238
Merge pull request #2014 from midcoastal/Issue1563/FS-Path-Cache
Add a FS directory/path cacher
2023-08-18 07:45:06 +02:00
Midcoastal 67f369ed25
A walk() optimization and lint fixes 2023-08-17 16:49:42 -04:00
Midcoastal 89da66207a
I guess I didn't quite understand Lint error C416
Seems like a rather pedantic check, if you ask me...  Oh well.
2023-08-16 00:25:27 -04:00
Midcoastal 03363ce866
Resolve Lint Errors: C416 (x2), W291 and F541 2023-08-15 23:20:00 -04:00
Midcoastal c9bdd0344d
Allow JPEG image files
JPEG is allowed and searched for when looking for previews/thumbs, and therefore should be allowed to view.
2023-08-15 23:10:30 -04:00
Midcoastal 873e864640
Ooof, modelloader changes needed for TI upgrade 2023-08-15 23:09:24 -04:00
Midcoastal 6eae768fb0
Gather HTML parts as list to append in the end
Somehow, significant increase in speed (size of text append was slowing large loads down.
2023-08-15 23:08:26 -04:00
Midcoastal 05850c2344
Upgrade Lora/TI model listers to use cache 2023-08-15 23:06:23 -04:00
Midcoastal 7e4aed7948
Add a FS directory/path cacher
- Added FS dir/path mechanism to 'modules.modelloader'
- Refactored 'modules.modelloader.load_models' to use the cache
- Refactored 'modules.ui_extra_networks.find_*' methods to use the cache
- Added progress indicator to 'modules.ui_extra_networks.create_html'

The cache, as implimented, will always ensure it is up-to-date (per 'directory_has_changed') and significantly improves loading speed (when used with 'model_loader' and the 'find_*' methods) with large model directories.

Overall load speed tested with ~10k models (mix of checkpoints, loras, lycoris, and embeddings) and ~40k secndary files (images, descriptions, CivitAI Info, etc).  Loading speeds went from ~1 hour and 45 minutes to ~5 minutes.

Confounding variable to loading speeds: this is over a fiber-attached storage device.  Connection is 10gbe full-duplex, remote source has an NVMe raid cache.  Saturation of the network is the norm, but laintency is a factor.  Regardless, small-scale local-storage testing also shows measurable improvements, so this should be a welcome addition.
2023-08-15 16:07:41 -04:00
vladmandic 79c0131158 Deploying to master from @ vladmandic/automatic@b1ea529c08 🚀 2023-08-15 12:25:08 +00:00
Disty0 86ae8175e0 Seperate OpenVINO from IPEX 2023-08-15 15:22:54 +03:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Disty0 2caee04b9a IPEX fix System Info 2023-08-16 19:45:13 +03:00
Disty0 209f9a19c6 IPEX fixes 2023-08-16 18:56:50 +03:00
Disty0 b1ea529c08 Cleanup 2023-08-15 00:50:46 +03:00
Disty0 66394c8cd9 IPEX add OpenVINO as compile backend 2023-08-14 21:54:21 +03:00
Vladimir Mandic fce48be440 update changelog 2023-08-14 07:58:42 +00:00
Vladimir Mandic eeca263bd2 update stored metadata 2023-08-14 07:50:12 +00:00
Vladimir Mandic 88fff06c9e downgrade warn to info 2023-08-13 10:58:02 +00:00
Vladimir Mandic 357b5dac60 add dpm++ 3m sde sampler 2023-08-13 10:19:33 +00:00
Vladimir Mandic d4b5c487fe fix img2img resize 2023-08-13 09:54:09 +00:00
Vladimir Mandic c5c817f482 img2img batching 2023-08-13 09:19:39 +00:00
Vladimir Mandic 23efa8f0a5 fix init_image 2023-08-13 08:22:03 +00:00
Seunghoon Lee 7e81355741
Fix pdh.dll not found. (WSL+DirectML) 2023-08-13 15:40:15 +09:00
Vladimir Mandic 83d1ee77bd revert long prompt 2023-08-13 00:32:03 +02:00
Vladimir Mandic 392f51cff3 add long prompts 2023-08-12 23:04:46 +02:00
Vladimir Mandic 69eaf4c664 fix batch 2023-08-12 08:32:19 +00:00
Vladimir Mandic 5d5f22e6e1 remove invalid downloaded files 2023-08-12 08:07:13 +00:00
Vladimir Mandic fc8eca1c34 deallocate images on batch 2023-08-12 07:18:19 +00:00
Aptronymist 605988f520 Removed annoyance
Took out the print statement 'no image data blocks found' as it happens frequently as embeddings rarely have image data.
2023-08-11 19:51:42 -04:00
Vladimir Mandic a156751857 fix pipeline autodetect 2023-08-10 21:56:26 +00:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Vladimir Mandic 5bcd65d4c2 revert meta 2023-08-10 19:00:04 +00:00
Disty0 0a7105d524 Fix SDXL LoRa offloading and SD 1.5 parsing 2023-08-10 16:02:45 +03:00
Vladimir Mandic 0b5dd46d79
Merge pull request #1976 from tcmaps/master
pip --no-cache-dir
2023-08-10 08:28:02 +02:00
Disty0 a9726b3319 Send to meta when unloading 2023-08-10 01:23:39 +03:00
Disty0 839bd27956 Pass device to Compel 2023-08-09 19:15:38 +03:00
Vladimir Mandic 16725ab38f fix compel to full and add batch sizes 2023-08-09 10:28:44 +00:00
Vladimir Mandic e2b0d981ac quick taesd vae decode 2023-08-09 09:34:59 +00:00
Vladimir Mandic a77fa4c12e add job info 2023-08-09 08:42:26 +00:00
Vladimir Mandic a5f95f4b38 civitai model search and download 2023-08-09 08:01:37 +00:00
Aptronymist 196fa29ee0 Update ui_extra_networks.py
Added fix to thumbnail images that exceed 70kb to address slowdowns and wasted memory.
2023-08-08 11:43:38 -04:00
Disty0 ff2d846667 IPEX Diffusers fix Model CPU Offload 2023-08-08 00:51:23 +03:00
Disty0 6760fd1525 Add TAESD VAE option for base image outputs 2023-08-07 21:37:58 +03:00
Vladimir Mandic 0a3e821067 diffuser auto-pipeline and fix vae 2023-08-07 17:19:30 +00:00
Disty0 9d17cf4c12 IPEX Diffusers fix can't allocate 4GB+ with SDP 2023-08-07 19:50:39 +03:00
Vladimir Mandic 5fd3c5ba01 update lora methods 2023-08-07 14:52:19 +02:00
Vladimir Mandic 9be641d431
Merge pull request #1952 from AI-Casanova/kohya
Enable side loading of multiple Kohya-style LoRA for SDXL
2023-08-07 14:42:30 +02:00
Vladimir Mandic c51126dade
Merge pull request #1960 from AI-Casanova/Compel
Compel
2023-08-07 14:41:07 +02:00
Disty0 dd4412734e IPEX add torchvision on Windows 2023-08-07 11:32:00 +03:00
AI-Casanova 7859fd22a0
Unload LoRA on early stoppage 2023-08-06 22:33:27 -05:00
Hameer Abbasi 66ad9ce368 Actually pass through CLIP_skip. 2023-08-07 04:16:41 +02:00
Hameer Abbasi 41428efb5d Make log message more descriptive. 2023-08-07 04:03:43 +02:00
Hameer Abbasi 0a863930cf Remove superfluous comment. 2023-08-07 04:02:39 +02:00
Hameer Abbasi af2b415638 Add support for clip_skip to the diffusers back-end. 2023-08-07 03:58:12 +02:00
AI-Casanova a1696269fb Enable A1111 and Full parsing conversion 2023-08-07 01:20:47 +00:00
Hameer Abbasi 0933b876d5
WIP 2023-08-06 19:12:57 +02:00
Hameer Abbasi 7ea4f32cec Check based on sd_model_type. 2023-08-06 11:22:33 +00:00
Hameer Abbasi 868ae1e23f Merge remote-tracking branch 'origin/master' into Compel 2023-08-06 11:15:53 +00:00
Hameer Abbasi 1b60d4683e Run black for formatting, fix pylint errors, and change to warning. 2023-08-06 11:10:44 +00:00
Hameer Abbasi 41418c5531 Add TODO for scheduling. 2023-08-06 09:41:08 +00:00
Hameer Abbasi 2ad35ca381 PyLint: Fix 2023-08-06 09:39:09 +00:00
Hameer Abbasi 00a5df5806 Small fix for refiner (untested). 2023-08-06 07:24:20 +00:00
Vladimir Mandic dc739b9f50 fix taesd for original backend 2023-08-06 07:07:00 +00:00
Hameer Abbasi bb66b5ce0e
Ruff fix and refiner->is_refiner. 2023-08-06 07:37:45 +02:00
AI-Casanova e65e959eef Enable A1111 and Full parsing conversion 2023-08-06 02:52:03 +00:00
Disty0 a22862d5c6 IPEX fix embedding on FP32 and BF16 2023-08-06 02:20:45 +03:00
Hameer Abbasi 2172f7c3f0 Linting fix. 2023-08-05 18:35:18 +00:00
Hameer Abbasi 5a3d92883d Modify code a bit. 2023-08-05 18:33:11 +00:00
Disty0 8aba6d8288 IPEX fix BF16 2023-08-05 19:29:52 +03:00
AI-Casanova df18ad4eb1 Enable side loading of multiple Kohya-style LoRA for SDXL 2023-08-05 14:54:50 +00:00
Vladimir Mandic 4234555566 update 2023-08-05 14:37:09 +00:00
Disty0 489d0382cf IPEX Diffusers fix cannot allocate more than 4GB 2023-08-05 17:26:18 +03:00
Vladimir Mandic 64273169b9 fix diffusers inpaint 2023-08-05 13:53:43 +00:00
Vladimir Mandic f58b48e8b7
Merge pull request #1950 from vladmandic/dev
Dev
2023-08-05 15:53:28 +02:00
Vladimir Mandic cfe14884a0 add taesd for sdxl 2023-08-05 12:06:56 +00:00
Vladimir Mandic e2ee02a1e8 refactor taesd 2023-08-05 09:38:11 +02:00
Vladimir Mandic 095ef45d3f linting update 2023-08-05 09:33:55 +02:00
Vladimir Mandic 7c4fdbff1b update taesd 2023-08-05 08:56:45 +02:00
AI-Casanova 685ede9e15
Merge branch 'master' into Compel 2023-08-04 20:59:39 -05:00
Marcin Dzierwa 0611b1e4d9 added /sdapi/v1/sd-vae endpoint 2023-08-04 18:58:47 +02:00
root 076acf0664 Linting fixes. 2023-08-04 15:16:13 +00:00
root fdbafbd713 Clean up code. 2023-08-04 15:12:37 +00:00
Vladimir Mandic a12c9117e6 add requirement check install flag 2023-08-04 11:23:25 +02:00
Disty0 fc3d96f6f6 IPEX fix ControlNet PidiNet 2023-08-04 04:15:25 +03:00
Disty0 5f5a564d41 Update compile settings 2023-08-03 22:38:43 +03:00
Disty0 434a1f967f IPEX fixes 2023-08-03 21:06:15 +03:00
Disty0 44b17b7418 Add compile type option 2023-08-03 17:51:29 +03:00
Disty0 4535a99fff Model compile support for IPEX 2023-08-03 17:25:15 +03:00
Vladimir Mandic d5717a0440
Merge pull request #1919 from ljleb/pp-batch-list
add postprocess_batch_list callback
2023-08-03 09:48:33 -04:00
Disty0 a293e3cdcb Torch 2.0 for IPEX 2023-08-03 16:29:56 +03:00
ljleb 65aee8cf7b refact 2023-08-02 15:54:41 -04:00
ljleb 88cc6f63e1 add callback 2023-08-02 15:26:04 -04:00
Vladimir Mandic 246989129f ui settings logging 2023-08-02 08:27:16 +02:00
AI-Casanova b166dcbfad Add prompt_parser_diffusers.py 2023-08-01 02:46:53 +00:00
AI-Casanova bb7a71becd
Merge branch 'vladmandic:master' into Compel 2023-07-31 18:36:01 -05:00
Seunghoon Lee 8787f36b2c
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-08-01 02:03:51 +09:00
Seunghoon Lee d711880aa9
New option for DirectML: memory stats provider.
1. Performance Counter.
    Get vram size allocated to & used by python.exe from pdh.dll.
    Generation can be slower than atiadlxx.
    Use memory less greedy then atiadlxx.
    Windows only.
2. atiadlxx.
    Get max vram size and available vram size from AMD GPU driver (atiadlxx.dll).
    Use memory more greedy than Performance Counter.
    Windows & WSL are supported.
3. None.
    Assume available vram size is 8GB.
    Use memory regardless of current vram usage.
2023-08-01 01:58:04 +09:00
Disty0 8ffaea76ba Add Diffusers model and VAE variant loading option 2023-07-31 14:39:41 +03:00
Vladimir Mandic 2cf4014040 refresh 2023-07-31 11:36:51 +02:00
Seunghoon Lee 1524365284
Update Korean localization & DirectML bug fix. 2023-08-02 02:32:11 +09:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
AI-Casanova 397d7ea6de
Add Compel Parsing for SDXL 2023-07-30 22:26:55 -05:00
Disty0 884e464693 Move base to cpu when using refiner with offload 2023-07-30 18:39:27 +03:00
Vladimir Mandic 2300329893 fix lint 2023-07-30 17:17:56 +02:00
Vladimir Mandic 6e428ff0a2 update diffusers 2023-07-30 17:14:34 +02:00
Vladimir Mandic 13ba9531a5
Merge pull request #1875 from AI-Casanova/diffusers-LoRA
Enable SDXL LoRA (Must install the newest Diffusers!)
2023-07-30 11:13:36 -04:00
Disty0 350be09282 w/a for model cpu offload refiner 2023-07-30 17:18:57 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Disty0 66a6e783f0 has_accelerate = False for original backend 2023-07-30 01:22:29 +03:00
Kubuxu 4d00224082 Fix pipeline switching 2023-07-30 00:51:35 +03:00
Kubuxu 7e1030d499 Introduce sd_model.has_accelerate 2023-07-30 00:51:35 +03:00
Kubuxu f945cf14b0 Fix model offload by not focring the model to GPU 2023-07-30 00:51:35 +03:00
Disty0 085d1da825 Fix force upcast VAE with Diffusers 2023-07-29 21:01:24 +03:00
Disty0 3258b27523 Update sequential CPU offload check 2023-07-29 19:13:29 +03:00
Disty0 38ecfb6dff Add Move UNet to CPU option 2023-07-29 18:58:08 +03:00
Disty0 3010d1823d Fix modules 2023-07-29 15:44:55 +03:00
Seunghoon Lee 42c6147ac8
cleanup 2023-07-29 13:48:28 +09:00
Seunghoon Lee 7017a4a2a9
Fix UniPC sampler issue on DirectML. 2023-07-29 13:38:41 +09:00
Seunghoon Lee 813eb48bf7
Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:10:41 +09:00
Seunghoon Lee 47f2f50574
Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:08:22 +09:00
Disty0 025df86ac0 Cleanup 2023-07-29 02:06:34 +03:00
AI-Casanova fd7f51302e
Update processing_diffusers.py 2023-07-28 18:01:38 -05:00
AI-Casanova 942371b25a
Update lora_diffusers.py 2023-07-28 18:00:44 -05:00
Kubuxu 1da64b9d08 Fix setting VAE Force Upcast in diffusers 2023-07-28 23:07:11 +01:00
Disty0 31e1bb01ff Fix VAE reloading 2023-07-28 23:23:36 +03:00
Disty0 dbd7887632 Fix refiner unloading 2023-07-28 23:12:45 +03:00
Disty0 c8af2affaf Fix original backend reloading 2023-07-28 21:26:54 +03:00
Disty0 cfcf481992 cleanup 2023-07-28 21:10:38 +03:00
Disty0 9f18db474d
Merge pull request #1861 from Nuullll/master
[IPEX] Fix ControlNet depth leres/leres++
2023-07-28 20:15:31 +03:00
Disty0 e6cf3d72cd Fix sequential cpu offload 2023-07-28 20:01:32 +03:00
Seunghoon Lee 77de9cd093
Fix medvram with DirectML. 2023-07-28 23:18:28 +09:00
Seunghoon Lee 0f44332e5c
Make sequential CPU offload available for non-CUDA
Add settings override for DirectML.
Move `devices.set_cuda_params()` to correct line.
2023-07-28 23:11:57 +09:00
Nuullll 3aed536206 [IPEX] Fix ControlNet depth leres/leres++ 2023-07-28 21:25:17 +08:00
Disty0 a32bf083f1 cleanup 2023-07-28 12:15:25 +03:00
Disty0 459a8bc048 ipex fix adetailer 2023-07-28 12:08:02 +03:00
Disty0 f38d5a91bf Move ipex fixes into it's own folder 2023-07-28 10:58:45 +03:00
Disty0 38dcca7399 ipex cleanup 2023-07-28 01:35:02 +03:00
Nuullll 6acb3ef131 [IPEX] Fix batch_norm for Tiled VAE
Tiled VAE invokes `torch.nn.functional.batch_norm` without providing the
`weight` and `bias` parameter, so torch backend creates default empty
tensors for them but bails out with "tensor does not have a device" error.

This patch overrides the `weight` and `bias` parameters to all-ones and
all-zeros if they are `None`.
2023-07-27 22:56:19 +08:00
Vladimir Mandic 86a0cb5f7e add secondary pass info to metadata 2023-07-27 10:06:21 -04:00
Vladimir Mandic 8f6f8413b1 fix ti training 2023-07-27 09:30:41 -04:00
Vladimir Mandic 83208591e5 improve inpaint layout 2023-07-26 22:22:35 -04:00
Vladimir Mandic 90f6cc8ebb add refiner enabled check 2023-07-26 20:54:51 -04:00
Vladimir Mandic 3437132817 update refiner start/end 2023-07-26 20:49:24 -04:00
Vladimir Mandic 0bc389594c
Merge pull request #1840 from Kubuxu/fix/refiner-start-end
Fix base and refiner when using diffusers
2023-07-26 20:07:23 -04:00
Kubuxu fc1a7ad0b1 Fix base and refiner when using diffusers
With diffusers 0.19 densoise_start and _end started applying.
2023-07-27 00:51:56 +01:00
Vladimir Mandic d778876010 minor css fixes 2023-07-26 19:48:36 -04:00
Vladimir Mandic 58bfb9246f update lora enum 2023-07-26 19:27:38 -04:00
Dookie dc1c682a46 Fixes params pasting for denoise start and end 2023-07-27 00:29:10 +02:00
Vladimir Mandic 4a64eef568
Merge pull request #1831 from vladmandic/improve_diffusers_kandinsky_2
[Diffusers] Make all Kandinsky work
2023-07-26 16:04:08 -04:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic 15d5873f22 improve params pasting 2023-07-26 15:32:26 -04:00
Vladimir Mandic 33d05fc447 fix upscalers 2023-07-26 15:01:57 -04:00
Vladimir Mandic e79bdcdea3 fix startup without model 2023-07-26 14:41:29 -04:00
Vladimir Mandic 75b017e4d1 fix img2img 2023-07-26 14:33:58 -04:00
Vladimir Mandic 6cf0a43471 cleanup 2023-07-26 13:55:27 -04:00
Vladimir Mandic cd68b342ff fix hires and early parse enabled sections 2023-07-26 13:48:02 -04:00
Vladimir Mandic 62bc9482e6 update themes 2023-07-26 12:47:04 -04:00
Vladimir Mandic 660c449e08 update themes 2023-07-26 12:17:49 -04:00
Vladimir Mandic c5b089cbb6 major ui simplification 2023-07-26 11:39:58 -04:00
Vladimir Mandic 2a259a8455 fix metadata 2023-07-25 22:02:25 -04:00
Patrick von Platen e6baac124d fix ruff 2023-07-25 21:50:35 +00:00
Patrick von Platen a9d239ab51 [Diffusers] Make all Kandinsky work 2023-07-25 21:47:49 +00:00
Vladimir Mandic 02fe616141 fix en tags 2023-07-25 17:40:09 -04:00
Vladimir Mandic 6c02e6a2eb add operations to metadata 2023-07-25 12:28:13 -04:00
Vladimir Mandic aa62f6d8d4 fix refiner batch size 2023-07-25 07:53:47 -04:00
Seunghoon Lee 43b9c52bd4
Fix image corruption in half mode with embeddings.
(DirectML)
2023-07-25 17:02:55 +09:00
Vladimir Mandic 7bee313bb3 rename 2023-07-24 19:52:50 -04:00
Vladimir Mandic 5f96c35ab5 prep work for diffusers prompt encoding 2023-07-24 12:09:44 -04:00
Seunghoon Lee 33d814e3e7
Fix DirectML tensor behavior. 2023-07-25 00:03:07 +09:00
Vladimir Mandic 14eec801ec add basename if set 2023-07-24 09:48:46 -04:00
Vladimir Mandic 11f08c1a4a fix diffusers vae decode 2023-07-24 09:05:00 -04:00
Vladimir Mandic 7bbab3c9a9 panzoom 2023-07-24 08:27:15 -04:00
Seunghoon Lee d4aa840a77
DirectML update.
DirectML reuses GPU memory instead of returning it.
So prints "practical" GPU memory utilization too.
2023-07-24 16:10:01 +09:00
Vladimir Mandic d88d371e80 add skip 2023-07-23 12:18:16 -04:00
Vladimir Mandic 6adbd05b64 update actions 2023-07-23 08:52:28 -04:00
Vladimir Mandic e491813eb8 cleanup 2023-07-22 16:33:27 -04:00
Vladimir Mandic e342c28055 improve vae loading 2023-07-22 16:28:23 -04:00
Vladimir Mandic 567faeb751 diffusers img2img and inpaint 2023-07-22 15:39:41 -04:00
Vladimir Mandic 511a8cbb61 fix en hypernetwork 2023-07-21 15:04:27 -04:00
Vladimir Mandic b8f2b90210 fix delete files 2023-07-21 14:49:28 -04:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic dd1d4bcffa fix secondary sampler 2023-07-21 10:20:53 -04:00
Vladimir Mandic b31fa98669 fixes... 2023-07-21 09:28:02 -04:00
Disty0 7959dbceac ipex fix cuda error with openpose 2023-07-21 15:28:07 +03:00
Vladimir Mandic a3ab302f51 fix extensions reset 2023-07-20 09:52:21 -04:00
Disty0 57d1d3ed16 Fix Kandinsky safety_checker and compile 2023-07-20 14:29:15 +03:00
Vladimir Mandic 19d176ea3d en add tags 2023-07-19 10:33:23 -04:00
Vladimir Mandic 46709ee391 fix image metadata and diffuser search 2023-07-18 20:41:47 -04:00
Steven 82d2a601c2 When searching for model info from the checkpoint specified from ckpt command line argument, strip the path from the argument so that we only search for the model's filename. 2023-07-18 18:47:39 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 3352876521 img2img batch processing improvements 2023-07-18 07:51:42 -04:00
Vladimir Mandic c71467e7f0 fix gallery 2023-07-17 21:09:22 -04:00
Vladimir Mandic 57dd6652df fix compile logging 2023-07-17 19:30:53 +00:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Disty0 88794e3724 ipex fix cuda error when using pin memory 2023-07-17 17:14:13 +03:00
Vladimir Mandic 4e48173e37 enable sdxl vae 2023-07-16 17:58:08 -04:00
Vladimir Mandic a9e2d90a47 fix invalid config values 2023-07-16 16:01:01 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Seunghoon Lee 0f81cfc213
#1711 2023-07-16 21:30:27 +09:00
Vladimir Mandic e2b33b81d3 fix diffusers samplers 2023-07-15 22:40:03 -04:00
Disty0 f773c782fa ipex cleanup 2023-07-16 01:39:40 +03:00
Vladimir Mandic a7f5e75a35 fix secondary model location 2023-07-15 16:07:10 -04:00
Vladimir Mandic 55c0269032 minor fixes 2023-07-15 10:18:08 -04:00
Vladimir Mandic 9308c32ad2 update samplers and callbacks 2023-07-15 08:44:02 -04:00
Vladimir Mandic 5e2fb4d60c fix enable_hr 2023-07-15 07:17:50 -04:00
Vladimir Mandic 8fd30e4726
Merge pull request #1692 from javsezlol1/master
Update sd_samplers_diffusers.py
2023-07-15 07:17:17 -04:00
Seunghoon Lee 6b4b863fd0
simplify get_device. 2023-07-15 19:03:10 +09:00
Seunghoon Lee 0a52c44e73
DirectML rework & provide GPU memory usage (AMD only). 2023-07-15 18:55:38 +09:00
Seunghoon Lee b92649592a
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-07-15 16:19:46 +09:00
Seunghoon Lee 578f206bf7
DirectML rework. 2023-07-15 16:19:38 +09:00
javsezlol1 cdc803b127
Update sd_samplers_diffusers.py
removed beta start and end from all into each sampler
DDIM FIX - changed timestep spacing
DDPM FIX - changed timestep spacing
ADDED KDPM2
ADDED KDPM2 A

Temporary fix
DISABLED Bellow , to allow dpm1s and dpm2m
if name.startswith('DPM'):
 self.config['algorithm_type'] = opts.schedulers_dpm_solver

left notes in code to see the changes if need be
2023-07-15 13:33:09 +08:00
Vladimir Mandic ce92bf06c2 fix typo 2023-07-14 20:43:50 -04:00
Vladimir Mandic 02eac9fad3 minor fixes 2023-07-14 20:22:34 -04:00
Vladimir Mandic 484b116664 allow zero steps 2023-07-14 17:20:00 -04:00
Vladimir Mandic b1563f0ddd readd js dummy function 2023-07-14 16:45:27 -04:00
Jack Wooldridge 7fdda2c8b3 MPS fix 2023-07-14 15:34:14 -04:00
Vladimir Mandic 8b24efe1b5 rework diffusers args as and introduce second pass as replacement for hires 2023-07-14 15:00:46 -04:00
Disty0 14d1136fe7 Fix ipex memstats 2023-07-14 18:09:07 +03:00
Disty0 2a9133bfec IPEX rework 2023-07-14 17:33:24 +03:00
Vladimir Mandic 42cba64ac8 add basename to info search 2023-07-14 08:58:05 -04:00
Vladimir Mandic d607ac50f6 and fix initial options 2023-07-14 08:55:41 -04:00
Vladimir Mandic a4c35b0791 fix initial backend 2023-07-14 08:53:21 -04:00
Vladimir Mandic 7bb6c213de unconditional options init 2023-07-14 08:49:19 -04:00
Disty0 558b71f088 Fix img2img and hires for IPEX 2023-07-14 02:21:52 +03:00
Disty0 d4c9d752f4 Fix latent antialias with IPEX 2023-07-13 23:13:44 +03:00
Vladimir Mandic 5eb9f388ef flatter look for default theme 2023-07-13 15:21:20 -04:00
Vladimir Mandic a02c43a907
Merge pull request #1669 from James-Willer/master
Adds a button to detect image size for img2img
2023-07-13 12:35:47 -04:00
Disty0 25389f737b Better logging & Set IPEX MemSize from %80 to %100 2023-07-13 19:24:58 +03:00
James-Willer 042d0b79dd
Add files via upload 2023-07-13 21:36:37 +05:30
Vladimir Mandic c55024fe1b set backend persist restarts 2023-07-13 11:53:23 -04:00
Vladimir Mandic fdb76ddf12 model load exception handling 2023-07-13 10:45:58 -04:00
Vladimir Mandic 186bd236f5 js monitor ops 2023-07-13 09:50:38 -04:00
Vladimir Mandic fd1adf73c1
Merge pull request #1648 from Kubuxu/feat/unet-dtype
Use float16 for image processing, use dummy attention head to enable spd flash-attention and memory-efficient attention
2023-07-13 08:08:38 -04:00
Vladimir Mandic 7aa5820811
Merge pull request #1662 from rocketsvm/patch-1
Fix "Train embedding" button
2023-07-13 08:07:37 -04:00
Vladimir Mandic f100e66122 fix refiner prompt 2023-07-13 07:59:43 -04:00
rocketsvm 3c8754ba55
Fix "Train embedding" button 2023-07-13 09:42:27 +05:00
Kubuxu 2eb705df15 Intoduce attention heads dimension into sdp_attnblock_forward
This enables flash-attention and memory-efficient attention optimizations.
2023-07-12 22:12:03 +01:00
Kubuxu a966a0d5ad Use float16 for image processing, force dtype_vae for encoding 2023-07-12 22:12:03 +01:00
Kubuxu 5d0c01b9e3 Use dtype_unet as specified, propagete types in gaussian 2023-07-12 22:11:46 +01:00
Vladimir Mandic 6947776dcb fix imageview direction 2023-07-12 16:59:02 -04:00
Vladimir Mandic e4a682de2b fix priorpipeline 2023-07-12 16:46:25 -04:00
Vladimir Mandic 5c8ead7be0 update diffusers 2023-07-12 15:35:41 -04:00
Disty0 f0506fd517 Move ipex optimize to compile 2023-07-12 19:58:08 +03:00
Vladimir Mandic de2c239c26 large js refactor 2023-07-12 10:58:35 -04:00
Disty0 c3a4293f22 Disable torch_gc for IPEX in WSL2 2023-07-12 13:02:42 +03:00
Disty0 2bce86a50a Replace empty_cache with torch_gc 2023-07-12 12:45:21 +03:00
Disty0 562ca33275 Fix Diffusers _conv_forward dtype error with IPEX 2023-07-12 02:03:45 +03:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 6d277305f6 update processing 2023-07-11 11:40:53 -04:00
Vladimir Mandic 6b26c55138 fix extra network tab detection and add heic to training options 2023-07-11 08:35:18 -04:00
Disty0 a844a83d9d VRAM efficient refiner loading for compiler 2023-07-11 11:00:45 +03:00
Vladimir Mandic 75a8c1f9d0 enable basic img2img 2023-07-10 11:44:52 -04:00
Vladimir Mandic 72048f9e24 installer and extra networks tweaks 2023-07-10 08:19:33 -04:00
Disty0 4152c2049b Update IPEX logging 2023-07-10 14:49:42 +03:00
Vladimir Mandic 85a197ca52 update hints 2023-07-09 16:11:11 -04:00
Disty0 798c5f23c5 VRAM efficient IPEX Optimize for refiner 2023-07-09 19:14:30 +03:00
Vladimir Mandic a16eee1504 bugfix release 2023-07-09 10:06:47 -04:00
Disty0 a9dab70a2c Fix IPEX Optimize with Diffusers 2023-07-09 16:17:50 +03:00
Seunghoon Lee 6b63893348
Fix terminal hang up with TI on DirectML. 2023-07-09 15:47:38 +09:00
Disty0 d915d8d659 Disable xpu.optimize for SD 1-2 2023-07-09 03:09:37 +03:00
Disty0 467197a7f1 xpu.optimize for diffusers 2023-07-09 02:35:12 +03:00
Vladimir Mandic db30f5faec update changelog 2023-07-08 14:22:51 -04:00
Vladimir Mandic 8490cbf65e post merge cleanup 2023-07-08 14:05:55 -04:00
Vladimir Mandic 2a21196061
Merge branch 'master' into dev 2023-07-08 13:35:25 -04:00
Vladimir Mandic 3e61907bfe minor fixes 2023-07-08 13:17:12 -04:00
Seunghoon Lee cf40282faa
Merge branch 'master' of https://github.com/vladmandic/automatic 2023-07-09 01:29:27 +09:00
Seunghoon Lee 99c7f23c89
remove useless methods. 2023-07-09 01:29:04 +09:00
Vladimir Mandic a79b8c86c2 cleanup before merge 2023-07-08 12:20:37 -04:00
Vladimir Mandic 89a7ea6a3f overal quality fixes 2023-07-08 09:49:41 -04:00
Vladimir Mandic 5bf3d229d0 rehost clip-interrogator and update installer 2023-07-07 21:54:21 -04:00
Vladimir Mandic 0f4f8c6015 extra networks fixes 2023-07-07 20:20:48 -04:00
Disty0 4459cc581a Prior device.type cuda or xpu 2023-07-07 23:03:29 +03:00
Disty0 205b516487 Fix diffusers_sdxl on ipex 2023-07-07 22:41:26 +03:00
Vladimir Mandic 120710f28a force model variant 2023-07-07 13:38:04 -04:00
Vladimir Mandic bf84ee8168 update diffusers 2023-07-07 12:48:27 -04:00
Vladimir Mandic 1c22722c8c enable sampler swap for diffusers 2023-07-07 10:10:53 -04:00
Vladimir Mandic 3e4ca0095e fix compile 2023-07-07 10:05:32 -04:00
Vladimir Mandic 3e1a6a96d0 add additional pipelines 2023-07-07 09:38:19 -04:00
Seunghoon Lee 47c96e34d4
Stringify tensor instead of printing. 2023-07-07 19:11:18 +09:00
Seunghoon Lee 1d36e19996
Fix PNDMScheduler for DirectML. 2023-07-07 18:52:04 +09:00
Vladimir Mandic 9f96d4f657 update notes 2023-07-06 20:21:01 -04:00
Vladimir Mandic 7e11ff2b34 add sdxl support 2023-07-06 19:26:43 -04:00
Vladimir Mandic d8748fd7eb theme update 2023-07-06 09:44:43 -04:00
Vladimir Mandic 849877ec50 version lock pillow 2023-07-06 08:50:38 -04:00
Disty0 3bcca6f92b Patch torch.Generator again 2023-07-06 02:51:27 +03:00
Vladimir Mandic dd4602fd64 update dynamo logging 2023-07-05 18:58:26 -04:00
Vladimir Mandic c1dd7cd1ab
Merge pull request #1582 from GalaxyTimeMachine/dev
Update ui_extensions.py
2023-07-05 18:53:34 -04:00
Vladimir Mandic de94eb1589 api update 2023-07-05 18:09:34 -04:00
GalaxyTimeMachine c91b052fc8
Update ui_extensions.py
Corrected typo on line 20: avilable > available
2023-07-05 21:15:51 +02:00
Disty0 422c60c787 Patch torch.Generator 2023-07-05 20:49:39 +03:00
Seunghoon Lee a076ff1b43
Use backend enum on diffusers check. 2023-07-06 01:45:12 +09:00
Seunghoon Lee 993de932ab
Add an opts override for DirectML. 2023-07-06 01:35:00 +09:00
Vladimir Mandic d30a55e523 fix settings again 2023-07-05 11:54:49 -04:00
Vladimir Mandic cc69c3f89f init samplers config regardless of pipeline 2023-07-05 11:21:02 -04:00
Vladimir Mandic be0bfbcd27 fix samplers config 2023-07-05 11:00:29 -04:00
Disty0 99284ff020 Cleanup 2023-07-05 12:43:15 +03:00
Disty0 a62d9b0ca4 Cleanup 2023-07-05 12:39:34 +03:00
Nuullll 860bf8e2bf [IPEX] Support SDE samplers
This is a W/A since `torch.Generator()` API doesn't support `xpu`
backend at the moment. So replacing it with `torch.xpu.Generator()` API
provided by IPEX.
2023-07-05 15:48:58 +08:00
Disty0 45d50bd106 Remove cpu=xpu with ipex 2023-07-05 00:12:07 +03:00
Disty0 966eed8dd9 Autodetect IPEX 2023-07-04 23:37:36 +03:00
Vladimir Mandic 2524b6659c double package install pass 2023-07-04 16:04:22 -04:00
Vladimir Mandic a0e1c898b7 fix argparse 2023-07-04 15:50:44 -04:00
Vladimir Mandic 191da73d48 diffuser sampler settings 2023-07-04 14:10:31 -04:00
Vladimir Mandic 18ef9e6fd7 redo diffusers scheduler 2023-07-04 13:07:05 -04:00
Vladimir Mandic b216a35ddd update diffusers and extra networks 2023-07-04 09:28:48 -04:00
Vladimir Mandic 145b990c73 thumbnail creation exception handling 2023-07-03 22:47:29 -04:00
Vladimir Mandic 8374f08de8 fix pipeline 2023-07-03 17:40:50 -04:00
Vladimir Mandic 35c210655d linting update 2023-07-03 17:00:28 -04:00
Vladimir Mandic 8241e33868 major diffusers update 2023-07-03 16:48:03 -04:00
Vladimir Mandic cc685a8729 wip diffusers 2023-07-02 21:07:26 -04:00
Vladimir Mandic a2caafe4df initial diffusers merge into dev 2023-07-02 14:04:54 -04:00
Vladimir Mandic 875d0db103 fix division by zero 2023-07-02 08:26:51 -04:00
Vladimir Mandic d61b0cfd4c update extra networks 2023-07-02 07:43:01 -04:00
Vladimir Mandic fbbb56f6ca dissalow ckpt option 2023-07-01 16:12:38 -04:00
Vladimir Mandic 6e89d3b867 css optimizations 2023-07-01 15:57:10 -04:00
Vladimir Mandic 12aaeac26a change lora and lyco dirs on-the-fly 2023-07-01 10:46:11 -04:00
Vladimir Mandic 9390049288 extra options in filename pattern 2023-07-01 10:08:57 -04:00
Vladimir Mandic 8000d1965d new extra networks 2023-06-30 15:29:31 -04:00
Seunghoon Lee a9fa014e31
Fix image corruption of RESRGAN upscaler in DirectML. 2023-06-29 11:10:48 +09:00
Vladimir Mandic 20163c9a32 fix timedelta 2023-06-28 16:18:44 -04:00
Vladimir Mandic a79e6b2f55 add trending score and sortby to extensions 2023-06-28 15:37:32 -04:00
Vladimir Mandic 05a9f5a892 create extra network thumbnails from previews 2023-06-28 14:55:42 -04:00
Vladimir Mandic 5a341b1182 add log monitoring 2023-06-28 10:35:15 -04:00
Vladimir Mandic c80b1ebc36 stricter lint rules 2023-06-27 10:28:47 -04:00
Vladimir Mandic f7ff5bcf3c update lint rules 2023-06-27 09:35:46 -04:00
Vladimir Mandic 5757cd8fe4 allow extensions in detached git mode 2023-06-27 09:15:55 -04:00
Vladimir Mandic 2a41bf1406 fix styles 2023-06-27 09:04:42 -04:00
Vladimir Mandic b5129bc94a update 2023-06-27 08:38:15 -04:00
Vladimir Mandic 084893b3ef messages on load/save styles 2023-06-27 08:24:55 -04:00
Disty0 102503a3a4 Fix ControlNet and change to sub-quad on ipex 2023-06-27 15:17:13 +03:00
Vladimir Mandic d69aa16b69 upgrade only on demand 2023-06-27 08:00:23 -04:00
Vladimir Mandic 0a49961baa refresh 2023-06-26 11:01:28 -04:00
Disty0 9a7c765506 Run torch.xpu.memory_allocated with device 2023-06-23 11:08:11 +03:00
Disty0 4f722289ca Fix ipex memmon 2023-06-23 11:03:07 +03:00
Vladimir Mandic 91e65fd3c5 sort extra networks depth-first 2023-06-22 09:36:42 -04:00
Vladimir Mandic 9740b9d217 new training and models interface 2023-06-22 07:46:48 -04:00
Disty0 6ea6f2448e Revert loss scale for ipex 2023-06-19 23:59:18 +03:00
Vladimir Mandic 2345237844 fix race condition on model load via api 2023-06-19 09:13:17 -04:00
Vladimir Mandic f42553918b filename handling 2023-06-19 07:58:12 -04:00
Vladimir Mandic b340e3f40c try again 2023-06-18 16:30:59 -04:00
Vladimir Mandic b5c5c3cca6 add compatibility layer for extensions accessing ui.py directly 2023-06-18 16:24:38 -04:00
Vladimir Mandic 457dddf7aa refactor html-info and do some linting cleanups 2023-06-18 11:38:42 -04:00
Vladimir Mandic 08db2462a2 save correct metadata with larger batches 2023-06-18 09:33:17 -04:00
Vladimir Mandic e9f4ba0215 guard against empty values 2023-06-17 20:41:49 -04:00
Vladimir Mandic fa35ea1516 log handlers: rotate and ring buffer 2023-06-17 20:12:04 -04:00
Vladimir Mandic 8d80b5f6d9 add server class 2023-06-17 13:44:55 -04:00
Vladimir Mandic 5808b7a6ea update settings and hints 2023-06-17 08:13:19 -04:00
Vladimir Mandic d858db446d fix approx lookups 2023-06-16 20:46:38 -04:00
Vladimir Mandic 8749067510 cleanup 2023-06-16 16:18:15 -04:00
Vladimir Mandic eae813bc56 make image metadata optional 2023-06-16 11:39:09 -04:00
Vladimir Mandic ab18cb8d63 advanced uvicorn/hypercorn config 2023-06-16 10:50:40 -04:00
Disty0 71b1532bb0 Scale loss for ipex 2023-06-15 23:55:23 +03:00
Vladimir Mandic c52c63128b handle sending of deleted images 2023-06-15 14:08:12 -04:00
Vladimir Mandic ba6f9fb4c9 fix callbacks 2023-06-15 10:31:30 -04:00
Vladimir Mandic ae582557b7 fix sd model dict xyz 2023-06-15 08:04:22 -04:00
Disty0 618097dac2 GradScaler patch for IPEX 2023-06-15 01:19:35 +03:00
Vladimir Mandic 9334b2f21c jumbo merge part three 2023-06-14 13:54:23 -04:00
Vladimir Mandic 0ddf613b49 jumbo merge part two 2023-06-14 11:23:02 -04:00
Disty0 a9f66cb33e loss / 2 for ipex train 2023-06-14 12:18:08 +03:00
Vladimir Mandic 4951ed15f2 cleanup 2023-06-13 13:04:27 -04:00
Vladimir Mandic 1d9e490ef9 ruff linting fixes 2023-06-13 12:22:39 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Disty0 0d101b9def Revert xpu.optimize in training 2023-06-13 15:36:52 +03:00
Vladimir Mandic f510abed39 fix sd metadata 2023-06-13 07:22:48 -04:00
Vladimir Mandic eb47acf552 add metadata cache 2023-06-12 22:11:25 -04:00
Vladimir Mandic 033ca1acd1 additional hints 2023-06-12 13:55:19 -04:00
Vladimir Mandic bc557eeddd update changelog 2023-06-12 13:45:10 -04:00
Vladimir Mandic f89a4d6560 new hints display 2023-06-12 09:37:18 -04:00
Disty0 c9e95bec3f Fix loss=nan 2023-06-12 06:13:18 +03:00
Vladimir Mandic 1595c7a11c minor fixes 2023-06-11 21:49:48 -04:00
Disty0 ab255b732b Remove unnecessary ipex code 2023-06-12 04:45:29 +03:00
Disty0 c9e58c9604 Fix train for IPEX 2023-06-12 00:21:32 +03:00
Vladimir Mandic 1d0a18ef4a reorg server startup 2023-06-11 09:00:38 -04:00
Disty0 bda28dc35f Add check for IPEX Compile 2023-06-11 01:23:58 +03:00
Vladimir Mandic 409c9d4c9d upstream ports 2023-06-10 18:23:28 -04:00
Disty0 f63dd1c92e Fix torch.linalg.solve with IPEX & Diffusers UniPC 2023-06-10 22:01:09 +03:00
Vladimir Mandic 99622b7825
Merge pull request #1382 from vladmandic/settings
Settings
2023-06-10 07:37:11 -04:00
Vladimir Mandic 81172bf534 update labels and hints 2023-06-10 07:18:56 -04:00
Vladimir Mandic 1aca29a529
Merge pull request #638 from Gegell/settings-improvements
Settings Tab Improvements
2023-06-09 17:17:11 -04:00
Alex Heller cba227f19c Removed extraneous space added accidentally 2023-06-09 22:06:15 +02:00
Vladimir Mandic e8e260408f optimize live preview 2023-06-09 12:29:50 -04:00
Vladimir Mandic 4741804295 fix ext name match 2023-06-09 09:14:25 -04:00
Alex Heller bb04bc5dc7 Reverted linendings to original file linendings 2023-06-09 02:38:10 +02:00
Vladimir Mandic b6ac47e799 fix process 2023-06-08 14:07:27 -04:00
Alex Heller 89ffca0c88 Merge branch 'master' of https://github.com/vladmandic/automatic into settings-improvements 2023-06-08 19:52:14 +02:00
Alex Heller 69ab29b097 Moved dirty setting tab indicator element creation to python backend side 2023-06-08 18:46:41 +02:00
Alex Heller f47444edc5 Removed double use of `ui` id in setting tabs 2023-06-08 17:50:48 +02:00
Vladimir Mandic c82eaef261 update save function 2023-06-08 11:17:09 -04:00
Vladimir Mandic 0d629f3c2b fix installer and add image-exif 2023-06-08 09:01:43 -04:00
Vladimir Mandic 6ef3e964a3 update images index 2023-06-08 06:45:28 -04:00
Vladimir Mandic 0cca4d452a add saving from process tab 2023-06-07 17:35:27 -04:00
Vladimir Mandic 98719c1672 bugfixes 2023-06-07 14:49:46 -04:00
Disty0 eaeb5453b8 Fix show_progress_type 2023-06-07 21:16:11 +03:00
Vladimir Mandic aaa0d46286 update installer and add sd_model_dict 2023-06-07 13:26:21 -04:00
Disty0 8e3a8fb474 Fix PI_ERROR_DEVICE_NOT_FOUND with UniPC and IPEX 2023-06-07 19:17:55 +03:00
Disty0 3bef3e3eee Train patches for IPEX 2023-06-07 17:25:11 +03:00
Vladimir Mandic 2a664b1bdb new localization engine 2023-06-06 17:32:34 -04:00
Vladimir Mandic 82095082af fix model path on initial install 2023-06-06 15:32:22 -04:00
Vladimir Mandic b8f432aff4 cleanup 2023-06-06 12:01:11 -04:00
Alexander Brown ac20b37e1a
Update ui_extensions.py 2023-06-06 08:31:38 -07:00
Vladimir Mandic f0ad70c80a fix upscalers 2023-06-06 08:48:11 -04:00
Vladimir Mandic fff3bda6cf fix extra network save preview/description 2023-06-06 07:52:59 -04:00
Vladimir Mandic 4580680538 allow access to files in data-dir 2023-06-05 15:39:46 -04:00
Vladimir Mandic c49b6c34e1 fix extra networks 2023-06-05 15:14:50 -04:00
Vladimir Mandic 464bd60977
Merge pull request #1322 from vladmandic/improve_diffusers_backend
Improve when loading from diffusers
2023-06-05 14:28:20 -04:00
Vladimir Mandic efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Patrick von Platen 9cf5888479 dedup code 2023-06-05 18:23:35 +00:00
Patrick von Platen 46d410687e Improve when loading from diffusers 2023-06-05 18:22:17 +00:00
Disty0 c52fb69dde Fix bf16 test 2023-06-05 20:49:18 +03:00
Vladimir Mandic c0a824d8c6 add extra networks to xyz 2023-06-05 10:32:08 -04:00
Alex Heller bbb0aadddf Removed old resetting to previous values
This is due to a change in `_js` which lead to the instant updates breaking :(
Need to reinvestigate how to actually fix this.
For now the broken feature got replaced with a working, but sloooow solution (updates one by one when resetting)
2023-06-05 04:26:07 +02:00
Alex Heller 1b90460a3f Merge remote-tracking branch 'upstream/master' into settings-improvements 2023-06-05 02:52:29 +02:00
Alex Heller 8c6ed7fe11 Added support for differentiation between "default unsaved" and "changed" settings. 2023-06-05 00:57:30 +02:00
Alex Heller a1881ff0cd Consolidated options metadata in frontend ui.js 2023-06-04 23:40:11 +02:00
Vladimir Mandic 63ca5c17e7 add extensions profiling 2023-06-04 12:14:05 -04:00
Vladimir Mandic 7301566353 fix image save to subfolder 2023-06-04 08:00:57 -04:00
Vladimir Mandic b127ca4874 catch extra networks error 2023-06-04 07:05:31 -04:00
Disty0 8bef48e501 Fix GroupNorm.forward with IPEX 2023-06-04 12:22:56 +03:00
Alex Heller 6c8e7a75c7 Added initial sync of unstored parameters to the UI. 2023-06-04 04:39:48 +02:00
Vladimir Mandic 5190f70283 reorg settings 2023-06-03 14:02:21 -04:00
Vladimir Mandic 549c02a874 minor fixes 2023-06-03 10:37:02 -04:00
Disty0 4265692505 Fix GradScaler doesn't exist for XPU 2023-06-03 17:02:44 +03:00
Vladimir Mandic c7051cc1dd extra error handling during image save 2023-06-03 09:05:01 -04:00
Vladimir Mandic 299f1229d4
Merge pull request #1277 from cool-bigdogs-tshirt/bigdog/sliced-vae-encode
add new VAE encoding strategy during HR fix
2023-06-02 20:54:09 -04:00
cool-bigdogs-tshirt 3889e5a5b0 add new VAE encoding strategy during HR fix 2023-06-02 19:35:57 -05:00
Vladimir Mandic 1f988d1df6 cleanup 2023-06-02 19:39:44 -04:00
Vladimir Mandic d25b020f61 update 2023-06-02 12:29:21 -04:00
Vladimir Mandic 22f63c42f1 set fallback sampler 2023-06-02 07:56:53 -04:00
Vladimir Mandic 87986a6f85
Merge pull request #1260 from DrJKL/patch-1
Fix typo (hmtl->html)
2023-06-02 07:08:42 -04:00
Disty0 d6b3504f4d Compile with IPEX Optimize 2023-06-02 13:04:50 +03:00
Alexander Brown 4d20d88810
Fix typo (hmtl->html) 2023-06-01 21:54:52 -07:00
cool-bigdogs-tshirt 1268d2762f fix unipc inpainting 2023-06-01 18:03:26 -05:00
Disty0 562947c944 Use proper device names instead of "xpu" 2023-06-02 01:14:56 +03:00
Vladimir Mandic 251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vince Navarro c30eb90aff
Remove stray print 2023-06-01 17:28:13 -04:00
Vince Navarro 523dbaf8dc
Add XPU support for --device-id 2023-06-01 16:42:21 -04:00
Vladimir Mandic 02c9640fa5 enhance image saving 2023-06-01 15:44:38 -04:00
Vladimir Mandic 364df7036e redo progressbar 2023-06-01 11:43:28 -04:00
Vladimir Mandic 8f4bc4df08 update changelog 2023-05-31 12:44:35 -04:00
Vladimir Mandic 4b9924a35a
Merge pull request #1237 from DrJKL/new-title
Raise exception when failing to find diffuser model
2023-05-31 12:03:32 -04:00
Alexander Brown 2e7aa7eb15 Raise exception when failing to find diffuser model 2023-05-31 08:54:58 -07:00
Vladimir Mandic fcb9bde068 add pause button 2023-05-31 11:47:22 -04:00
Vladimir Mandic d9f72b066f precalc hashes 2023-05-31 09:14:34 -04:00
Disty0 3b99450022 Check for k-diffusion patch 2023-05-31 12:12:55 +03:00
Disty0 b2b67127e3 Fix torch.Generator does not support XPU 2023-05-31 12:03:38 +03:00
Vladimir Mandic d1ab205d3d fix samplers 2023-05-30 17:15:52 -04:00
Vladimir Mandic c39553c4ed fix ensd 2023-05-30 16:50:36 -04:00
Vladimir Mandic fa51d45bc3 fix samplers 2023-05-30 15:28:41 -04:00
Vladimir Mandic 873371f1e5 merge stage one 2023-05-30 14:13:29 -04:00
Vladimir Mandic b664991633 update samplers 2023-05-30 12:18:22 -04:00
Vladimir Mandic 24bbe045a7 fix paste 2023-05-29 20:55:33 -04:00
Vladimir Mandic 8354b7c6d9 style changes 2023-05-29 15:42:24 -04:00
Vladimir Mandic 5f1fd7bd66 update common ui 2023-05-29 13:43:03 -04:00
Disty0 9dbe8bc6e4 Fix cuda with ipex on memmon.py 2023-05-29 00:35:49 +03:00
Vladimir Mandic 54257dd226 refactoring for pylint 2023-05-28 17:09:58 -04:00
Vladimir Mandic 2ee38ccd0e update 2023-05-28 16:07:13 -04:00
Disty0 09141ee1a8 Fix int64 with UniPC && Add OneAPI version logging 2023-05-28 21:25:34 +03:00
Vladimir Mandic 7254925dca add settings search 2023-05-28 11:46:48 -04:00
Vladimir Mandic 9bf0b1ae1f allow experimental to override precision 2023-05-28 07:46:47 -04:00
Vladimir Mandic 851d129680 more diffusers work 2023-05-27 15:49:54 -04:00
Vladimir Mandic 24d8570bcb update model merge 2023-05-27 09:29:57 -04:00
Vladimir Mandic 421db2c046 reorder hires 2023-05-27 07:37:28 -04:00
Vladimir Mandic efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Disty0 8022de7464 Fix AVX512 error when using low or med vram with ipex 2023-05-26 23:43:37 +03:00
Vladimir Mandic 1e07e871fb add get version method 2023-05-25 13:59:57 -04:00
Vladimir Mandic 9a3a56dbb2 fix ipex device 2023-05-25 13:40:48 -04:00
Vladimir Mandic cb62c2f6ad fix plms fallback 2023-05-25 13:25:26 -04:00
Vladimir Mandic 8495842634 update profiling 2023-05-25 10:41:28 -04:00
Vladimir Mandic f8884bc051 fix hip detection 2023-05-25 09:13:57 -04:00
Vladimir Mandic fc82ea2d7e cache loaded model 2023-05-25 08:51:46 -04:00
Vladimir Mandic 9285326c6d fix tqdm 2023-05-25 07:53:25 -04:00
Vladimir Mandic 9e22d91245 update logging and temp file handling 2023-05-25 07:41:40 -04:00
Vladimir Mandic 9e66d88e21 add mps defaults 2023-05-24 15:21:49 -04:00
Vladimir Mandic 684851ae34 set default optimizer 2023-05-24 13:50:01 -04:00
Vladimir Mandic 8091ef2fca update hiresfix 2023-05-24 12:48:08 -04:00
Vladimir Mandic 0acc7d3b86 fix redirector 2023-05-24 08:49:33 -04:00
Disty0 5614a4c3fd Fix typo 2023-05-24 13:11:02 +03:00
Disty0 0412651a6c Send to CPU intead of XPU when unloading 2023-05-24 13:03:40 +03:00
Vladimir Mandic 5c516332d7 bug fixes 2023-05-23 18:48:37 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic beff89bad3 api auth override 2023-05-22 15:27:20 -04:00
Vladimir Mandic c103e53689 secure api access 2023-05-22 14:31:04 -04:00
Vladimir Mandic a64bb4375a minor upadtes 2023-05-22 10:50:59 -04:00
Vladimir Mandic e129e83276 updatr gradio 2023-05-22 08:42:47 -04:00
Vladimir Mandic d647bb5c05 minor updates 2023-05-21 18:49:07 -04:00
Vladimir Mandic d9647fd53e add training options 2023-05-21 09:44:36 -04:00
Vladimir Mandic ea0780339a fixes 2023-05-21 08:17:36 -04:00
Vladimir Mandic b6289d56c7 cleanup 2023-05-20 13:36:27 -04:00
Vladimir Mandic 2ce9852cff update 2023-05-20 13:14:04 -04:00
Vladimir Mandic f8f81f86e6 update prompt parser and image size 2023-05-20 13:12:50 -04:00
Vladimir Mandic e59ebe25ce fix styles path 2023-05-20 10:33:31 -04:00
Vladimir Mandic 335ad42fc8 fix segment delimiter 2023-05-20 09:35:14 -04:00
Vladimir Mandic 0891b30ffe update 2023-05-20 08:29:29 -04:00
Matt Parnell 1237782f47 oops 2023-05-19 23:46:06 -05:00
Matt Parnell 2a2921c177 add missing check for empty tensor 2023-05-19 23:29:53 -05:00
Alex Heller f4cd452c14 Made show all settings a tab instead of a separate button
This makes it play more nicely with the other tabs.
It still needs some js though to keep the other setting tabs open, when resetting settings.
2023-05-20 00:18:46 +02:00
Vladimir Mandic 794b23cc2b add parser to infotext 2023-05-19 16:56:08 -04:00
Vladimir Mandic 4c4e147baa fully localize data-dir 2023-05-19 15:23:26 -04:00
Vladimir Mandic 6221ccba4f change default model on download 2023-05-19 14:06:46 -04:00
Vladimir Mandic 42280ef804 add theme mode toggle 2023-05-19 13:24:40 -04:00
Vladimir Mandic 9033499e08 add manual seed 2023-05-19 08:34:43 -04:00
Vladimir Mandic df65e8e30a update clip skip and attention normalization 2023-05-18 22:16:24 -04:00
Vladimir Mandic 527dc0eedf update parser 2023-05-18 19:46:11 -04:00
Vladimir Mandic 1c70056744 match vae file 2023-05-18 19:09:34 -04:00
Vladimir Mandic e1cd374009 fix temp file handler 2023-05-18 18:50:31 -04:00
Vladimir Mandic fef49279f8 update 2023-05-18 15:41:52 -04:00
Vladimir Mandic 314a9bf67c fix extension uninstall 2023-05-18 14:55:43 -04:00
Vladimir Mandic 0c1bb95b13 test fix 2023-05-18 14:16:30 -04:00
Vladimir Mandic 325c0945d2 update model path 2023-05-18 14:04:06 -04:00
Vladimir Mandic 8b682183e3 update gradio 2023-05-18 10:41:24 -04:00
Vladimir Mandic df1fae7248 fix models path 2023-05-18 10:17:39 -04:00
Vladimir Mandic 0e46e74c5e fix extension update/uninstall 2023-05-18 09:27:42 -04:00
Vladimir Mandic 6c66228cde fix models dir 2023-05-18 08:17:49 -04:00
Vladimir Mandic c1e70df845 follow symlinks 2023-05-18 07:36:38 -04:00
Vladimir Mandic 4d67ee67ed minor fixes 2023-05-18 07:09:38 -04:00
Vladimir Mandic 1dffd114fc fix vae loading 2023-05-17 15:38:12 -04:00
Vladimir Mandic b979d448ed update 2023-05-17 14:41:13 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic 554f26296e update initial samplers 2023-05-17 08:46:57 -04:00
Vladimir Mandic 1ef3c69804 add compel parser 2023-05-17 08:29:04 -04:00
Vladimir Mandic 616553220b debug print params list 2023-05-17 07:42:41 -04:00
Vladimir Mandic 6c271dcfc6 update default samplers 2023-05-17 07:16:11 -04:00
Vladimir Mandic 6936804474 add compatiblity prompt parser 2023-05-17 07:07:51 -04:00
Vladimir Mandic f6f1a73b39 minor fixes 2023-05-17 06:15:18 -04:00
Vladimir Mandic 5250ba4be3 force no-half with directml 2023-05-16 21:20:36 -04:00
Vladimir Mandic ff4f94fc2a fixes 2023-05-16 18:05:29 -04:00
Vladimir Mandic bce16a1db5 update lora 2023-05-16 12:24:04 -04:00
Vladimir Mandic bc02d6668d update cli script examples 2023-05-16 10:52:38 -04:00
Vladimir Mandic f4bb3b4dd1 warn on unavailable sampler 2023-05-16 09:27:37 -04:00
Vladimir Mandic 2f36350e24 refactor 2023-05-16 09:16:12 -04:00
Vladimir Mandic 7fe0587557 update cli 2023-05-15 16:55:10 -04:00
Vladimir Mandic e737419ba4 update 2023-05-15 13:05:05 -04:00
Vladimir Mandic 1b73161e4d update prompt parser 2023-05-15 12:25:41 -04:00
Vladimir Mandic 8350b93a5c add force latent sampler 2023-05-15 09:32:20 -04:00
Vladimir Mandic 8a9eb2c766 add test script 2023-05-15 08:44:03 -04:00
Vladimir Mandic c99c1410f5 update 2023-05-14 20:25:27 -04:00
Vladimir Mandic 5134471bc8 dml autocast 2023-05-14 13:24:59 -04:00
Vladimir Mandic 618a1703ae update cudnn benchmark setting 2023-05-14 12:28:37 -04:00
Vladimir Mandic 760f5fb89a add extra debug messages 2023-05-14 12:26:15 -04:00
Vladimir Mandic 85d67d6331 add interrupt to processing 2023-05-14 12:13:44 -04:00
Vladimir Mandic 77eae443b5 extension manager fixes 2023-05-14 11:22:15 -04:00
Vladimir Mandic 44b31a2d6b
Merge pull request #944 from khusain/case-insensitive-theme-list
Case-insensitive sorting for theme list
2023-05-14 11:02:53 -04:00
khusain 730bb8335c Case-insensitive sorting for the list of themes 2023-05-14 10:53:04 -04:00
Vladimir Mandic 4f937be64b fix sendto metadata 2023-05-14 10:39:32 -04:00
Vladimir Mandic 12569f7fdb match installed extensions 2023-05-14 08:02:36 -04:00
Vladimir Mandic 926b8666cd update argparser 2023-05-13 16:42:01 -04:00
Vladimir Mandic 819d105d1d update cli 2023-05-13 15:21:00 -04:00
Vladimir Mandic c46f0dbdeb fix 2023-05-13 12:55:50 -04:00
Vladimir Mandic a652270999 fix 2023-05-13 12:26:00 -04:00
Vladimir Mandic a2923064a5 update cudnn 2023-05-13 11:52:31 -04:00
Vladimir Mandic d96ab6a1ae update directml 2023-05-13 11:21:11 -04:00
Vladimir Mandic a2485cf7ef update 2023-05-12 21:12:24 -04:00
Vladimir Mandic 1921504e64 enable dynamo compile 2023-05-12 15:58:00 -04:00
Vladimir Mandic daf90cb6b4 add performance note 2023-05-12 14:23:51 -04:00
Vladimir Mandic 62dda471a3 process images in threads 2023-05-12 14:21:26 -04:00
Vladimir Mandic 0a46f8ada7 enable per-extension update 2023-05-12 10:07:19 -04:00
Vladimir Mandic 1943bfea88 use cudnn workaround 2023-05-11 22:24:12 -04:00
Vladimir Mandic df2cfd5100 add torch type override 2023-05-11 20:36:34 -04:00
Vladimir Mandic 5905fcb97e deduplicate themes 2023-05-11 19:43:30 -04:00
Vladimir Mandic 0f2a03a5bf update theme 2023-05-11 11:50:51 -04:00
Vladimir Mandic 44be01531d update send to params 2023-05-11 11:06:48 -04:00
Vladimir Mandic 05656a54fe update extra networks 2023-05-11 09:30:34 -04:00
Vladimir Mandic 99b6133bc9 update requirements 2023-05-10 16:40:36 -04:00
Vladimir Mandic e038bf1549 aggressive gc 2023-05-10 16:03:55 -04:00
Vladimir Mandic c5df80197e new extension manager 2023-05-10 15:12:02 -04:00
Vladimir Mandic 9f1004d2b6 fix tab ordering 2023-05-09 11:13:10 -04:00
Vladimir Mandic d7fdc5944c
Merge pull request #829 from froger-me/master
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency
2023-05-09 10:41:40 -04:00
Vladimir Mandic d8a2c32918 xyz grid optimizations 2023-05-09 10:41:23 -04:00
Alexandre Froger 304f473970
Update ui.py
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency #829

Explicit app selected defaults:

- If UniPC is not hidden, that should be default
- Fallback to Euler a if not hidden
- Fallback to first available
2023-05-09 22:25:00 +08:00
Alexandre Froger e132f65c14
Update sd_samplers.py
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency #829

Refactor
2023-05-09 22:23:14 +08:00
Alexandre Froger 2cd023ec7b
Update ui.py
[Issue]: UniPC always here #822

on load, select the first available sampler in UI ; this seems more expected than arbitrarily selecting UniPC which is the last one in the alphabetical list
2023-05-09 21:20:08 +08:00
Alexandre Froger 2d7e9bdf54
Update shared.py
[Issue]: UniPC always here #822

remove PLMS from the samplers that can be selected/deselected since it should always be available
2023-05-09 21:16:07 +08:00
Alexandre Froger 8d9188af6f
Update sd_samplers.py
[Issue]: UniPC always here #822

check if the samplers list is empty, in which case force only UniPC and PLMS, otherwise only use the set of selected ones, with PLMS forced as part of the set of available samplers
2023-05-09 21:13:12 +08:00
Vladimir Mandic 1288aec459 correct metadata before/after 2023-05-09 09:09:31 -04:00
Vladimir Mandic 8203bd5c97 update 2023-05-09 09:09:31 -04:00
Vladimir Mandic 8062f9197d run without checkpoint 2023-05-09 09:09:31 -04:00
Vladimir Mandic 57ae792004 add ui ordering 2023-05-09 09:09:31 -04:00
Vladimir Mandic 4d9fab4984 fix txt_fullfn 2023-05-08 11:56:59 -04:00
Vladimir Mandic 0210830296 update noise multiplier 2023-05-08 09:27:50 -04:00
Vladimir Mandic 2af0e0c8a1 change temp files to image files 2023-05-08 09:27:50 -04:00
Vladimir Mandic 41182009cb switch some cmdopts to opts 2023-05-08 09:27:50 -04:00
Vladimir Mandic 1360c6422a add fp16 test 2023-05-08 09:27:50 -04:00
Vladimir Mandic ab544f5a24
Merge pull request #786 from wbh1129/extra_networks_description
ui_extra_networks.py: make description default to "" instead of error
2023-05-06 08:44:14 -04:00
wbh1129 0055336894
ui_extra_networks.py: make description default to "" instead of error 2023-05-06 06:06:17 -05:00
Vladimir Mandic ceaf757130 update caption filename logic 2023-05-05 11:02:35 -04:00
Vladimir Mandic fe496f4ebc add train preprocess options 2023-05-05 09:06:06 -04:00
Disty0 5c9894724c Fix memory monitoring when using IPEX 2023-05-05 12:26:47 +03:00
Vladimir Mandic c470f39913 merge fixes 2023-05-04 16:55:41 -04:00
Vladimir Mandic a677253b7c add api-logo workaround 2023-05-04 10:45:25 -04:00
Vladimir Mandic 303574ebfc draft full merge from upstream 2023-05-04 09:27:48 -04:00
Vladimir Mandic 865c0bc7a3 merge from upstream 2023-05-04 07:51:38 -04:00
Disty0 8171d57c36 Remove unnecessary IPEX imports 2023-05-04 02:34:34 +03:00
Vladimir Mandic ba3a0827da minor formatting updates 2023-05-03 18:14:13 -04:00
Vladimir Mandic 5d8c787a7b restart server redesign 2023-05-03 17:20:22 -04:00
Vladimir Mandic 0af6c70b94 add notifications 2023-05-03 14:32:14 -04:00
Disty0 53f3567224 Use cmd_args parser instead of launch.py 2023-05-03 21:25:23 +03:00
Disty0 7577a09528 Add IPEX Optimizers and use XPU instead of CPU when using IPEX 2023-05-03 18:12:38 +03:00
Vladimir Mandic e324e54cfb set default gallery view 2023-05-03 10:36:12 -04:00
Vladimir Mandic 426609b28c
Merge pull request #721 from cool-bigdogs-tshirt/bigdog/more-unipc-experiments
bigdog/more unipc experiments
2023-05-03 10:29:06 -04:00
Vladimir Mandic b401d9ed3d fix image temp files 2023-05-03 08:40:50 -04:00
Vladimir Mandic 660a17a0f9 update requirements 2023-05-03 08:31:27 -04:00
Alex Heller 947b1991e0 Refactor: Removed unused group in settings 2023-05-03 14:30:08 +02:00
Vladimir Mandic d86b081ed3 update ssl 2023-05-03 08:22:57 -04:00
Vladimir Mandic e566fed3a1 fonts and upscale fix 2023-05-03 08:00:26 -04:00
cool-bigdogs-tshirt 0495afa1a2 adjust unipc img2img parameters 2023-05-02 20:52:44 -05:00
Vladimir Mandic 6f976c358f optimize model load 2023-05-02 21:30:34 -04:00
Scott Mudge bfac50d113 fix issue with gradio UI not loading when google fonts API is not accessible 2023-05-02 17:37:13 -04:00
Vladimir Mandic eb03fce3e4 fix logger 2023-05-02 15:57:28 -04:00
Vladimir Mandic e379da2f5f fix logger 2023-05-02 15:55:33 -04:00
Vladimir Mandic 568e700987
Merge pull request #606 from DrakeRichards/notification-sounds
Adding notification.mp3 support
2023-05-02 15:12:13 -04:00
Vladimir Mandic 7a083d322b merge commits 2023-05-02 15:06:06 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Vladimir Mandic 2166b4de06 fix exif data handler 2023-05-02 09:56:33 -04:00
Vladimir Mandic 530dafc453 cleanup 2023-05-02 08:54:47 -04:00
Thomas Young 313edea317
Merge branch 'master' into notification-sounds 2023-05-01 19:45:22 -05:00
Seunghoon Lee 9e214b32d7
remove NotImplementedError. 2023-05-02 09:04:35 +09:00
Thomas Young f325594a65 Added notification sound settings 2023-05-01 18:05:25 -05:00
Alex Heller ab03159e59 Fix: Bar was not removed for array settings (checkbox-group)
Hopefully this is the last time the behaviour needs to be adapted for that setting type.
2023-05-02 01:02:14 +02:00
Vladimir Mandic deb0546b46 update requirements 2023-05-01 18:54:50 -04:00
Thomas Young 110eee1a0a Merge branch 'master' of https://github.com/vladmandic/automatic into notification-sounds 2023-05-01 16:55:41 -05:00
Vladimir Mandic d4a748d758 update requirements 2023-05-01 12:25:35 -04:00
Vladimir Mandic 22da90d4b8 fix lora memory leak 2023-05-01 10:13:21 -04:00
Vladimir Mandic f4256655b2 fix argparse 2023-05-01 08:43:02 -04:00
Vladimir Mandic 75b741f119 fallback args 2023-04-30 23:06:32 -04:00
Alex Heller 074c924052 Removed double empty line on hidden items
This is a quick fix, needs more careful consideration
2023-05-01 04:41:29 +02:00
Alex Heller 2d82bc67d4 Changed modification indicator to button element
The setting value now resets to previous when clicking on the indicator.
Furthermore, when hovering over the indicator it also shows what the last value was.
2023-05-01 03:38:44 +02:00
Vladimir Mandic 4dc5941912 fix embedding logging 2023-04-30 21:01:49 -04:00
Vladimir Mandic dedd3ffafb fix script api 2023-04-30 20:08:44 -04:00
cool-bigdogs-tshirt 04f4da0013 fix unipc img2img denoising sample count
was wrongly using the inverse of the intended value. smaller denoising
strength should run fewer steps.
2023-04-30 12:31:11 -05:00
Vladimir Mandic 7eb82e2627 remove circular imports from installer 2023-04-30 12:21:32 -04:00
Vladimir Mandic d62ee69c75 cleanup installer 2023-04-30 12:01:25 -04:00
Disty0 68fc95b2e1 Merge remote-tracking branch 'upstream/master' 2023-04-30 18:28:22 +03:00
Disty0 de8d0bef9f More patches and Import IPEX after Torch 2023-04-30 18:19:37 +03:00
Vladimir Mandic 682330b172 new command line parser 2023-04-30 10:54:59 -04:00
Vladimir Mandic 917ecad43c add dynamo options 2023-04-30 09:31:38 -04:00
Vladimir Mandic 14055afb9b update logging 2023-04-30 09:20:50 -04:00
Vladimir Mandic d853a6679a
Merge pull request #632 from nekoworkshop/dev
Adding ToMe parameters to available x/y/z plot options
2023-04-30 09:09:27 -04:00
Disty0 a720a670e8 More patches and less import shared 2023-04-30 16:01:17 +03:00
Vladimir Mandic b23b6a6e2c update ti folders 2023-04-30 08:55:47 -04:00
Disty0 5c76087b9d Revert force cross_attention_optimization 2023-04-30 15:30:15 +03:00
Disty0 b075d3c8fd Intel ARC Support 2023-04-30 15:13:56 +03:00
Alex Heller 1c8eadab95 Merge branch 'master' of https://github.com/vladmandic/automatic into settings-improvements 2023-04-30 05:11:08 +02:00
Seunghoon Lee 67c392027b
Merge pull request #622 from vladmandic/directml
Add DirectML backend.
2023-04-30 11:16:58 +09:00
Seunghoon Lee 93d638d8b8
Approx NN works fine. 2023-04-30 11:15:09 +09:00
Seunghoon Lee e65d74100f
Move/Remove hijacks. Add warning. 2023-04-30 11:12:47 +09:00
Alex Heller 2c5ec7ce0b Improvement: Added individual setting changed indicator 2023-04-30 04:07:02 +02:00
Vladimir Mandic 9ac7f3771a update cmdflags 2023-04-29 19:30:26 -04:00
Vladimir Mandic d4fd25a7fd add debug mode 2023-04-29 18:58:10 -04:00
nekoworkshop c4936fc927 Extra information in ToMe related settings 2023-04-29 18:16:12 -04:00
nekoworkshop 5dc9743592 Initial implementation 2023-04-29 18:16:11 -04:00
Vladimir Mandic ba50dbbdbf add memory monitor 2023-04-29 17:36:45 -04:00
David Pina 2220316920
Fix typo that prevents training Textual Inversion
There was a small typo in line 529.

shared.ops.embeddings_train_log caused an attribute not found exception when training TIs.
2023-04-29 22:41:24 +02:00
Vladimir Mandic 3c41056123 make clip skip persisent 2023-04-29 16:04:10 -04:00
Vladimir Mandic 69ee51f7f2 fix extra networks 2023-04-29 14:16:39 -04:00
Vladimir Mandic 408147d9c4 critical fix 2023-04-29 13:25:20 -04:00
Vladimir Mandic cd580866a7 fix awalys on script args 2023-04-29 12:37:36 -04:00
Seunghoon Lee a41cf2bd84
Sync submodules. 2023-04-30 01:36:55 +09:00
Seunghoon Lee c128c0770b
Load libatiadlxx.so on Linux systems. 2023-04-30 01:15:47 +09:00
Seunghoon Lee ea2e57579f
Merge branch 'master' into directml 2023-04-30 00:45:33 +09:00
Vladimir Mandic 4e05d95ee0 fix prompts from file 2023-04-29 08:58:32 -04:00
Vladimir Mandic d6bcec4674
Merge pull request #568 from cool-bigdogs-tshirt/bigdogs/unipc-latent-upscale
unipc latent upscale
2023-04-29 07:43:34 -04:00
Vladimir Mandic d51918c682 change order of argparse 2023-04-29 07:37:53 -04:00
cool-bigdogs-tshirt 5148c5b0ad fix batching issue 2023-04-28 23:48:58 -05:00
cool-bigdogs-tshirt a78ce0a3ca xyz override for latent upscaler fallback 2023-04-28 22:32:01 -05:00
cool-bigdogs-tshirt 42e30bfc3c unipc img2img - add a bunch of code to get a single value that maybe performs slightly better? 2023-04-28 22:32:01 -05:00
Vladimir Mandic d3f0294bde update options 2023-04-28 22:01:29 -04:00
cool-bigdogs-tshirt 9a09b2eef3 attempt at unipc latent upscaling
i should have taken linear algebra before i dropped out...
2023-04-28 20:41:05 -05:00
Thomas Young 64176bf77d Added notification.mp3 support 2023-04-28 17:06:22 -05:00
Vladimir Mandic 99e3fceedb cleanup scripts 2023-04-28 13:09:34 -04:00
Vladimir Mandic 07a589b1b3 update settings 2023-04-28 09:52:29 -04:00
Vladimir Mandic 21ff7bad67 configurable train log 2023-04-28 09:42:19 -04:00
Vladimir Mandic 57241e256a handle clip_skip is none 2023-04-28 09:29:03 -04:00
Vladimir Mandic f9d636e427 update models_dir 2023-04-28 09:29:03 -04:00
Vladimir Mandic bfe62127e9 update 2023-04-27 15:47:13 -04:00
Vladimir Mandic 1f6261be80 jumbo patch 2023-04-27 13:12:20 -04:00
Vladimir Mandic 5dcaaba614 reduce extra network exceptions 2023-04-27 09:42:41 -04:00
Vladimir Mandic ba02d0c2e8 fix realesrgan path, secondary sampler 2023-04-27 09:22:10 -04:00
Vladimir Mandic 9bf8507f7c
Merge pull request #437 from one111eric/dev-add-extra-network-description-vlad
add extra network description
2023-04-27 09:18:23 -04:00
Vladimir Mandic def7a02d82 add asyncio handler 2023-04-26 16:08:56 -04:00
Vladimir Mandic e83708284a add shared.url 2023-04-26 15:55:18 -04:00
Vladimir Mandic f786826b88
Merge pull request #521 from Scholar01/mac
support for macOS.
2023-04-26 15:55:04 -04:00
Vladimir Mandic 1bdfeb3114 fix geninfo pretty print 2023-04-26 15:09:30 -04:00
Vladimir Mandic 5ce8ef68a7 increase thumnails 2023-04-26 14:48:12 -04:00
Vladimir Mandic 8ee0b47f51 cleanup scripts 2023-04-26 13:33:08 -04:00
db c79fce182c support for macOS. 2023-04-26 21:27:28 +08:00
Vladimir Mandic 93b0de7e59 update rollback vae 2023-04-26 09:02:32 -04:00
Seunghoon Lee 9a224a5cb8
Merge branch 'master' into directml 2023-04-26 21:39:47 +09:00
Vladimir Mandic da35bfb746 add compatibility cmdflags 2023-04-26 08:08:24 -04:00
Seunghoon Lee c9dde03fc5
Move realesrgan fallback to dml/hijack. 2023-04-26 18:54:24 +09:00
Seunghoon Lee d2d5011bd3
Implement memory estimation for AMDGPUs.
Stable.
2023-04-26 17:44:32 +09:00
Seunghoon Lee df0e89be48
fix.
Unstable & need more test.
2023-04-26 12:45:44 +09:00
Seunghoon Lee 8b75033a11
fix 2023-04-26 12:34:27 +09:00
Seunghoon Lee 09ae33cdf7
Implement torch.dml.
VERY UNSTABLE & NOT TESTED.
2023-04-26 12:21:44 +09:00
Vladimir Mandic a2b7544753 cleanup vae messages 2023-04-25 19:20:48 -04:00
Vladimir Mandic bc79ab50c5
Merge pull request #510 from Gazzoo-byte/patch-4
sd_vae automatic behaviour fix for non-Windows users
2023-04-25 19:11:36 -04:00
Gazzoo-byte 97e8224200
Update sd_vae.py
Removed pathlib, but had to retain '+ ".vae.pt"' etc, otherwise it was adding a separator between the filename and the extension
2023-04-26 00:07:42 +01:00
Vladimir Mandic 6981262beb validate script_args 2023-04-25 19:02:43 -04:00
Gazzoo-byte b6354950c2
Update sd_vae.py 2023-04-25 23:45:28 +01:00
Gazzoo-byte c764cae14d
sd_vae automatic behaviour fix for non-Windows users
Hadn't considered that hard-coding the separators would break this for non-Windows users - replaced hard coding with os.sep
2023-04-25 23:36:02 +01:00
Gazzoo-byte 98c29302a7
Fix a bug
Forgot a return value which was causing 'ValueError: too many values to unpack (expected 2)' upon trying load a VAE with Automatic in sd_vae
2023-04-25 21:00:03 +01:00
Vladimir Mandic 70e4a1673a
Merge pull request #498 from Gazzoo-byte/patch-2
Change 'Automatic' behaviour
2023-04-25 15:38:59 -04:00
Vladimir Mandic 7a193c7056 fix embedding preview 2023-04-25 15:37:47 -04:00
Gazzoo-byte 4fbb7a88dd
Change 'Automatic' behaviour
Modifies the behaviour of 'Automatic' to check in vae_path for vae files with a filename that matches the checkpoint, failing this falls back to None
2023-04-25 20:29:27 +01:00
Vladimir Mandic 058666f959 fix api image paths 2023-04-25 14:58:35 -04:00
Seunghoon Lee 8ea2fe15e7
Merge branch 'master' into directml 2023-04-25 23:37:44 +09:00
Seunghoon Lee 8b1eadfb1a
Merge branch 'master' into directml 2023-04-25 23:23:12 +09:00
Seunghoon Lee eb072db23c
Add dml_specific. 2023-04-25 23:19:03 +09:00
Seunghoon Lee 32634298d7
fix 2023-04-25 23:09:01 +09:00
Seunghoon Lee 53736ea7cb
fix 2023-04-25 23:07:25 +09:00
Seunghoon Lee db56da075a
need full precision for model & vae.
Stable & tested.
2023-04-25 23:04:52 +09:00
Vladimir Mandic bb438efed4 update geninfo 2023-04-25 09:53:11 -04:00
Vladimir Mandic 11fa3aff6d ti fixes 2023-04-25 09:21:38 -04:00
Seunghoon Lee 9dc8581ba0
Add hijack for DirectML.
Unstable & Under testing.
2023-04-25 21:22:47 +09:00
Vladimir Mandic dcd6d5bf56 add compatibility opts 2023-04-25 08:04:43 -04:00
Vladimir Mandic 602d92722a increase git debug logging 2023-04-25 07:55:50 -04:00
Vladimir Mandic 82d7b45cf4 update vae 2023-04-24 16:54:12 -04:00
Vladimir Mandic 20b64aad7b update samplers 2023-04-24 16:16:52 -04:00
Seunghoon Lee 836324cd2c
Fix PLMS & DPM & DDIM.
Unstable and not tested.
2023-04-25 01:55:27 +09:00
Seunghoon Lee a49a8f8b46
First DirectML implementation.
Unstable and not tested.
2023-04-25 01:43:19 +09:00
Vladimir Mandic 8291fe6cf8 fix sampler list 2023-04-24 12:17:01 -04:00
Vladimir Mandic 61a140c721
Merge pull request #452 from emirhnergn/master
Invert sampler selection process
2023-04-24 12:08:03 -04:00
Vladimir Mandic 579da8c9d5 add token merging and vae rollback 2023-04-24 12:05:21 -04:00
RedCore 8fbf2ab551 Merge branch 'master' of https://github.com/vladmandic/automatic 2023-04-24 18:48:45 +03:00
RedCore 4ed4f99d63 invert sampler selection process #447 2023-04-24 18:48:40 +03:00
Vladimir Mandic 2825ad11a0 premerge cleanup 2023-04-24 11:39:39 -04:00
Vladimir Mandic 986bc340ca
Merge pull request #438 from Sakura-Luna/pr9295
Add bf16 support for VAE
2023-04-24 11:36:28 -04:00
Vladimir Mandic 6bf907a949 update argparse 2023-04-24 10:56:49 -04:00
Vladimir Mandic 5b9187d38b combo patch 2023-04-24 10:30:23 -04:00
Sakura-Luna 458a78e4de
Merge branch 'master' into pr9295 2023-04-24 13:19:57 +08:00
Miao Xiang f7c7f396bb fix for vlad fork 2023-04-23 21:36:59 -07:00
Miao Xiang b1050a3dcb fix typo 2023-04-23 21:00:22 -07:00
Vladimir Mandic d64bb50235 handle torch cuda crashing in setup 2023-04-23 11:09:36 -04:00
Vladimir Mandic 809b4d25d0 apply patch 2023-04-23 10:18:38 -04:00
Vladimir Mandic 176ac924af make tensorflow optional 2023-04-23 08:11:26 -04:00
Vladimir Mandic bef352c233 fix model_name 2023-04-23 07:19:51 -04:00
Vladimir Mandic ec532ee91d
Merge pull request #383 from missionfloyd/extra-network-none
Add "None" option to extra networks dropdowns
2023-04-22 12:28:34 -04:00
Vladimir Mandic 30b5467bf0 extend system paths 2023-04-22 12:27:10 -04:00
Vladimir Mandic ec8453ff11 fix lora dir 2023-04-22 11:43:12 -04:00
Vladimir Mandic 9a65233845 update setup to deal with extensions preload 2023-04-22 11:23:17 -04:00
Vladimir Mandic cb465b12dd
Merge pull request #352 from ashen-sensored/master
CFGDenoiser and script_callbacks modification for SAG
2023-04-22 09:37:17 -04:00
Vladimir Mandic d3fbd798fb add setup.log note 2023-04-22 09:30:09 -04:00
Vladimir Mandic bc943d3746
Merge pull request #366 from nonnonstop/fix-datadir
Fix problems when --data-dir is specified
2023-04-22 09:29:45 -04:00
Vladimir Mandic e6e296a304 fix lora/lyco dir 2023-04-22 09:05:26 -04:00
Vladimir Mandic 61e9a1970c add exception around torch properties 2023-04-22 08:35:17 -04:00
Vladimir Mandic 4a848e43d3 add builtin gradio themes 2023-04-22 08:35:17 -04:00
nonnonstop 5222919ebb
Fix problem when --data-dir is specified 2023-04-22 15:10:00 +09:00
Ashen 0e39aa7ba7 CFGDenoiser and script_callbacks mod for SAG 2023-04-21 13:17:17 -07:00
Vladimir Mandic cf277e7326 fix dtype logic 2023-04-21 15:04:05 -04:00
Vladimir Mandic 57204b3d70 disable xformers/sdp if cannot be used 2023-04-21 11:32:19 -04:00
Vladimir Mandic a5798c73b6 post merge fixes 2023-04-21 09:36:11 -04:00
Vladimir Mandic 45439f4d0f
Merge pull request #228 from Vespinian/fix_img2img_scriptrunner_for_gui
Changed img2img scriptrunner for gui request from scripts_txt2img to …
2023-04-21 09:30:39 -04:00
Vladimir Mandic 4417d570aa
Merge pull request #233 from Yan233th/master
Fix hasattr to in method
2023-04-21 09:29:51 -04:00
Vladimir Mandic 2caaa0c369
Merge pull request #237 from Z-nonymous/master
Fix #9185
2023-04-21 09:29:22 -04:00
Vladimir Mandic 4c03c03db5
Merge pull request #244 from Pluventi/master
Update postprocessing.py
2023-04-21 09:28:31 -04:00
Vladimir Mandic b6719e5a22
Merge pull request #248 from GoulartNogueira/master
fix image orientation
2023-04-21 09:27:48 -04:00
Vladimir Mandic 720db9e4ac
Merge pull request #249 from gaojie111119/fix-noattr-elem_classes
fix #9234 #8970 check attr "elem_classes" before use
2023-04-21 09:27:39 -04:00
Vladimir Mandic df38b992e9
Merge pull request #250 from Sakura-Luna/pre-fix
Preview fix
2023-04-21 09:27:28 -04:00
Vladimir Mandic e02415b41e
Merge pull request #255 from catboxanon/patch/9092
Patch/9092
2023-04-21 09:13:11 -04:00
Vladimir Mandic 5739c8892f
Merge pull request #256 from catboxanon/patch/sampler-schedule-fix
Patch/sampler schedule fix
2023-04-21 09:12:45 -04:00
Vladimir Mandic b38f446873
Merge pull request #312 from hollowstrawberry/master
🔃 buttons in extra networks submenu
2023-04-21 09:12:08 -04:00
Vladimir Mandic c0c94cbd40
Merge pull request #316 from gitmylo/master
Extension compatibility fix (modules.img2img and modules.txt2img signature change revert)
2023-04-21 09:11:38 -04:00
papuSpartan 9e8dc9843c port to vlad 2023-04-21 03:18:08 -05:00
Vladimir Mandic 7939a1649d parse model preload 2023-04-20 23:19:25 -04:00
Vladimir Mandic df424d6d51 add models path 2023-04-20 17:18:31 -04:00
Vladimir Mandic 0282832f12 fix vae path 2023-04-20 15:50:06 -04:00
Vladimir Mandic 5a0664c945 fixes 2023-04-20 15:35:40 -04:00
Mylo d33d0f69fc Extension compatibility fix
Update function signature on img2img.py:img2img() to match the one on the original Automatic1111 webui
Update function signature on txt2img.py:txt2img() to match the one on the original Automatic1111 webui
Update ui.py to create the seed_checkbox element, which is invisible since it doesn't get used, I did this so there wouldn't be any issues when it later gets sent in to a wrap_gradio_gpu_call. (slightly hacky fix)
2023-04-20 21:24:17 +02:00
Samuel 1cf6b91862 Use smaller ToolButton for 🔃 in extra networks submenu 2023-04-20 14:43:46 -04:00
Samuel 1439100617 🔃 buttons in extra networks submenu 2023-04-20 14:35:08 -04:00
Vladimir Mandic 752b91d38a fix model download 2023-04-20 12:29:54 -04:00
Vladimir Mandic 0866451982 fix paths 2023-04-20 11:56:07 -04:00
Vladimir Mandic 0e7144186d jump patch 2023-04-20 11:20:27 -04:00
Vladimir Mandic 93a9e7ba16 fix logger 2023-04-19 14:11:25 -04:00
Vladimir Mandic 955b841d0f fix temp folder 2023-04-19 10:59:20 -04:00
Vladimir Mandic eb2a36cd3a update todo 2023-04-19 10:25:28 -04:00
Vladimir Mandic b298b002ae optional torch and xformers installer 2023-04-19 08:08:25 -04:00
missionfloyd f4b332f041 Add "None" option to extra networks dropdowns 2023-04-18 17:01:46 -06:00
Vladimir Mandic 71b29c996b change script/extension loading priorities 2023-04-18 14:31:40 -04:00
Vladimir Mandic ed32259bf7 reconnect ui on browser restart 2023-04-18 12:10:30 -04:00
Vladimir Mandic e8d8dae4c7 fix broken js 2023-04-18 10:06:55 -04:00
Vladimir Mandic 2711e32c2e add script/extension priorty 2023-04-18 09:32:26 -04:00
Vladimir Mandic a975a6a03d disable gradio queues on demand 2023-04-18 08:06:16 -04:00
Vladimir Mandic 86783d164c unload xformers when not used 2023-04-18 07:47:41 -04:00
Vladimir Mandic 8b1f26324b optional model loader and integrate image info 2023-04-17 15:31:43 -04:00
Vladimir Mandic f5a29752e7 add dynamic themes and preview 2023-04-17 13:49:18 -04:00
Vladimir Mandic 8808b1a222 add setup auto-recover 2023-04-17 09:53:53 -04:00
Vladimir Mandic b0cec1aeb8 fix urls 2023-04-16 21:51:11 -04:00
catboxanon 9de7298898
Update processing.py 2023-04-16 21:06:37 -04:00
catboxanon 234fa9a57d
Update shared.py 2023-04-16 21:06:22 -04:00
catboxanon 4d0c816303
Modify step multiplier flow 2023-04-16 20:39:45 -04:00
catboxanon 81b276a1ea
Add second order samplers compat option 2023-04-16 20:39:18 -04:00
catboxanon 56f8a6b081
Fix sampler schedules with step multiplier 2023-04-16 20:34:52 -04:00
Miao Xiang 0587f6c5c6 fix bug when there are dots in the file name 2023-04-16 14:10:35 -07:00
Vladimir Mandic 58df74cfd5 new middleware handler and ability to restart server on-the-fly 2023-04-16 15:57:00 -04:00
Vladimir Mandic b7e4b0414a fix loading gradio theme 2023-04-16 10:01:28 -04:00
Vladimir Mandic a49ecc09ac optional dark/light theme 2023-04-16 08:59:47 -04:00
Vladimir Mandic c42a00c327 add theme support 2023-04-16 08:49:27 -04:00
Vladimir Mandic 26034bf1a4
Merge branch 'master' into gradio-theme-support 2023-04-16 08:18:44 -04:00
Vladimir Mandic 3e546a3434 update requirements 2023-04-16 07:42:21 -04:00
Vladimir Mandic 4955a90c7b fix previews 2023-04-15 17:43:25 -04:00
Vladimir Mandic dd25f2f515 update setup 2023-04-15 17:22:58 -04:00
Vladimir Mandic 45dcc69484 update defaults 2023-04-15 14:40:53 -04:00
Vladimir Mandic 8cd7510530 separate user vs system extensions 2023-04-15 12:58:01 -04:00
Vladimir Mandic e14cba0771 add lycoris folder 2023-04-15 12:25:59 -04:00
Vladimir Mandic fd51bb90d0 enable quick launch 2023-04-15 11:51:58 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic b28b7c7a98 fix extension update 2023-04-14 17:50:19 -04:00
catboxanon fbab3fc6d1
Only handle image mask if any option enabled 2023-04-14 17:24:55 -04:00
catboxanon 3af152d488
Fix image mask composite for weird resolutions 2023-04-14 17:17:14 -04:00
Vladimir Mandic 149329cb09 downgrade gradio 2023-04-14 15:23:33 -04:00
Vladimir Mandic 4e6eef0fce fix extension loader 2023-04-14 15:18:54 -04:00
Vladimir Mandic 27302938f1 update gradio and enhance tracebacks 2023-04-14 14:20:37 -04:00
Vladimir Mandic 463a7811c7 fix ti previews on initial start 2023-04-14 12:40:46 -04:00
Vladimir Mandic ab83245dd1 enable cmdflags compatibility and change default css font 2023-04-14 11:25:05 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
Vladimir Mandic 614b482ee3 major installer work 2023-04-13 11:19:15 -04:00