Commit Graph

4896 Commits (738f115d06830ea1ea1ae6d30c0af2bf50fc0161)

Author SHA1 Message Date
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
Vladimir Mandic 886e74bbb3
Merge pull request #2719 from vladmandic/master
refresh dev
2024-01-15 06:43:17 -05:00
Midcoastal 94270243b4
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-14 19:54:50 -05:00
Midcoastal ca830811a1
Cleanup
- Remove some unneeded comments
- Explode a few return generators (I should really do the other two, but I think I am going to refactor them later instead)
2024-01-14 19:39:17 -05:00
Midcoastal 86212a52d6
Cleanup, Ruff, Pylint 2024-01-14 18:49:07 -05:00
Midcoastal 6b037cc239
Cleanup, Ruff, Pylint 2024-01-14 18:08:16 -05:00
AI-Casanova ed9d3d93cc
Fix Long Prompts
`extend` to `repeat`

Extend only works on singleton dimensions, mia culpa.
2024-01-14 15:09:31 -06:00
Vladimir Mandic c39a76dce3 new control mask module 2024-01-14 13:35:53 -05:00
Vladimir Mandic 4cef19892e segment prototype 2024-01-13 21:20:33 -05:00
Vladimir Mandic f41e9465f6
Merge pull request #2713 from AI-Casanova/dif-prompt-cleanup
cleanup
2024-01-13 19:38:18 -05:00
Vladimir Mandic a163d1896b segment prototype 2024-01-13 19:35:50 -05:00
Vladimir Mandic 615f539a4e add control glpn depth processor 2024-01-13 19:35:50 -05:00
Disty0 c6d78d2b34 Cleanup 2024-01-14 03:21:48 +03:00
AI-Casanova b10ea42506 Fix Early Out 2024-01-13 16:23:22 -06:00
AI-Casanova 904ee42437
Merge branch 'dev' into dif-prompt-cleanup 2024-01-13 15:09:16 -06:00
AI-Casanova cc2e3e058b Fix Scheduling 2024-01-13 15:07:32 -06:00
jeong jinmyeong 8f4429df8e solve conflicting ui labels in hdr
conflicting ui label caused loading from ui_config.json duplicate, and I wanted to solve that.
2024-01-14 05:38:17 +09:00
jeong jinmyeong 4695367a58 bug fix in hdr generation parameter writing 2024-01-14 05:37:58 +09:00
Disty0 e395f3101f IPEX disable 1024x1024 workaround if the GPU supports 64 bit 2024-01-13 21:56:33 +03:00
Disty0 e1ce071467 IPEX add IPEX_FORCE_ATTENTION_SLICE env variable 2024-01-13 21:47:16 +03:00
AI-Casanova 1edecc2389 cleanup 2024-01-13 11:48:58 -06:00
Vladimir Mandic d4752f46ec add control dpt processor 2024-01-13 10:48:31 -05:00
Vladimir Mandic cda5d17b8a rearrange mask ui 2024-01-13 09:30:37 -05:00
Vladimir Mandic 560e5a86e3 handle en tags with same names as en itself 2024-01-13 08:44:30 -05:00
Zxilly 4afb41a6f2
fix: the civitai button can not be clicked 2024-01-13 15:55:49 +08:00
Disty0 c487c2d147 Compile support for models with transformers instead of unet 2024-01-13 01:35:37 +03:00
Disty0 d4ca4acd7d Unify settings 2024-01-13 00:44:03 +03:00
Vladimir Mandic 011bac41df jumbo commit see changelog for details 2024-01-12 15:00:02 -05:00
Vladimir Mandic 8b2e06147f add disable_accelerate option 2024-01-11 13:39:44 -05:00
Vladimir Mandic 2ec5e9d136 remove eol cmdflag no-download 2024-01-11 12:39:06 -05:00
Vladimir Mandic d35f189c41 add 401 to short exception list 2024-01-11 12:28:50 -05:00
Vladimir Mandic 3eebfa5e28 update sdnext via ui 2024-01-11 11:06:15 -05:00
Vladimir Mandic ddef248594 add img2img_extra_noise for backend original 2024-01-11 08:04:10 -05:00
Disty0 d0b44a29b8 Cleanup OpenVINO and NNCF 2024-01-11 14:48:09 +03:00
Disty0 3820cb98ed Cleanup lora model state with NNCF and OpenVINO 2024-01-11 01:04:54 +03:00
Vladimir Mandic 79d4c50e7e fix process batch filenames 2024-01-10 12:54:29 -05:00
Vladimir Mandic d73001f1a9 enable swtiching built-in themes on-the-fly 2024-01-10 11:58:09 -05:00
Midcoastal 14a5378ed3
Merge branch 'dev' into Issue2339/EmbeddingLoad 2024-01-10 11:48:29 -05:00
Vladimir Mandic 204853afea global crlf to lf 2024-01-10 09:45:26 -05:00
AI-Casanova 5aafe1ece2 Refactor cache
Disable double-load
2024-01-09 22:52:48 -06:00
Disty0 3352be21a6 NNCF compress Text Encoder and Lora support 2024-01-10 02:10:52 +03:00
Vladimir Mandic 23a4e6ee06 cleanup server settings 2024-01-09 14:51:21 -05:00
Vladimir Mandic 9eb56919df simplify backend select/lookups 2024-01-09 09:49:17 -05:00
Disty0 42845b344c Cleanup 2024-01-09 16:07:43 +03:00
Vladimir Mandic b206612069 fix processor switch 2024-01-09 07:53:37 -05:00
Vladimir Mandic 3a79d502b6
Merge pull request #2697 from Trojaner/api/ipadapters
Update FaceID api params
2024-01-09 07:32:41 -05:00
Enes Sadık Özbek 9d2446f359
Fix model descriptions for FaceID 2024-01-08 22:47:19 +03:00
Enes Sadık Özbek f1b6971f7e
Update FaceID api params 2024-01-08 22:45:16 +03:00
Vladimir Mandic fcdc53addc lazy load imports 2024-01-08 12:51:12 -05:00
Disty0 6fbb9ad7f3 IPEX fix lock-ups at very high resolutions 2024-01-08 20:31:54 +03:00
Vladimir Mandic c55bdffe02 reduce imports and do not load ldm in diffusers 2024-01-08 12:11:38 -05:00
Vladimir Mandic cdf972c8c4 fix styles 2024-01-08 10:51:42 -05:00
Midcoastal 157772c8b9
Merge branch 'dev' of https://github.com/vladmandic/automatic into Dev/DirectoryCacheing 2024-01-08 10:18:54 -05:00
Disty0 0f829b2d04 Make OpenVINO compatible with IPEX venv 2024-01-08 03:00:18 +03:00
Disty0 8f70b7d08c Add DISABLE_VENV_LIBS env variable 2024-01-08 02:04:55 +03:00
Vladimir Mandic 44cc574903 refactor blip/booru interrogate 2024-01-07 17:57:58 -05:00
Vladimir Mandic d2940a05d1 fix folder enum and refactor control ipadapter 2024-01-07 17:57:58 -05:00
Vladimir Mandic 119424399f controle module enable scripts and extensions 2024-01-07 17:55:00 -05:00
Vladimir Mandic 52d19637d8 fix progress api 2024-01-07 17:55:00 -05:00
Vladimir Mandic 13b295f525 enable global font size config via ui 2024-01-07 17:55:00 -05:00
Enes Sadık Özbek d93485a908
Potential None error fix in prepare_img_gen_request 2024-01-07 22:59:16 +03:00
Enes Sadık Özbek 96dbd230dc
Fix dict related errors in img gen API 2024-01-07 22:54:03 +03:00
Enes Sadık Özbek 9670f1d801
Args might not be always strings 2024-01-07 18:05:11 +03:00
Enes Sadık Özbek dd37e7b973
Fix length control for request args 2024-01-07 18:04:49 +03:00
Enes Sadık Özbek 43c2af7765
Merge branch 'dev' into api/ipadapters 2024-01-07 18:01:29 +03:00
Enes Sadık Özbek 8e5f64060d
Implement generic sanitization of script args in requests 2024-01-07 18:00:44 +03:00
Midcoastal fcf4aac08b
Merge branch 'dev' of https://github.com/vladmandic/automatic into Dev/DirectoryCacheing 2024-01-06 22:14:23 -05:00
Midcoastal f90f23bcc2
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-06 22:12:24 -05:00
Vladimir Mandic f03994c44f control module hires 2024-01-06 17:00:21 -05:00
Vladimir Mandic de80b74c64 uniform listdir and use threadpool to index loras 2024-01-06 15:15:23 -05:00
Vladimir Mandic dd7e3e93c4 control add override image preview 2024-01-06 12:56:36 -05:00
Vladimir Mandic dab9087069 full faceid and updated ipadapter 2024-01-06 11:52:56 -05:00
Midcoastal 08ecb7dbbd
Embeddings Load Refactor
Allow loading Embeddings in batches, as opposed to 1 at a time.

