Commit Graph

4666 Commits (ef909cd003f7dd8a8a5379a724e7d46e23d80ffa)

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