Commit Graph

370 Commits (77e0eecf58c0896121fbafa77e8a8a069657c765)

Author SHA1 Message Date
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
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Vladimir Mandic 8258313555
Merge pull request #2128 from vladmandic/master
refresh dev
2023-09-03 15:59:45 -04:00
Disty0 1d04014df1 Fix inflated steps with Non SDXL Refiner 2023-09-02 17:25:31 +03:00
Disty0 3287222177 Fix Kandinsky compile and Fix steps with non SDXL 2023-09-02 14:28:11 +03:00
Vladimir Mandic 1b2890d02c extra network tags 2023-09-01 11:51:22 -04:00
Vladimir Mandic b33f3866b0 add interrupt to diffusers 2023-08-31 13:39:39 -04:00
Vladimir Mandic 27a517cedd add missing metadata 2023-08-31 08:06:48 -04:00
Disty0 77fce3e8c8 Fix OpenVINO on Windows 2023-08-31 12:58:39 +03:00
Disty0 b1c089cae9 Re-order Text2Img UI 2023-08-30 22:51:00 +03:00
Disty0 2e6506bef2 Disable refiner if refiner steps is 0 2023-08-30 22:51:00 +03:00
Disty0 cdd7f4fe24 Fix Denoise start on Img2Img 2023-08-30 22:51:00 +03:00
Disty0 f2e6e0e88e Add refiner steps 2023-08-30 22:51:00 +03:00
Disty0 8e6b80104d Diffusers use exact steps 2023-08-30 22:51:00 +03:00
Vladimir Mandic 7dc4460fdc separate model type detection for base and refiner 2023-08-29 17:36:07 -04:00
Vladimir Mandic c4263da0e6 fix refiner reload/unload 2023-08-26 13:35:59 +00:00
Disty0 8ef4aa7a4a OpenVINO fix resolution change 2023-08-25 16:12:10 +03:00
Vladimir Mandic 53dcf157fb switch abs to relative paths 2023-08-21 08:11:30 +00:00
Disty0 5b7f873fad Fix sequential offloading 2023-08-19 22:07:10 +03:00
Vladimir Mandic 87bb354f4c implement hires for diffusers 2023-08-19 12:25:41 +00:00
Vladimir Mandic 5eac99d3f5 optimize diffusers memory handling 2023-08-18 20:41:34 +00:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Vladimir Mandic eeca263bd2 update stored metadata 2023-08-14 07:50:12 +00:00
Vladimir Mandic d4b5c487fe fix img2img resize 2023-08-13 09:54:09 +00:00
Vladimir Mandic c5c817f482 img2img batching 2023-08-13 09:19:39 +00:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Vladimir Mandic 16725ab38f fix compel to full and add batch sizes 2023-08-09 10:28:44 +00:00
Vladimir Mandic e2b0d981ac quick taesd vae decode 2023-08-09 09:34:59 +00:00
Disty0 6760fd1525 Add TAESD VAE option for base image outputs 2023-08-07 21:37:58 +03:00
Vladimir Mandic 0a3e821067 diffuser auto-pipeline and fix vae 2023-08-07 17:19:30 +00:00
Vladimir Mandic 5fd3c5ba01 update lora methods 2023-08-07 14:52:19 +02:00
Vladimir Mandic 9be641d431
Merge pull request #1952 from AI-Casanova/kohya
Enable side loading of multiple Kohya-style LoRA for SDXL
2023-08-07 14:42:30 +02:00
AI-Casanova 7859fd22a0
Unload LoRA on early stoppage 2023-08-06 22:33:27 -05:00
Hameer Abbasi 66ad9ce368 Actually pass through CLIP_skip. 2023-08-07 04:16:41 +02:00
Hameer Abbasi af2b415638 Add support for clip_skip to the diffusers back-end. 2023-08-07 03:58:12 +02:00
Hameer Abbasi 0933b876d5
WIP 2023-08-06 19:12:57 +02:00
Hameer Abbasi 868ae1e23f Merge remote-tracking branch 'origin/master' into Compel 2023-08-06 11:15:53 +00:00
Hameer Abbasi 1b60d4683e Run black for formatting, fix pylint errors, and change to warning. 2023-08-06 11:10:44 +00:00
Hameer Abbasi bb66b5ce0e
Ruff fix and refiner->is_refiner. 2023-08-06 07:37:45 +02:00
AI-Casanova e65e959eef Enable A1111 and Full parsing conversion 2023-08-06 02:52:03 +00:00
AI-Casanova df18ad4eb1 Enable side loading of multiple Kohya-style LoRA for SDXL 2023-08-05 14:54:50 +00:00
Vladimir Mandic 64273169b9 fix diffusers inpaint 2023-08-05 13:53:43 +00:00
Vladimir Mandic cfe14884a0 add taesd for sdxl 2023-08-05 12:06:56 +00:00
root 076acf0664 Linting fixes. 2023-08-04 15:16:13 +00:00
AI-Casanova b166dcbfad Add prompt_parser_diffusers.py 2023-08-01 02:46:53 +00:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
AI-Casanova 397d7ea6de
Add Compel Parsing for SDXL 2023-07-30 22:26:55 -05:00
Disty0 884e464693 Move base to cpu when using refiner with offload 2023-07-30 18:39:27 +03:00
Vladimir Mandic 2300329893 fix lint 2023-07-30 17:17:56 +02:00
Vladimir Mandic 13ba9531a5
Merge pull request #1875 from AI-Casanova/diffusers-LoRA
Enable SDXL LoRA (Must install the newest Diffusers!)
2023-07-30 11:13:36 -04:00
Disty0 350be09282 w/a for model cpu offload refiner 2023-07-30 17:18:57 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Disty0 38ecfb6dff Add Move UNet to CPU option 2023-07-29 18:58:08 +03:00
AI-Casanova fd7f51302e
Update processing_diffusers.py 2023-07-28 18:01:38 -05:00
Vladimir Mandic 8f6f8413b1 fix ti training 2023-07-27 09:30:41 -04:00
Vladimir Mandic 90f6cc8ebb add refiner enabled check 2023-07-26 20:54:51 -04:00
Vladimir Mandic 3437132817 update refiner start/end 2023-07-26 20:49:24 -04:00
Kubuxu fc1a7ad0b1 Fix base and refiner when using diffusers
With diffusers 0.19 densoise_start and _end started applying.
2023-07-27 00:51:56 +01:00
Patrick von Platen a9d239ab51 [Diffusers] Make all Kandinsky work 2023-07-25 21:47:49 +00:00
Vladimir Mandic 6c02e6a2eb add operations to metadata 2023-07-25 12:28:13 -04:00
Vladimir Mandic aa62f6d8d4 fix refiner batch size 2023-07-25 07:53:47 -04:00
Vladimir Mandic 5f96c35ab5 prep work for diffusers prompt encoding 2023-07-24 12:09:44 -04:00
Vladimir Mandic 11f08c1a4a fix diffusers vae decode 2023-07-24 09:05:00 -04:00
Vladimir Mandic 7bbab3c9a9 panzoom 2023-07-24 08:27:15 -04:00
Vladimir Mandic d88d371e80 add skip 2023-07-23 12:18:16 -04:00
Vladimir Mandic 567faeb751 diffusers img2img and inpaint 2023-07-22 15:39:41 -04:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00