Commit Graph

418 Commits (3261e2eeae06ff72085e7da510a519d3835b4def)

Author SHA1 Message Date
Disty0 5b444c39d7 Wuerstchen V3 fixes and custom model support 2024-04-25 23:13:08 +03:00
Vladimir Mandic 5914f1e00d add hidiffusion 2024-04-24 10:48:47 -04:00
Vladimir Mandic f2610c3936 ip adapter masking 2024-04-18 12:43:51 -04:00
Vladimir Mandic 77909a103a fix control with adetailer 2024-04-17 08:55:16 -04:00
Llewellyn Pritchard 9d2d3b6d6e Fix noise sampler seeds for SDE 2024-04-17 08:26:04 +02:00
Vladimir Mandic ed037bb48c error handling on incompatible batch-sizes 2024-04-09 14:45:49 -04:00
Vladimir Mandic d0e35a7a6b fix control batch and hires 2024-03-17 14:53:15 -04:00
Vladimir Mandic c7a8d10df8 inpaint mask checks 2024-03-15 09:56:43 -04:00
Vladimir Mandic 80445a6b23 add ledits pipeline 2024-03-13 14:52:28 -04:00
Vladimir Mandic 50b09082a9 update svd 2024-03-13 09:18:07 -04:00
Vladimir Mandic 8620ba5310 fix control final resize 2024-03-10 13:58:21 -04:00
Vladimir Mandic 0f7bb8a1f4 add facehires 2024-03-10 13:17:13 -04:00
Vladimir Mandic 6847d0de19 fix hires with control 2024-03-09 09:30:20 -05:00
Vladimir Mandic fc6f891b7a check for sfast with sag 2024-03-09 08:50:28 -05:00
Vladimir Mandic e46c5d2995 control refine/secondpass/hires 2024-03-08 10:44:21 -05:00
Vladimir Mandic a8e11146be
Merge pull request #2939 from AI-Casanova/composable-lora
Composable LoRA
2024-03-06 13:03:24 -05:00
Vladimir Mandic b75d84da37 update sc revisions 2024-03-06 12:08:19 -05:00
AI-Casanova 8aef6e6052 Cleanup console spam 2024-03-05 17:53:22 -06:00
Vladimir Mandic f58f3e6779 fix control init image and offloading 2024-03-05 16:00:30 -05:00
Vladimir Mandic 1b44a16a4e merge process and interrogate, add exif handler 2024-03-03 13:36:10 -05:00
AI-Casanova 2da60f8628 Composable LoRA 2024-03-02 17:52:08 -06:00
Vladimir Mandic 558463aeaf validate and fix all refiner workflows 2024-03-02 10:01:22 -05:00
Vladimir Mandic 4b911ea822 add support for json configs per model component 2024-02-28 15:12:05 -05:00
Vladimir Mandic d179d8b668 update second pass behavior 2024-02-27 09:15:27 -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 17f2f8d98f add include mask in output, improve model offload compatibility 2024-02-24 11:06:14 -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 02394356e7 add differential diffusion 2024-02-20 10:06:42 -05:00
Vladimir Mandic 456af9abdb refactor compile out of processing 2024-02-19 18:05:25 -05:00
AI-Casanova 50beb2157d Diffusers subseeds 2024-02-18 07:02:23 -05:00
Vladimir Mandic 5f39f80075 add callback tracing 2024-02-17 08:50:36 -05:00
Disty0 e631fd85e2 Stable Cascade previewer and fixes 2024-02-15 18:50:54 +03: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 635c071510 fix ipadapter check 2024-02-13 21:24:19 -05:00
Vladimir Mandic c16cd2eeec handle dict as pipeline result 2024-02-13 15:10:21 -05:00
Disty0 5fe82c422f Fix model archs with no VAE 2024-02-13 21:48:11 +03:00
AI-Casanova 3d9e5465d1 Finish TODO fix script 2024-02-12 22:50:37 -06:00
AI-Casanova 7021ffb540 Add UI controls 2024-02-11 22:13:11 -06:00
AI-Casanova fa833a5221 Draft: XYZ only 2024-02-10 19:06:52 -06: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
Disty0 0923a98f08 Fix diffusers clip_skip math 2024-02-09 01:48:17 +03:00
Disty0 ebdabb1673 Correction for Diffusers clip_skip math 2024-02-08 23:50:12 +03:00
Vladimir Mandic d5a4f43f43 post release jumbo update 2024-02-08 12:10:32 -05:00
Disty0 ad47d81da7 OpenVINO fix cache and Lora loading 2024-02-06 19:18:49 +03: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 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
Vladimir Mandic e2e6743fbc fix masking 2024-02-04 21:15:12 -05:00
Vladimir Mandic a4dbdc04fb cache sampler 2024-02-04 12:36:56 -05:00
Disty0 36cb64eef6 OpenVINO change recompile order 2024-02-04 02:14:09 +03:00
Vladimir Mandic 01d77ffbde multiple control fixes 2024-02-03 11:22:18 -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
Seunghoon Lee 1eaa40678a
OnnxStableDiffusionUpscalePipeline, enable hires for onnx. 2024-02-02 18:22:22 +09:00
Vladimir Mandic a22765274b major refactor: processing, taesd, scripts 2024-02-01 14:00:50 -05:00
Seunghoon Lee 016fd03a38
overwrite orig_pipeline for onnx models 2024-02-01 02:36:42 +09:00
Seunghoon Lee 8c7c510501
remove duplicated preprocess 2024-02-01 01:25:34 +09:00
Seunghoon Lee c26c53a9ad
premerge 1 2024-02-01 01:20:16 +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 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 4e5f0d3dde
Add static dims option. 2024-02-01 01:13:21 +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 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 6507491d8f
refactor onnx and olive 2024-02-01 01:13:14 +09:00
Seunghoon Lee def8a30017
Initial Olive implementation. 2024-02-01 01:12:07 +09:00
Vladimir Mandic 09d1f1e788 add sa solver and prototype instaflow 2024-01-31 09:51:34 -05:00
Vladimir Mandic 1c40ebf32b restore pipe at the end of ops 2024-01-30 13:37:32 -05:00
Vladimir Mandic 413d58fb8f fix sag 2024-01-30 12:28:47 -05:00
Vladimir Mandic b949c042b5 fix using sd15 model as refiner in second pass 2024-01-29 13:18:03 -05:00
Vladimir Mandic c6f6c80da8 dynamic pipelines 2024-01-28 17:10:51 -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
Vladimir Mandic ced3b2e3a5 control add inpaint masked only 2024-01-20 11:34:22 -05:00
Vladimir Mandic c4b26c9791 add self-attention-guidance 2024-01-19 14:03:51 -05:00
Vladimir Mandic 3192c50241 fix mask return type 2024-01-17 09:00:37 -05:00
Vladimir Mandic e369ddf6e4 add sampler options to metadata 2024-01-15 17:31:10 -05:00
Vladimir Mandic c39a76dce3 new control mask module 2024-01-14 13:35:53 -05:00
AI-Casanova cc2e3e058b Fix Scheduling 2024-01-13 15:07:32 -06:00
AI-Casanova 1edecc2389 cleanup 2024-01-13 11:48:58 -06: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 43d68ca784 refactor img2img processing 2024-01-04 14:46:11 -05: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 dc9778b701 rename latent sampler 2024-01-02 08:14:56 -05:00
Vladimir Mandic 6195ce170b control add inpaint 2024-01-01 17:35:23 -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
Vladimir Mandic 8c395a8bc9 improve animatediff 2023-12-28 11:30:12 -05:00
Vladimir Mandic eef08675b2 improve inpainting quality 2023-12-28 07:14:14 -05:00
Vladimir Mandic 8944d3bdfa simplify processing call 2023-12-27 20:24:41 -05:00
Vladimir Mandic 1de3c6af0f add amused model support and update reference list 2023-12-27 10:15:36 -05:00
Disty0 1bbdab74cf OpenVINO fix cache loading 2023-12-23 19:22:57 +03:00
Vladimir Mandic 79e6c51c06 fix control img2img 2023-12-23 10:05:46 -05:00
Disty0 d25b3d1f9f OpenVINO fix compile when cache doesn't exist 2023-12-23 17:22:04 +03:00
Vladimir Mandic aeccc28d60 control set task args 2023-12-21 10:57:11 -05:00
Vladimir Mandic 787e9b0b22 runtime eval pipeline type 2023-12-21 08:09:12 -05:00
Vladimir Mandic 9c8be9837b minor updates 2023-12-19 14:02:53 -05:00
Vladimir Mandic 0482d5a448 width/height validation 2023-12-18 18:51:56 -05:00
Vladimir Mandic bcb54fed45 allow missing size 2023-12-18 14:23:09 -05:00
Vladimir Mandic f13f2d03f9 fix prompt scheduling 2023-12-18 13:27:36 -05:00
Vladimir Mandic 5eccf17530
Merge pull request #2631 from AI-Casanova/prompt-callback
Prompt Scheduling for Diffusers
2023-12-18 11:56:04 -05:00
Vladimir Mandic 21adfd57b7 make some params optional 2023-12-18 11:46:08 -05:00
AI-Casanova 0b3e1f475d Fix batch & optimize 2023-12-17 19:37:05 -06:00
Vladimir Mandic d872c8e569 add glora 2023-12-17 17:30:34 -05:00
AI-Casanova 9e7757b7fe Fixes 2023-12-16 20:16:01 -06:00
AI-Casanova 2020d20bcb Prompt Scheduling 2023-12-16 18:07:20 -06:00
Vladimir Mandic 936cf9786c create_ui and process refactor 2023-12-15 18:54:48 -05:00
Vladimir Mandic 72839b7d65 refactoring to support control 2023-12-13 15:48:10 -05:00
Vladimir Mandic 0febcc2aa8 animatediff full latent mode 2023-12-05 14:07:52 -05:00
Vladimir Mandic 7c16ea6b1d add modelscope 2023-12-05 11:29:43 -05:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -05:00
Vladimir Mandic 52f453400a add rife prototype and handle missing default scriptrunners 2023-12-01 10:27:41 -05:00
Vladimir Mandic 84d733f0a0 add stable-video-diffusion 2023-11-30 11:21:26 -05:00
Vladimir Mandic f08b4e5c23 add sdxl-turbo 2023-11-29 16:32:12 -05:00
Vladimir Mandic d8d8f58072 initial lightweight animatediff 2023-11-28 19:30:10 -05:00
Vladimir Mandic c2f8e8cc30 prereqs 2023-11-28 11:06:47 -05:00
Vladimir Mandic 12411f2858 update hdr 2023-11-27 09:03:22 -05:00
Vladimir Mandic bcba5cadab add ip adapter and hdr latent control 2023-11-24 18:06:09 -05:00
Vladimir Mandic 9edfc987e0 add task_args 2023-11-24 08:32:06 -05:00
Vladimir Mandic fd9d747a47 force inpaint 2023-11-22 12:28:35 -05:00
Vladimir Mandic 606e4d5c08 configurable hf cache 2023-11-18 08:46:59 -05:00
Vladimir Mandic d46dddd024 fix upscale and add some compile options 2023-11-17 16:59:33 -05:00
Vladimir Mandic 75af4087e8 formatting 2023-11-17 10:53:21 -05:00
Disty0 cc19925bae Fix Diffusers steps logic 2023-11-16 19:22:04 +03:00
Vladimir Mandic 4ea908ccd4 cleanup 2023-11-16 09:55:18 -05:00
Vladimir Mandic b10cdb9d3e multiple cleanups 2023-11-15 12:08:54 -05:00
Vladimir Mandic 69c5cff112 diffusers prompt handle BREAK 2023-11-13 17:49:56 -05:00
Vladimir Mandic 39e5d614ff consistency decoder 2023-11-13 16:37:41 -05:00
Vladimir Mandic cff5d637bc fix inpaint 2023-11-12 17:35:33 -05:00
Vladimir Mandic fd3f971b40 update steps 2023-11-09 17:34:17 -05:00
Vladimir Mandic 0b60055702 add brackets 2023-11-09 16:26:20 -05:00
Vladimir Mandic 290970e536 safe move offloads 2023-11-09 12:57:46 -05:00
Vladimir Mandic 294af698e5 modify base/hires/refiner steps calculations 2023-11-09 12:27:07 -05:00
Vladimir Mandic 1f068feb44 fix dpm sde 2023-11-07 09:35:54 -05:00
Vladimir Mandic 981acdb2a5 new diffusers callbacks 2023-11-06 15:26:15 -05:00
Vladimir Mandic 6e05fa865a improve en performance 2023-11-04 12:58:45 -04:00
Vladimir Mandic eddcc360be support onnx branch and css tweaks 2023-11-01 11:48:17 -04:00
Vladimir Mandic 072b870b3f work on taesd encode 2023-10-31 18:41:14 -04:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic 76dc94010f enable taesd for lcm 2023-10-31 10:04:09 -04:00
Vladimir Mandic 267905e6bb Revert "Merge pull request #2411 from vladmandic/master"
This reverts commit 64cce8a606, reversing
changes made to 597fc1863f.
2023-10-26 07:30:01 -04:00
Vladimir Mandic 5219daa7fb Revert "Merge branch 'dev' into master"
This reverts commit 4b91ee0044, reversing
changes made to fc7e3c5721.
2023-10-26 07:17:40 -04:00
Disty0 98c27b4e16 Fix for Zero123+ 2023-10-26 00:22:23 +03:00
Vladimir Mandic 2522bdeedb redesign job state and progress bar 2023-10-24 22:02:46 -04:00
Vladimir Mandic bbb37ccc50 fix refiner 2023-10-22 23:52:30 -04:00
Vladimir Mandic fab013d31c fix diffusers base/hires/refiner workflows 2023-10-22 11:11:28 -04:00
Disty0 f15308c473 Update Diffusers secondary sampler 2023-10-21 19:30:33 +03:00
Vladimir Mandic 21595ee9e7 lint cleanup 2023-10-16 12:07:37 -04:00
Vladimir Mandic a29b740cee reset pipeline and handle hypertile errors 2023-10-14 17:03:49 -04:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic 7fb25b99b0 couple of img2img fixes 2023-10-11 15:41:08 -04:00
Vladimir Mandic d80890531c add experimental override 2023-10-09 14:55:43 -04:00
Vladimir Mandic e881e885e8 fix hypertile with hires 2023-10-09 09:11:46 -04:00
AI-Casanova d79d2a7663
remove obsolete references to lora_diffusers.py 2023-10-07 13:13:24 -05:00
Vladimir Mandic 1e8205fbb1 bring metadata apply to speed 2023-10-04 11:10:47 -04:00
Vladimir Mandic ee794a137d change diffusers prompt attention 2023-10-02 15:20:09 -04:00
AI-Casanova 626b4e3e13
Update processing_diffusers.py 2023-10-01 15:56:14 -05:00
Vladimir Mandic 965e5a95f1 refactor diffusers tasks 2023-09-29 14:13:30 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic e830b41dfa one more sdxl embeddings fix 2023-09-28 16:03:18 -04:00
Vladimir Mandic 14aec521ed better diffusers embedding handling 2023-09-26 12:04:26 -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
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 5411a0fd8f fix 2023-09-19 20:35:19 -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 e6d6ee621a diffusers lora unload logic 2023-09-18 22:30:36 -04:00
Disty0 e0c8d37d5e Fix DPM SDE and update IPEX defaults 2023-09-17 16:14:40 +03:00
Vladimir Mandic 9ca17487e0 diffusers round width/height 2023-09-16 17:09:51 -04: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
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
Vladimir Mandic d833b853ff downgrade diffusers 2023-09-15 13:41:56 -04:00
Vladimir Mandic 496bdf7c55 fix backend switch 2023-09-15 08:39:25 -04:00
Vladimir Mandic 9d85a9702b fix vae upscale 2023-09-14 15:28:38 -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
Vladimir Mandic 9cf7fc4a75 add new hires with refiner and non-latent modes 2023-09-12 11:54:10 -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
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