Loading 1 at a time (as before) causes repeated Trie rebuilds, which is expensive.
2024-01-06 09:09:00 -05:00
Disty0 746fd1dfaa IPEX add wraps to hijacks 2024-01-06 15:58:14 +03:00
Disty0 f6d804ac45 Cleanup 2024-01-06 13:26:31 +03:00
Disty0 943059170a Cleanup 2024-01-06 01:39:54 +03:00
Disty0 f3cebcb9dd OpenVINO add experimental support for Text Encoder compiling 2024-01-06 01:37:04 +03:00
Midcoastal cd18d29511
In-Memory Directory/File Cache 2024-01-05 16:55:01 -05:00
Disty0 3b14e1e70e OpenVINO fix cache loading 2024-01-05 22:43:15 +03:00
Disty0 c4d419b715 Cleanup 2024-01-05 20:58:39 +03:00
Disty0 2190788769 OpenVINO convert unused weight to FakeTensors 2024-01-05 20:41:33 +03:00
Vladimir Mandic 99c2a9fec7 add note 2024-01-05 12:08:28 -05:00
Vladimir Mandic 9fe8a827b2 refactor modeldata 2024-01-05 12:00:22 -05:00
Vladimir Mandic 025a60bede control add latent upscale 2024-01-05 09:26:14 -05:00
Vladimir Mandic 0b7bba2e70 add openpose-xl 2024-01-05 07:39:44 -05:00
Disty0 69ddc42993 OpenVINO fix 4bit VAE after a resolution change 2024-01-05 14:09:30 +03:00
Disty0 178773a43a Cleanup 2024-01-05 12:06:17 +03:00
Disty0 6522c03667 OpenVINO 4 bit support for CPUs 2024-01-05 11:54:46 +03:00
Vladimir Mandic 59fb0fbc3e blend allow size mismatch 2024-01-04 20:42:03 -05:00
Vladimir Mandic 1c8d604143 control better pipeline detection 2024-01-04 20:36:32 -05:00
Disty0 e94cc76465
Merge pull request #2680 from KerfuffleV2/fix-ipex-autocast
fix: missing parenthesis in IPEX autocast
2024-01-05 02:35:19 +03:00
Vladimir Mandic 43d68ca784 refactor img2img processing 2024-01-04 14:46:11 -05:00
Vladimir Mandic 9a96477111 optimize json parsing and extension register 2024-01-04 12:17:33 -05:00
Vladimir Mandic b36208234f fix ui dummy comp 2024-01-04 08:58:54 -05:00
KerfuffleV2 324e728bba fix: missing parenthesis in ipex autocast 2024-01-04 00:30:31 -07:00
Vladimir Mandic c60da70474 sag prototype and allow xyz continue on error 2024-01-03 17:36:45 -05:00
Vladimir Mandic 7ef6efd41c fully modularize ui.py 2024-01-03 16:28:10 -05:00
Vladimir Mandic f36a29ac68 lint updates 2024-01-03 10:48:34 -05:00
Vladimir Mandic 17b30a320e enable batched taesd 2024-01-03 10:38:30 -05:00
Vladimir Mandic a8c779a54d cleanup 2024-01-02 15:22:32 -05:00
Vladimir Mandic 8beb27ec1b add outpaint 2024-01-02 15:17:24 -05:00
Disty0 d7f4043093 OpenVINO use the last device on the device list instead of CPU 2024-01-02 21:03:56 +03:00
Disty0 068f0a7d71 Return CPU device with OpenVINO on MAC 2024-01-02 20:20:36 +03:00
Vladimir Mandic 3881f51fde fix img2img sampler selection 2024-01-02 10:30:38 -05:00
Vladimir Mandic f7cd47d96f add fused projections 2024-01-02 09:41:15 -05:00
Vladimir Mandic dc9778b701 rename latent sampler 2024-01-02 08:14:56 -05:00
Disty0 547e7dfb0a Cleanup 2024-01-02 11:52:26 +03:00
Disty0 0e7e42abd8 Update changelog 2024-01-02 11:44:14 +03:00
Vladimir Mandic 6195ce170b control add inpaint 2024-01-01 17:35:23 -05:00
Disty0 4107baddaf IPEX get rid of CondFunc 2023-12-31 21:52:40 +03:00
Disty0 f842d0a325 IPEX remove 2.0 and below hijacks 2023-12-31 21:19:14 +03:00
Vladimir Mandic 70bfe4ced8 enable gc on ram threshold 2023-12-31 08:15:22 -05:00
Disty0 d1e4d555b9 Cleanup 2023-12-31 15:52:00 +03:00
Disty0 ba168390de IPEX slice Diffusers AttnProcessor V1 2023-12-31 15:36:54 +03:00
Disty0 db8b9650c9 IPEX de-CondFunc torch.nn.functional 2023-12-31 03:39:00 +03:00
Vladimir Mandic 8126018b00 add marigold depth maps 2023-12-30 17:49:07 -05:00
Enes Sadık Özbek 6077bd01df
Fix API docs typo 2023-12-31 01:00:17 +03:00
Enes Sadık Özbek 88a86b901f
Add ip_adapter and face_id fields for txt2img/ímg2img APIs 2023-12-31 00:49:41 +03:00
Vladimir Mandic 41a4d63aaf update hypertile 2023-12-30 16:06:41 -05:00
Enes Sadık Özbek 89884e0051
Log all HTTP exception in debug mode 2023-12-31 00:02:33 +03:00
Vladimir Mandic ec5abc56f5 update notes 2023-12-30 13:59:22 -05:00
Vladimir Mandic 795865e4f5 control auto-refresh models 2023-12-30 13:59:22 -05:00
Vladimir Mandic c94d8ee4f2 hypertile autodetect optimal value 2023-12-30 13:59:22 -05:00
Vladimir Mandic c8b67d3197 add non-git mode 2023-12-30 13:59:22 -05:00
Vladimir Mandic 84ab19b8a5 separate control output folder 2023-12-30 13:59:22 -05:00
Vladimir Mandic 4c4429c5b4 control fix input size and image mode 2023-12-30 13:59:22 -05:00
Vladimir Mandic d3413c34a6 verify sampler index before use 2023-12-30 13:59:22 -05:00
Vladimir Mandic 176b341bdf fix img2img interrogate 2023-12-30 13:59:22 -05:00
Disty0 ab7b78ccf4 IPEX fix torch.load 2023-12-30 17:07:04 +03:00
Disty0 bc79cbc2fd OpenVINO fix INT8 2023-12-30 12:21:54 +03:00