Commit Graph

5125 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
Vladimir Mandic d179d8b668 update second pass behavior 2024-02-27 09:15:27 -05:00
Vladimir Mandic 36dac2af9c extend use of move_model 2024-02-27 07:46:28 -05:00
Vladimir Mandic 3488dd2cf6 use model yaml if present 2024-02-26 17:38:09 -05:00
Vladimir Mandic bba2658e93 fix sdp-memory-attention in original 2024-02-26 09:47:13 -05:00
AI-Casanova 316b74cd15 VAE circular padding 2024-02-25 08:09:56 -05:00
AI-Casanova a13335a657 Diffusers tiling 2024-02-25 08:09:56 -05:00
Vladimir Mandic f73e3a3bcf exception handler for memmon 2024-02-25 08:09:43 -05:00
Vladimir Mandic ffb8f16b7b add vqa models to interrogate 2024-02-24 14:42:26 -05:00
Vladimir Mandic 810fd8b970 theme tweaks 2024-02-24 11:52:38 -05:00
Vladimir Mandic 17f2f8d98f add include mask in output, improve model offload compatibility 2024-02-24 11:06:14 -05:00
Vladimir Mandic 5ac36c6bf1 faceid improvements 2024-02-24 10:02:06 -05:00
Vladimir Mandic 6239d266f4 remove training 2024-02-24 09:58:46 -05:00
Enes Sadık Özbek 974f19e84b faceid formatting 2024-02-24 09:56:08 -05:00
Enes Sadık Özbek c244e65f08 faceid intend 2024-02-24 09:56:08 -05:00
Enes Sadık Özbek 601317f81b Finish FaceID integration with other stuff 2024-02-24 09:56:08 -05:00
Enes Sadık Özbek fe2d0589b0 FaceID: Fix not deactivating extra networks after generation 2024-02-24 09:56:08 -05:00
Enes Sadık Özbek 88d513d89e add lora support to faceid 2024-02-24 09:56:08 -05:00
Vladimir Mandic 533951423e fix en refresh 2024-02-24 08:24:20 -05:00
Seunghoon Lee d36d072e05 improve zluda installation 2024-02-24 08:24:20 -05:00
Vladimir Mandic 45b2b3d348 fix en refresh 2024-02-24 07:42:45 -05:00
Seunghoon Lee a02052cd6a improve zluda installation 2024-02-23 09:55:48 -05:00
Vladimir Mandic 92c3c26729 hide en with no entries 2024-02-23 09:22:57 -05:00
Vladimir Mandic 1bbcf2e13d minor fixes 2024-02-23 08:54:32 -05:00
Vladimir Mandic 1b976f610c update requirements 2024-02-23 00:29:19 -05:00
Vladimir Mandic 88de556445 update todo and startup logging 2024-02-22 21:05:39 -05:00
Vladimir Mandic b63a7d455c fix installer and requirements 2024-02-22 20:30:59 -05:00
Vladimir Mandic 9d1a827900
Merge branch 'master' into dev 2024-02-22 13:57:11 -05:00
Vladimir Mandic 41cfecc127 pre-merge cleanup 2024-02-22 13:56:49 -05:00
Vladimir Mandic 0521f8cb16 minor updates 2024-02-22 13:51:10 -05:00
Vladimir Mandic e64055cc01 handle installer exceptions and update requirements 2024-02-22 13:07:31 -05:00
Vladimir Mandic 3604213e1c legacy cleanups 2024-02-22 09:57:09 -05:00
Vladimir Mandic f3bf2c2613 minor fixes 2024-02-22 09:37:28 -05:00
Vladimir Mandic cf7118be4d refactor stable-cascade, fix taesd bf16, add skip-env cmd flag 2024-02-21 17:13:53 -05:00
Vladimir Mandic aec8f76c15 add differential-diffusion support for sd15 2024-02-20 13:14:32 -05:00
Vladimir Mandic 44dace8fe6 change gradio textbox handler to submit+unfocus instead of keypress 2024-02-20 11:26:08 -05:00
Vladimir Mandic 02394356e7 add differential diffusion 2024-02-20 10:06:42 -05:00
Vladimir Mandic cf3fbad84e gracefully fail onnx imports 2024-02-19 18:15:52 -05:00
Vladimir Mandic 456af9abdb refactor compile out of processing 2024-02-19 18:05:25 -05:00
QuantumSoul 47106883cc Update ui_control.py 2024-02-19 13:25:41 -05:00
Seunghoon Lee 0e1fb9c18a
zluda force sdp_options to math 2024-02-20 00:00:06 +09:00
Vladimir Mandic ee7517dfb8 expose sdp options 2024-02-19 08:29:24 -05:00
Vladimir Mandic be81d48601 xadapter prototype and placeholder 2024-02-18 10:46:51 -05:00
AI-Casanova 50beb2157d Diffusers subseeds 2024-02-18 07:02:23 -05:00
Vladimir Mandic bdce5c1710 update 2024-02-18 06:58:07 -05:00
AI-Casanova 38421e37d0
fix #2785 2024-02-17 19:04:22 -06:00
Seunghoon Lee 2785af1bc4
zluda enable math sdp kernel 2024-02-18 01:23:25 +09:00
Vladimir Mandic 5f39f80075 add callback tracing 2024-02-17 08:50:36 -05:00
Vladimir Mandic 2a10875bd5 fix restore pipeline 2024-02-17 07:53:11 -05:00
Seunghoon Lee 8ae3b5bb43
remove zluda force sync 2024-02-17 20:56:10 +09:00
Seunghoon Lee 6e412d406b
add zluda force sync 2024-02-17 16:16:11 +09:00
Vladimir Mandic 38c5beb898 fix typo 2024-02-16 18:24:46 -05:00
Vladimir Mandic 8caa82204c lint updates 2024-02-16 15:09:22 -05:00
Vladimir Mandic 5ffc692b17 update theme cli param 2024-02-16 09:27:44 -05:00
Vladimir Mandic 02336fdb36 refactor txt2img/img2img api 2024-02-16 08:49:42 -05:00
Vladimir Mandic 00e58c0b15 add control mask size and outpaint masked only 2024-02-16 08:18:38 -05:00
Vladimir Mandic d76136fb81 cleanup 2024-02-15 19:03:17 -05:00
Disty0 cc9d0960c2 ZLUDA loosen attention settings 2024-02-15 20:42:34 +03:00
Vladimir Mandic b28fd28d2f lora strict filename matching 2024-02-15 11:35:12 -05:00
Vladimir Mandic efbb9401a9 avoid unnecessary mask double resize 2024-02-15 11:16:15 -05:00
Disty0 e631fd85e2 Stable Cascade previewer and fixes 2024-02-15 18:50:54 +03:00
Vladimir Mandic d0ceff70a3 update masking 2024-02-15 09:34:44 -05:00
Vladimir Mandic 1b3028b667 minor update 2024-02-15 09:13:34 -05:00
Vladimir Mandic 6f52425511 update script headings 2024-02-15 08:55:37 -05:00
Vladimir Mandic 290bfc8b41 fix hijack and update script layout 2024-02-15 08:03:24 -05:00
Seunghoon Lee 25c652782f
for Windows only 2024-02-15 07:40:16 +09:00
Seunghoon Lee cc4438651f
Initial ZLUDA support. 2024-02-15 07:38:49 +09:00
Disty0 a956be05f7 OpenVINO add disable memory cleanup option 2024-02-14 20:29:58 +03:00
Vladimir Mandic ae4f7e6a5f regional prompting 2024-02-14 11:24:19 -05:00
Vladimir Mandic d27295a923 fix masking 2024-02-14 10:38:50 -05:00
Vladimir Mandic 0e91c46a68 cleanup stable cascade 2024-02-14 09:43:20 -05:00
Disty0 ae10ae6997 Cleanup 2024-02-14 15:12:50 +03:00
Disty0 52efa909c5 Experimental Stable Cascade support 2024-02-14 14:51:20 +03:00
Disty0 7d25ba4734 Wuerstchen fixes 2024-02-14 13:14:08 +03:00
Vladimir Mandic 635c071510 fix ipadapter check 2024-02-13 21:24:19 -05:00
Vladimir Mandic 935d7ef0ad new control outpaint 2024-02-13 20:57:30 -05:00
Vladimir Mandic c16cd2eeec handle dict as pipeline result 2024-02-13 15:10:21 -05:00
AI-Casanova ccd6c86c21
Fix EN embedding refresh 2024-02-13 12:57:12 -06:00
Disty0 5fe82c422f Fix model archs with no VAE 2024-02-13 21:48:11 +03:00
AI-Casanova 08567b288f refactor and fix embedding registration 2024-02-13 12:59:17 -05:00
Disty0 86e8791ed0 Update IPEX Optimize logging 2024-02-13 19:44:21 +03:00
Vladimir Mandic e65e841eb1 fix ext updated info 2024-02-13 10:20:14 -05:00
Vladimir Mandic a72a0f4228 error messages 2024-02-13 09:18:09 -05:00
Vladimir Mandic 1bcaa77dc5 error handling 2024-02-13 09:17:01 -05:00
Vladimir Mandic f5c1cb1bae ipadapter merge cleanup and add metadata 2024-02-13 08:44:52 -05:00
Vladimir Mandic 75cbe4fb50
Merge branch 'dev' into ipadapter-end 2024-02-13 08:10:06 -05:00
Disty0 3190e856de OpenVINO fix quant not being applied 2024-02-13 12:30:36 +03:00
AI-Casanova 3d9e5465d1 Finish TODO fix script 2024-02-12 22:50:37 -06:00
AI-Casanova 03094f8bf5
Merge branch 'dev' into ipadapter-end 2024-02-12 21:59:42 -06:00
Vladimir Mandic db1e1cc488 update token counter 2024-02-12 14:01:30 -05:00
Disty0 9532f8931f Fix vae has no post_quant_conv 2024-02-12 21:53:54 +03:00
Vladimir Mandic c9fc13583b failsafe mask region 2024-02-12 13:45:30 -05:00
Vladimir Mandic 239e3f8e34 add masking debug 2024-02-12 11:19:03 -05:00
Vladimir Mandic 6c9d35a639 new gradio hijacks 2024-02-12 09:57:31 -05:00
Vladimir Mandic d65067a53c fix control processor images handling 2024-02-12 08:28:16 -05:00
Disty0 c24539be73 Fix NNCF compatibility with model cpu offload 2024-02-12 15:09:29 +03:00
AI-Casanova fd28ec10a3
Merge branch 'dev' into ipadapter-end 2024-02-11 22:23:58 -06:00
AI-Casanova 7021ffb540 Add UI controls 2024-02-11 22:13:11 -06:00
Disty0 baf42fbc0a Fix dtype mismatch with vae decode 2024-02-12 05:15:17 +03:00
Disty0 a675347287 Cleanup 2024-02-12 01:58:20 +03:00
Disty0 c9e01b4a32 OpenVINO fix --device-id with single GPU 2024-02-12 01:57:27 +03:00
Vladimir Mandic 3c9a4d55bb init values for ip 2024-02-11 17:23:50 -05:00
Disty0 3f8da51eac Set default atten for ROCm to SDP 2024-02-11 13:44:39 +03:00
AI-Casanova fa833a5221 Draft: XYZ only 2024-02-10 19:06:52 -06:00
Vladimir Mandic c61a92d05c fix ipadapter none lookup 2024-02-10 18:50:11 -05:00
Disty0 1ff909fcfb Add option to use HyperTile on only hires pass 2024-02-11 01:24:16 +03:00
Vladimir Mandic e731505a5f refactor ip adapters 2024-02-10 16:04:51 -05:00
Disty0 ef909cd003 HyperTile add swap size and depth options 2024-02-10 22:12:47 +03:00
Disty0 0ac2dfbcaa Dyn Atten don't synchronize if not slicing 2024-02-10 20:02:29 +03:00
Disty0 b76d9ce6a7 cleanup 2024-02-10 19:02:53 +03:00
Disty0 bb30a2d3ff Revert submodules 2024-02-10 19:00:31 +03:00
Disty0 3bb80821ab Update changelog 2024-02-10 18:55:36 +03:00
Vladimir Mandic 1c4293ad92 remove obsolete kohya lora code 2024-02-10 10:53:41 -05:00
Vladimir Mandic 304caf8c06 update cross-attention 2024-02-10 10:45:10 -05:00
Disty0 43c5be76ca Unite attention optimization settings 2024-02-10 10:32:53 -05:00
Seunghoon Lee 71caa89246
onnx fp16 vae 2024-02-11 00:08:32 +09:00
Vladimir Mandic 19e5062fa8 fix interrogate api 2024-02-10 09:13:07 -05:00
AWAS666 3c952675fe fix: wrong import to typo in deepbooru api import 2024-02-10 08:47:12 -05:00
Vladimir Mandic 8ec457c307 add allowed paths cli param 2024-02-10 08:46:17 -05:00
Vladimir Mandic bf14e6ed6d fix mask missing options and system paths 2024-02-10 08:10:24 -05:00
Seunghoon Lee 4187692852
fix onnx sdxl 2024-02-10 20:59:28 +09:00
Seunghoon Lee 235bd18516
onnx tooltip, olive-ai check 2024-02-10 20:59:04 +09:00
Seunghoon Lee cfb059c5e8
fix onnx sdxl 2024-02-10 06:03:39 +09:00
Vladimir Mandic 40feb79b11 add clip-skip notes 2024-02-09 14:29:17 -05:00
Vladimir Mandic a069a45e6a cast clipskip 2024-02-09 14:19:15 -05:00
AI-Casanova 33c8285e69 Experimental clip skip interpolation 2024-02-09 14:15:14 -05:00
Vladimir Mandic 5f6ec0872d fix typo 2024-02-09 13:42:42 -05:00
Vladimir Mandic 6297a64cda add sdxl vae load workaround 2024-02-09 13:20:04 -05:00
Vladimir Mandic e8f025f868 fix image lazy load 2024-02-09 12:44:40 -05:00
Disty0 12e49acbce OpenVINO update to torch 2.2.0 2024-02-09 18:54:44 +03:00
Vladimir Mandic 94a8f4121d xyzgrid for ipadapter 2024-02-09 10:05:02 -05:00
Vladimir Mandic 9150e9f82c handle opencv conflict 2024-02-09 09:46:52 -05:00
Vladimir Mandic 5afd4b8eb8 control unit reuse preview image, handle extensions installing conflicting packages 2024-02-09 09:41:48 -05:00
Vladimir Mandic 96d262b4ff update img2img mask math 2024-02-09 08:57:01 -05:00
Disty0 d867e7aa2d Diffusers add Dynamic Attention Slicing 2024-02-09 13:49:46 +03:00
Disty0 9a1ce4dd77 Adjust clip skip to expected range 2024-02-09 08:21:04 +03:00
Vladimir Mandic c9444c8bd9 cleanup 2024-02-08 20:06:31 -05:00
Vladimir Mandic f56d210854 update clip-skip code 2024-02-08 19:40:26 -05:00
AI-Casanova e883348089 Fix offset 2024-02-08 18:41:28 -05:00
AI-Casanova 251373afca Hijacking Compel to enable clip skip 2024-02-08 18:41:28 -05:00
Vladimir Mandic 312f391550 add theme cli arg 2024-02-08 18:23:20 -05:00
Disty0 0923a98f08 Fix diffusers clip_skip math 2024-02-09 01:48:17 +03:00
Vladimir Mandic 5b76fc3140 update notes 2024-02-08 16:46:23 -05:00
Disty0 ebdabb1673 Correction for Diffusers clip_skip math 2024-02-08 23:50:12 +03:00
Seunghoon Lee 748ed539ed
onnx tooltip, olive-ai check 2024-02-09 03:43:46 +09:00
Vladimir Mandic f3be294d53 add deep-cache support 2024-02-08 12:56:06 -05:00
Vladimir Mandic d5a4f43f43 post release jumbo update 2024-02-08 12:10:32 -05:00
Vladimir Mandic 24b4cd77a3 update benchmarks and api endpoints 2024-02-07 12:12:54 -05:00
Vladimir Mandic b5f32dea00 fix samplers 2024-02-07 08:02:36 -05:00
Vladimir Mandic 4c5e05b1b9 fix control test fonts 2024-02-07 07:48:49 -05:00
Vladimir Mandic 593dae4e24 handle huggingface model variant fallback 2024-02-06 18:08:14 -05:00
Disty0 ad47d81da7 OpenVINO fix cache and Lora loading 2024-02-06 19:18:49 +03:00
Vladimir Mandic b3f6f24ba1 cleanup 2024-02-06 10:01:15 -05:00
Vladimir Mandic bbc52fc5a6 fix lora 2024-02-06 09:02:01 -05:00
Seunghoon Lee 4bfa0a5650
cleanup 2024-02-06 19:23:59 +09:00
Seunghoon Lee 70a15defc5
add onnx initialization log 2024-02-06 18:20:23 +09:00
Seunghoon Lee cdc29fafce
check olive recompile 2024-02-06 18:14:48 +09:00
Seunghoon Lee 07726eac2e
fix olive recompile 2024-02-06 17:42:07 +09:00
Vladimir Mandic 6f0547b6f7 cleanup 2024-02-05 14:13:28 -05:00
Vladimir Mandic d74f82c025 fix batch size 2024-02-05 13:52:37 -05:00
Vladimir Mandic 3b4d59877f color grading 2024-02-05 13:40:00 -05:00
AI-Casanova b8ea66b262 Add Latent Tint 2024-02-05 12:10:38 -05:00
Vladimir Mandic 2ee0baf18c unified move-model 2024-02-05 12:00:35 -05:00
Vladimir Mandic e32220ccc1 experimental segmoe support 2024-02-05 10:38:46 -05:00
Seunghoon Lee ff2c1db1cc
fix code formatting under modules/dml 2024-02-05 22:43:10 +09:00
Vladimir Mandic ef29f1a238 fix control ipadapter inpaint 2024-02-05 08:27:35 -05:00
Seunghoon Lee 220498c652
update onnx utils. 2024-02-05 22:16:51 +09:00
Seunghoon Lee ae113cae1e
update onnx pipelines. 2024-02-05 22:11:24 +09:00
Vladimir Mandic e2e6743fbc fix masking 2024-02-04 21:15:12 -05:00
Vladimir Mandic c463edb0c1 cleanup typos 2024-02-04 13:22:01 -05:00
Vladimir Mandic a4dbdc04fb cache sampler 2024-02-04 12:36:56 -05:00
Vladimir Mandic 10f6b2cc60 fix control separate init 2024-02-04 11:53:37 -05:00
Vladimir Mandic 0a0efa3fc1 fix upscale api 2024-02-04 10:14:10 -05:00
Vladimir Mandic a93c8160d7 fix ipadapter clip switch 2024-02-04 07:53:19 -05:00
Seunghoon Lee b0553f6ccc
Add tooltips for DirectML & ONNX/Olive. 2024-02-04 14:48:48 +09:00
Disty0 36cb64eef6 OpenVINO change recompile order 2024-02-04 02:14:09 +03:00
Vladimir Mandic 139ea799d5 reorg advanced section 2024-02-03 15:03:19 -05:00
Vladimir Mandic fe687767fe simplify reference 2024-02-03 14:36:19 -05:00
Vladimir Mandic ace8c3d33d face module apply style 2024-02-03 12:41:52 -05:00
Vladimir Mandic df9b509aca controlnet fixes 2024-02-03 12:17:19 -05:00
Vladimir Mandic 2d75e37e1b fix embeddings refresh 2024-02-03 12:06:10 -05:00
Vladimir Mandic 4fa23eed29 fix t2iadapter 2024-02-03 11:31:56 -05:00
Vladimir Mandic 01d77ffbde multiple control fixes 2024-02-03 11:22:18 -05:00
Vladimir Mandic dbb79c9669 fix control 2024-02-03 09:13:50 -05:00
Vladimir Mandic 94332fe2c6 tweaks to latent corrections 2024-02-02 18:38:30 -05:00
AI-Casanova 5c9ca793e9 First Callback Commit 2024-02-02 18:38:30 -05:00
Vladimir Mandic 5463768956 prototype image2video 2024-02-02 14:35:25 -05:00
Vladimir Mandic 9acc6259bb control auto-install process depenencies 2024-02-02 10:07:15 -05:00
Vladimir Mandic 8c3e92b154 ipadapter dont cache image encoder between models 2024-02-02 08:55:37 -05:00
Vladimir Mandic 40e1e10e38 update diffusers 2024-02-02 07:51:28 -05:00
Seunghoon Lee 7c0d1d879f
onnx sdxl vae 2024-02-02 19:01:02 +09:00
Seunghoon Lee 1eaa40678a
OnnxStableDiffusionUpscalePipeline, enable hires for onnx. 2024-02-02 18:22:22 +09:00
Seunghoon Lee df7564a01f
olive fix mat1 mat2 mismatch 2024-02-02 16:17:59 +09:00
Seunghoon Lee 69599f01e5
olive do not ignore venv path 2024-02-02 14:08:02 +09:00
AI-Casanova be4534c03f
Add missing alias 2024-02-01 17:56:30 -06:00
Seunghoon Lee fcf00bd854
move initialization of onnx pipelines & create onnx folder automatically 2024-02-02 05:20:46 +09:00
Vladimir Mandic a4e1fc7b31 oliver module loader 2024-02-01 14:54:43 -05:00
Vladimir Mandic a22765274b major refactor: processing, taesd, scripts 2024-02-01 14:00:50 -05:00
Seunghoon Lee 970b8395e8
Merge branch 'dev' of https://github.com/vladmandic/automatic into dev 2024-02-02 00:33:44 +09:00
Seunghoon Lee 40653d5eaf
olive installation and initialization 2024-02-02 00:33:38 +09:00
Disty0 b4c41a7bdb IPEX hijacks dupe detect 2024-02-01 18:13:51 +03:00
Seunghoon Lee d7074e8dce
onnx/olive detailed error log 2024-02-01 23:16:53 +09:00
Seunghoon Lee 9884fa79c7
Merge branch 'dev' of https://github.com/vladmandic/automatic into dev 2024-02-01 19:01:19 +09:00
Seunghoon Lee 90b6052872
onnx python 3.9 compatability 2024-02-01 19:01:11 +09:00
Nico Schwartz 060c92c0d8 fixed pillow font scaling 2024-01-31 20:12:52 -05:00
Vladimir Mandic bc66ed1658 move save messages to info level 2024-01-31 16:28:54 -05:00
Vladimir Mandic d6885a59eb post merge cleanup 2024-01-31 16:02:29 -05:00
Seunghoon Lee 016fd03a38
overwrite orig_pipeline for onnx models 2024-02-01 02:36:42 +09:00
Seunghoon Lee f493ab8895
onnx cpu-only torch fix 2024-02-01 02:27:24 +09:00
Seunghoon Lee 8c7c510501
remove duplicated preprocess 2024-02-01 01:25:34 +09:00
Seunghoon Lee 10a8dd3248
premerge 2 2024-02-01 01:23:15 +09:00
Seunghoon Lee c26c53a9ad
premerge 1 2024-02-01 01:20:16 +09:00
Seunghoon Lee df6d6e17f5
fix 2024-02-01 01:14:01 +09:00
Seunghoon Lee 6a6d282a5d
fix 2024-02-01 01:13:25 +09:00
Seunghoon Lee 49b13b9526
Restruct ONNX-related files & change olive-ai to optional dependency. 2024-02-01 01:13:25 +09:00
Seunghoon Lee 88882a38e4
cleanup, remove torch 1.13.1 hack 2024-02-01 01:13:24 +09:00
Seunghoon Lee 192b9db5b3
cleanup 2024-02-01 01:13:24 +09:00
Seunghoon Lee 250f145bca
fix 2024-02-01 01:13:24 +09:00
Seunghoon Lee 393e36e313
cleanup 2024-02-01 01:13:24 +09:00
Seunghoon Lee 8bcd60065d
OnnxConversion pass (temp) 2024-02-01 01:13:23 +09:00
Seunghoon Lee fc465f94bc
ONNX ROCm Linux. 2024-02-01 01:13:23 +09:00
Seunghoon Lee d848958240
ONNX/Olive fix from huggingface cache 2024-02-01 01:13:23 +09:00
Seunghoon Lee ea2ac32cf2
ONNX/Olive support .safetensors VAE. 2024-02-01 01:13:23 +09:00
Seunghoon Lee 0fac69cbf5
AutoExecutionProvider 2024-02-01 01:13:22 +09:00
Seunghoon Lee d55d92bab4
Implement Olive config editor. 2024-02-01 01:13:22 +09:00
Seunghoon Lee f5a7a53dbd
olive 0.4.x support 2024-02-01 01:13:22 +09:00
Seunghoon Lee 701c6564ed
ONNX/Olive SD/SDXL Img2Img Fix.
ONNX/Olive cache management.
2024-02-01 01:13:22 +09:00
Seunghoon Lee 3fb21306f6
ONNX Stable Diffusion Inpaint WIP
ONNX Stable Diffusion XL Img2Img WIP
ONNX Stable Diffusion XL Refiner WIP
and lots of fixes.
2024-02-01 01:13:21 +09:00
Seunghoon Lee 364c3beb2e
Fix onnx model downloading & more fixes. 2024-02-01 01:13:21 +09:00
Seunghoon Lee 4e5f0d3dde
Add static dims option. 2024-02-01 01:13:21 +09:00
Seunghoon Lee 2fc7a94c7e
Add pass for QUInt8 Quantization. 2024-02-01 01:13:20 +09:00
Seunghoon Lee bdd6b2b8f7
vae override for onnx 2024-02-01 01:13:20 +09:00
Seunghoon Lee 208c877cd7
Add ui for olive 2024-02-01 01:13:20 +09:00
Seunghoon Lee 34ffba96e3
other devices 2024-02-01 01:13:20 +09:00
Seunghoon Lee 286ec8e753
Integrate Olive into compile backend. 2024-02-01 01:13:19 +09:00
Seunghoon Lee 3cad532d81
SDXL Turbo with Olive optimization.
[WIP] SDXL Refiner with Olive optimization.
2024-02-01 01:13:19 +09:00
Seunghoon Lee 7ac30fb731
minor 2024-02-01 01:13:19 +09:00
Seunghoon Lee 82523bd799
separate onnx & add pipeline for SDXL Img2Img 2024-02-01 01:13:19 +09:00
Seunghoon Lee f10b257dd9
Olive SDXL optimization. 2024-02-01 01:13:18 +09:00
Seunghoon Lee 86b56d2d2c
follow up 2024-02-01 01:13:18 +09:00
Seunghoon Lee 106a1ea68f
batch size 2024-02-01 01:13:18 +09:00
Seunghoon Lee 88faafe6de
wip: sdxl optimization 2024-02-01 01:13:18 +09:00
Seunghoon Lee 68b31782bf
update configs 2024-02-01 01:13:17 +09:00
Seunghoon Lee 9d602ea90c
load pipeline before removing temp dir 2024-02-01 01:13:17 +09:00
Seunghoon Lee 5b2f77811c
reduce memory usage (conversion/optimization) 2024-02-01 01:13:17 +09:00
Seunghoon Lee f832f62773
add onnx pipeline for inpaint 2024-02-01 01:13:17 +09:00
Seunghoon Lee d685426e5b
refactor onnx/olive 2024-02-01 01:13:16 +09:00
Seunghoon Lee cef798bf57
implement olive img2img 2024-02-01 01:13:16 +09:00
Seunghoon Lee c8814c4898
img2img wip 2024-02-01 01:13:16 +09:00
Seunghoon Lee 6507491d8f
refactor onnx and olive 2024-02-01 01:13:14 +09:00
Seunghoon Lee ba66bf7900
add sdxl configs 2024-02-01 01:13:01 +09:00
Seunghoon Lee af4302ddfa
update olive by #2429 2024-02-01 01:13:01 +09:00
Disty0 8c819df207
ONNX OpenVINO fixes 2024-02-01 01:13:00 +09:00
Seunghoon Lee 5ce83bbfc4
specify provider 2024-02-01 01:13:00 +09:00
Seunghoon Lee 84f2a9df95
make olive optional 2024-02-01 01:12:58 +09:00
Seunghoon Lee e954695b5a
fix olive not found 2024-02-01 01:12:12 +09:00
Seunghoon Lee 204d9b7738
vae channels last 2024-02-01 01:12:12 +09:00
Seunghoon Lee f154c7824a
directly load submodels 2024-02-01 01:12:11 +09:00
Seunghoon Lee 583116e66e
fix cached model pipeline 2024-02-01 01:12:11 +09:00
Seunghoon Lee ae5e40785e
fix ep option save 2024-02-01 01:12:11 +09:00
Seunghoon Lee 18e2579842
update footprint filename of cpuep 2024-02-01 01:12:10 +09:00
Seunghoon Lee 98ee5848f2
customizable execution provider. 2024-02-01 01:12:10 +09:00
Seunghoon Lee b7cfd09d50
add optimization on gpu 2024-02-01 01:12:10 +09:00
Disty0 150c3ad078
Use get_raw_openvino_device with ONNX 2024-02-01 01:12:10 +09:00
Seunghoon Lee fd2c1e2546
add onnxruntime-openvino support. 2024-02-01 01:12:09 +09:00
Seunghoon Lee df021b3982
support more backends 2024-02-01 01:12:09 +09:00
Seunghoon Lee b22d5521b7
optimized model downloading 2024-02-01 01:12:08 +09:00
Seunghoon Lee f22bc3f53c
remove optimize error log 2024-02-01 01:12:08 +09:00
Seunghoon Lee ff6acb4e3f
olive_cache_optimized 2024-02-01 01:12:08 +09:00
Seunghoon Lee b7cce01222
cleanup 2024-02-01 01:12:08 +09:00
Seunghoon Lee def8a30017
Initial Olive implementation. 2024-02-01 01:12:07 +09:00
Vladimir Mandic 21516c3ba3 cleanup 2024-01-31 10:29:11 -05:00
Vladimir Mandic f7842d959e fix typo 2024-01-31 10:29:01 -05:00
Vladimir Mandic 778f54e7c7 remove dependency on diffusers dev 2024-01-31 10:27:15 -05:00
Vladimir Mandic 09d1f1e788 add sa solver and prototype instaflow 2024-01-31 09:51:34 -05:00
Vladimir Mandic b1ccadf793 quickfix ipadapter 2024-01-30 19:05:18 -05:00
Vladimir Mandic ccc38dde95 fix ipadapter unload/reapply and use in control 2024-01-30 17:02:31 -05:00
Vladimir Mandic 8f1f538bc9 add api compatibility layer for civitai 2024-01-30 16:19:03 -05:00
Vladimir Mandic d0ff929fd2 update api compatibility 2024-01-30 14:17:32 -05:00
Vladimir Mandic 1c40ebf32b restore pipe at the end of ops 2024-01-30 13:37:32 -05:00
Vladimir Mandic 5faa144a29 fix imports 2024-01-30 13:03:47 -05:00
Vladimir Mandic 413d58fb8f fix sag 2024-01-30 12:28:47 -05:00
Vladimir Mandic 3baff5906b control enable image drag, prompt parse, add metadata 2024-01-30 11:26:34 -05:00
Enes Sadık Özbek 9dc5fe43c5 fix ValueError on api img gen when face script is enabled 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek c1257213e4 fix face script error when images are base64 strings 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 625d29d4fa Fix face script not showing up unless experimental 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 44a0429727 Fix get_scripts_list 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek a76647c806 Fix referencing old faceid model in api models 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 80bd17dc76 Update API for latest face module 2024-01-30 09:35:29 -05:00
Vladimir Mandic ca51bfeb3e control units mixing 2024-01-30 09:27:20 -05:00
Vladimir Mandic 20b5d952c9 add ipadapter unapply and switch_pipe cross-family 2024-01-30 08:02:48 -05:00
Disty0 076e16c82e IPEX fix mixture tiling 2024-01-30 01:40:35 +03:00
Vladimir Mandic 09c702013c add mixture tiling 2024-01-29 14:39:23 -05:00
Vladimir Mandic 3b09027c67 cleanup 2024-01-29 14:06:54 -05:00
Vladimir Mandic 6c75539b0b fix api image to bas64 2024-01-29 13:42:39 -05:00
Vladimir Mandic b949c042b5 fix using sd15 model as refiner in second pass 2024-01-29 13:18:03 -05:00
Vladimir Mandic 325b9eb652 add live preview thread lock 2024-01-29 13:02:56 -05:00
Vladimir Mandic f74637e813 control process override improvements 2024-01-29 12:58:50 -05:00
Disty0 b13d40d52c Diffusers lock preview latent range 2024-01-29 20:26:55 +03:00
Vladimir Mandic 7fa01204b4 fix control multi-unit 2024-01-29 11:35:36 -05:00
Vladimir Mandic 79eef747b3 unblock controlnet 2024-01-29 10:59:16 -05:00
Vladimir Mandic f04fa75eae add on_after_ui callback 2024-01-29 10:10:10 -05:00
Vladimir Mandic f45655f077 civitai enable embedding download 2024-01-29 09:55:16 -05:00
Vladimir Mandic 682da607a9 improve live preview 2024-01-29 08:53:48 -05:00
Vladimir Mandic 753bfebe1c fix img2img batch 2024-01-29 08:34:36 -05:00
Vladimir Mandic 157ddd2ad2 update requirements 2024-01-29 07:53:38 -05:00
brknsoul 2d32add1a0 Update shared.py
Changing Settings Category from "Control" to "Control Options"
(tooltip conflict resolution)
2024-01-29 07:52:22 -05:00
brknsoul 6d2924f713 Update shared.py
Changing settings category name from "User Interface" to "User Interface Options"
2024-01-29 07:52:22 -05:00
Vladimir Mandic c6f6c80da8 dynamic pipelines 2024-01-28 17:10:51 -05:00
Vladimir Mandic 1fe544a053 improve control enums 2024-01-28 10:36:14 -05:00
Vladimir Mandic b79d8ea6c3 cleanup api model defs 2024-01-28 10:25:26 -05:00
Vladimir Mandic 7e447222a1 refactor api 2024-01-28 10:13:09 -05:00
AI-Casanova dc70246c78 cleanup corrections 2024-01-28 07:46:20 -05:00
Disty0 4b30d6aeb7 IPEX improve autocast hijack 2024-01-28 02:20:43 +03:00
Vladimir Mandic ebdc2144a8 add embedding convert notes 2024-01-27 15:39:54 -05:00
AI-Casanova a614170f50 cleanup 2024-01-27 15:24:16 -05:00
AI-Casanova 5c78268e28 Add Auto-conversion of SD 1.5 Embeddings to SDXL 2024-01-27 15:24:16 -05:00
Vladimir Mandic 40853631c7 fix face model caching 2024-01-27 15:19:25 -05:00
Disty0 d6c4f6072e Cleanup IPEX Optimize 2024-01-27 21:16:05 +03:00
Disty0 d92f85474d OpenVINO reverse NNCF order 2024-01-27 18:33:41 +03:00
Disty0 426aed55bc Cleanup 2024-01-27 17:45:31 +03:00
Vladimir Mandic 640b8279bf add hf token to settings 2024-01-27 09:28:53 -05:00
Vladimir Mandic 389f86dc5f fix model variant 2024-01-27 09:10:21 -05:00
Vladimir Mandic ffee8d65af fix unidiffuser 2024-01-27 08:56:45 -05:00
Vladimir Mandic e6a1946e06 fix blipdiffusion 2024-01-27 08:53:17 -05:00
Vladimir Mandic 0bfb17ba72 implement complete face module 2024-01-27 08:07:34 -05:00
Disty0 dbe4d2ff70 Cleanup upscalers 2024-01-27 02:54:39 +03:00
AI-Casanova 1440e07f02 Fix TI loading from legacy formats 2024-01-26 15:58:06 -05:00
Vladimir Mandic e924cc9ecd make control interrogate more flexible 2024-01-25 16:38:28 -05:00
Vladimir Mandic f281109172 fix default sampler 2024-01-25 16:18:15 -05:00
Vladimir Mandic 8fd081ad06 add SD_CONFIG_DEBUG 2024-01-25 12:37:08 -05:00
Disty0 db6fd95351 OpenVINO Quantization support with NNCF 2024-01-25 20:22:57 +03:00
Vladimir Mandic d1bb51eee0 enable lama offloading 2024-01-25 12:08:45 -05:00
Vladimir Mandic 7aa6876759 refactor all control processors to support unload and offload 2024-01-25 11:45:47 -05:00
Vladimir Mandic c19f95141a ipadapter interop 2024-01-25 09:29:11 -05:00
Vladimir Mandic 3f332242a1 explicit define mimetypes 2024-01-25 08:30:57 -05:00
Vladimir Mandic 06081f62c7 fix img2img with non-standard aspect ratio 2024-01-25 08:20:01 -05:00
AI-Casanova 30093594ed Fix Pruning 2024-01-25 07:48:42 -05:00
Vladimir Mandic dad7fe7dcf autodetect fallback by name 2024-01-24 11:37:55 -05:00
Vladimir Mandic f09725956d expand sdxl autodetect range 2024-01-24 09:48:07 -05:00
Vladimir Mandic 7e88fe83e6 update install-sf 2024-01-24 09:40:26 -05:00
Vladimir Mandic 9ef930bca6 cleanup 2024-01-24 07:18:27 -05:00
Vladimir Mandic b15e13a11c opportunistic locking 2024-01-24 07:14:28 -05:00
Vladimir Mandic 867f10d946 vae approx cast 2024-01-23 19:12:02 -05:00
Vladimir Mandic abc991aec1 add compat layer for wrap_queued_call 2024-01-23 17:29:09 -05:00
Vladimir Mandic edf1dc68f4 add depth-anything controlnet 2024-01-23 14:15:07 -05:00
Vladimir Mandic f83f4edb0b add depth_anywhere processor 2024-01-23 13:21:12 -05:00
Vladimir Mandic 6f2ad1485a update k-diffusion 2024-01-23 09:42:58 -05:00
Disty0 60671b0479 IPEX fix SegmentAnything 2024-01-23 17:28:11 +03:00
Vladimir Mandic 36578d61c2 fix mask invert 2024-01-23 08:37:30 -05:00
Disty0 d6083eca3b IPEX hijack cuda.is_built 2024-01-23 11:10:35 +03:00
Vladimir Mandic 14aac11e6c minor fixes 2024-01-22 14:17:56 -05:00
Vladimir Mandic d9ffb12520 enable diffusers by default and disable move/offload by default 2024-01-21 11:18:17 -05:00
Vladimir Mandic 23a65de846 tweak theme and increse image sizes 2024-01-21 11:14:17 -05:00
Vladimir Mandic ddae9872a4 add simple-dark and simple-light themes 2024-01-21 09:37:45 -05:00
Vladimir Mandic f2b99d61f6 fix update commit info 2024-01-21 08:58:08 -05:00
Vladimir Mandic 3f8fa36a0c fix en display 2024-01-21 08:49:04 -05:00
Vladimir Mandic 927ad16c05 add lama to control masking options 2024-01-20 15:43:38 -05:00
Vladimir Mandic b2d38ae920 update icons/hints 2024-01-20 13:51:19 -05:00
Vladimir Mandic 2c0b3ac4b3 add additional controlnets 2024-01-20 13:36:39 -05:00
Vladimir Mandic dc67fc97af autodownload yaml with safetensors if present 2024-01-20 12:18:49 -05:00
Vladimir Mandic ced3b2e3a5 control add inpaint masked only 2024-01-20 11:34:22 -05:00
Vladimir Mandic ddecb8f240 control implement image measure 2024-01-20 08:12:31 -05:00
Vladimir Mandic 71654cee9c fix styles refresh 2024-01-20 07:48:20 -05:00
Vladimir Mandic 952edd29b2 remove custom gr components 2024-01-20 07:43:16 -05:00
Vladimir Mandic f6ac307a4e expand use of no-metadata 2024-01-19 20:23:01 -05:00
Vladimir Mandic 7e2db45d76 fix generator 2024-01-19 14:37:57 -05:00
Vladimir Mandic c4b26c9791 add self-attention-guidance 2024-01-19 14:03:51 -05:00
Vladimir Mandic 7c8d035edb better en preview matching and optimize caching 2024-01-19 13:50:23 -05:00
AI-Casanova 79343d460a Fix rebasin iterations 2024-01-19 11:50:31 -06:00
Vladimir Mandic c7c9a82e07 add option to load model direct to gpu 2024-01-18 12:04:20 -05:00
AI-Casanova 997644776c Fix TI Loading 2024-01-18 08:26:39 -05:00
Vladimir Mandic b2cbc45dc3 guard against null 2024-01-17 18:02:30 -05:00
Vladimir Mandic 2ec03021dc cleanup logging 2024-01-17 16:04:36 -05:00
Vladimir Mandic 35c66d7ac9 flexible processour output type 2024-01-17 15:54:50 -05:00
Vladimir Mandic 1090740e57 remove warning on empty extension list 2024-01-17 12:18:44 -05:00
Vladimir Mandic 16eaeeb766 cleanup startup 2024-01-17 12:15:07 -05:00
Vladimir Mandic f10a478c82 fix find preview 2024-01-17 11:44:52 -05:00
Steve 1f03f1a4ce
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 10:35:13 -05:00
Vladimir Mandic 6e69771981 add batch embedding load 2024-01-17 10:33:07 -05:00
Midcoastal a901c5108f
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 10:29:35 -05:00
Vladimir Mandic 78722065e3 add batch embedding load 2024-01-17 10:28:05 -05:00
Vladimir Mandic 59dd5d0767 reduce default font size 2024-01-17 10:20:23 -05:00
Midcoastal 8c118adfc9
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 09:33:26 -05:00
Vladimir Mandic 930ee6c412
Merge branch 'dev' into Issue2339/EmbeddingLoad 2024-01-17 09:12:25 -05:00
NetroScript 548d55bd6f Extra Network Search: Add special syntax: `|`, `-`, `r#` 2024-01-17 09:04:01 -05:00
NetroScript 4d93a78c10 Improve Extra Networks Search, by optionally allowing regex search 2024-01-17 09:04:01 -05:00
Vladimir Mandic 3192c50241 fix mask return type 2024-01-17 09:00:37 -05:00
Enes Sadık Özbek 8805a12caa
Fix FaceID API not working because of wrong type 2024-01-17 02:05:01 +03:00
Vladimir Mandic 084bd77abe add photomerge 2024-01-16 16:36:06 -05:00
Enes Sadık Özbek fd07c6eda8
Update ranges of FaceID API parameters 2024-01-16 23:39:29 +03:00
Vladimir Mandic 94fc37695d
Merge pull request #2726 from Trojaner/api/ipadapters
Add FaceID mode API parameter
2024-01-16 15:25:57 -05:00
Enes Sadık Özbek 704d5300de
Add FaceID mode API parameter 2024-01-16 23:23:34 +03:00
Vladimir Mandic a48f0e3e52 fix faceid image save 2024-01-16 13:57:08 -05:00
Vladimir Mandic b1fa002ea7 control mask: add auto-mask and auto-segment and support for algo masking and rembg masking 2024-01-16 13:12:46 -05:00
Vladimir Mandic 18087f1d14 cleanup todo items 2024-01-16 13:12:46 -05:00
Midcoastal 177fcdff7c
Made some boo-boos doing the Ruff-thing 2024-01-15 18:55:25 -05:00
Midcoastal ef365052c6
Merge branch 'dev' into Issue2339/EmbeddingLoad 2024-01-15 18:54:55 -05:00
Vladimir Mandic e369ddf6e4 add sampler options to metadata 2024-01-15 17:31:10 -05:00
Vladimir Mandic 9a84e0f129 add faceswap 2024-01-15 13:56:29 -05:00
Vladimir Mandic 15b4bad80a refactor control to use new masking 2024-01-15 12:11:55 -05:00