Commit Graph

4896 Commits (738f115d06830ea1ea1ae6d30c0af2bf50fc0161)

Author SHA1 Message Date
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