Commit Graph

182 Commits (7a47b6bbdb3b6c306eb310ef1f436f9bb7952334)

Author SHA1 Message Date
Vladimir Mandic 5574833f0d refactor backend detection 2024-06-06 20:41:10 -04:00
Vladimir Mandic 9bc217644d improve metadata parser 2024-06-06 11:24:31 -04:00
Vladimir Mandic 8a9c10e665 hidiffusion disable embeds cache 2024-06-05 17:36:43 -04:00
Disty0 887de74d22 Fix Cascade overcooking with more than 75 tokens 2024-05-31 18:40:39 +03:00
Disty0 3ebe2ab469 Fix prompt cache with clip skip 2024-05-26 18:15:38 +03:00
Disty0 be264d14d6 Stable Cascade prompt parser support 2024-05-26 16:01:27 +03:00
Vladimir Mandic 41efd6584d fix cached prompts 2024-05-24 09:46:18 -04:00
Vladimir Mandic 49c997e20f handle unknown tokens 2024-05-21 16:59:16 -04:00
Vladimir Mandic 4fa421ef90 add prompt caching and tokenizer info 2024-05-21 16:34:38 -04:00
Vladimir Mandic 7390815e07 minor prompt parse changes 2024-05-13 11:17:07 -04:00
Vladimir Mandic b137f67edc lint changes 2024-05-07 09:56:32 -04:00
Vladimir Mandic a4c6257124 full refactor of reference models 2024-03-12 23:51:36 -04:00
Vladimir Mandic 558463aeaf validate and fix all refiner workflows 2024-03-02 10:01:22 -05:00
Vladimir Mandic aec8f76c15 add differential-diffusion support for sd15 2024-02-20 13:14:32 -05:00
Vladimir Mandic ae4f7e6a5f regional prompting 2024-02-14 11:24:19 -05:00
AI-Casanova 33c8285e69 Experimental clip skip interpolation 2024-02-09 14:15:14 -05:00
Disty0 9a1ce4dd77 Adjust clip skip to expected range 2024-02-09 08:21:04 +03: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 78722065e3 add batch embedding load 2024-01-17 10:28:05 -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
AI-Casanova b10ea42506 Fix Early Out 2024-01-13 16:23:22 -06: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
Vladimir Mandic 204853afea global crlf to lf 2024-01-10 09:45:26 -05:00
Vladimir Mandic 5cfc044ec6 tracing and control improvements 2023-12-20 17:33:19 -05:00
Vladimir Mandic 8ceeee8b87 add trace logging 2023-12-20 10:17:39 -05:00
AI-Casanova ff94b197c1 Fix scheduling, lint 2023-12-18 23:42:31 -06:00
Vladimir Mandic f13f2d03f9 fix prompt scheduling 2023-12-18 13:27:36 -05:00
AI-Casanova 0b3e1f475d Fix batch & optimize 2023-12-17 19:37:05 -06: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 1b1ae6784c add demofusion 2023-12-09 14:15:48 -05:00
Vladimir Mandic f91735deac fix prompt parser with blank lines 2023-12-09 10:14:35 -05:00
Vladimir Mandic 9bd66e578a fix prompt padding 2023-11-25 10:16:03 -05:00
Vladimir Mandic 567b9dd435 offloading deal with meta tensors 2023-11-23 10:31:46 -05:00
Vladimir Mandic 096fd04f53 fix model offload on long prompts and update requirements 2023-11-23 09:42:24 -05:00
Vladimir Mandic 69c5cff112 diffusers prompt handle BREAK 2023-11-13 17:49:56 -05:00
Vladimir Mandic fab013d31c fix diffusers base/hires/refiner workflows 2023-10-22 11:11:28 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
AI-Casanova 14914b9bfb
Fix Diffusers Prompt Padding and add pooled option 2023-10-03 20:31:50 -05:00
Vladimir Mandic ee794a137d change diffusers prompt attention 2023-10-02 15:20:09 -04:00
AI-Casanova 08d094bb95
Major Refactor prompt_parser_diffusers.py
Prompt_2 has been mostly overridden by `TE2` keyword in prompt
2023-10-01 15:52:42 -05: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 d833b853ff downgrade diffusers 2023-09-15 13:41:56 -04:00
Vladimir Mandic 36001151bb ti fixes 2023-09-09 19:39:21 -04:00
Vladimir Mandic 81ff379e2c fix refiner 2023-09-07 09:38:35 -04:00
Vladimir Mandic 83ae2a6c42 fix pipe detection when processing prompts 2023-09-06 20:21:39 -04:00
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Vladimir Mandic 889274f39b post merge cleanup 2023-09-05 08:50:03 -04:00
Vladimir Mandic 2b83c7c5ae pre merge cleanup 2023-09-05 08:43:12 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04: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
Vladimir Mandic e810d59fb8 update gradio and add batch img2img 2023-08-25 16:36:45 +00:00
Vladimir Mandic 84f343687d fix python 3.9 compatibility 2023-08-23 08:18:40 +00:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
Vladimir Mandic fce48be440 update changelog 2023-08-14 07:58:42 +00:00
Vladimir Mandic 23efa8f0a5 fix init_image 2023-08-13 08:22:03 +00:00
Vladimir Mandic 83d1ee77bd revert long prompt 2023-08-13 00:32:03 +02:00
Vladimir Mandic 392f51cff3 add long prompts 2023-08-12 23:04:46 +02:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Disty0 0a7105d524 Fix SDXL LoRa offloading and SD 1.5 parsing 2023-08-10 16:02:45 +03:00
Disty0 839bd27956 Pass device to Compel 2023-08-09 19:15:38 +03:00
Vladimir Mandic 16725ab38f fix compel to full and add batch sizes 2023-08-09 10:28:44 +00:00
Hameer Abbasi 41428efb5d Make log message more descriptive. 2023-08-07 04:03:43 +02:00
Hameer Abbasi 0a863930cf Remove superfluous comment. 2023-08-07 04:02:39 +02:00
Hameer Abbasi af2b415638 Add support for clip_skip to the diffusers back-end. 2023-08-07 03:58:12 +02:00
AI-Casanova a1696269fb Enable A1111 and Full parsing conversion 2023-08-07 01:20:47 +00:00
Hameer Abbasi 0933b876d5
WIP 2023-08-06 19:12:57 +02:00
Hameer Abbasi 7ea4f32cec Check based on sd_model_type. 2023-08-06 11:22:33 +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 41418c5531 Add TODO for scheduling. 2023-08-06 09:41:08 +00:00
Hameer Abbasi 2ad35ca381 PyLint: Fix 2023-08-06 09:39:09 +00:00
Hameer Abbasi 00a5df5806 Small fix for refiner (untested). 2023-08-06 07:24:20 +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
root 076acf0664 Linting fixes. 2023-08-04 15:16:13 +00:00
root fdbafbd713 Clean up code. 2023-08-04 15:12:37 +00:00
AI-Casanova b166dcbfad Add prompt_parser_diffusers.py 2023-08-01 02:46:53 +00:00