Commit Graph

370 Commits (41cfecc12793b074f26be4610954cf738cc376d9)

Author SHA1 Message Date
Vladimir Mandic 2d75e37e1b fix embeddings refresh 2024-02-03 12:06:10 -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 ffee8d65af fix unidiffuser 2024-01-27 08:56:45 -05:00
Vladimir Mandic e6a1946e06 fix blipdiffusion 2024-01-27 08:53:17 -05:00
AI-Casanova 1440e07f02 Fix TI loading from legacy formats 2024-01-26 15:58:06 -05:00
AI-Casanova 997644776c Fix TI Loading 2024-01-18 08:26:39 -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
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
Midcoastal 94270243b4
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-14 19:54:50 -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
Vladimir Mandic 011bac41df jumbo commit see changelog for details 2024-01-12 15:00:02 -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
Vladimir Mandic fcdc53addc lazy load imports 2024-01-08 12:51:12 -05:00
Vladimir Mandic c55bdffe02 reduce imports and do not load ldm in diffusers 2024-01-08 12:11:38 -05:00
Midcoastal 157772c8b9
Merge branch 'dev' of https://github.com/vladmandic/automatic into Dev/DirectoryCacheing 2024-01-08 10:18:54 -05:00
Vladimir Mandic d2940a05d1 fix folder enum and refactor control ipadapter 2024-01-07 17:57:58 -05:00
Midcoastal f90f23bcc2
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-06 22:12:24 -05:00
Vladimir Mandic de80b74c64 uniform listdir and use threadpool to index loras 2024-01-06 15:15:23 -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
Midcoastal cd18d29511
In-Memory Directory/File Cache 2024-01-05 16:55:01 -05:00
Vladimir Mandic d3413c34a6 verify sampler index before use 2023-12-30 13:59:22 -05:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -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
Vladimir Mandic 3772716fae support lcm, switch fonts 2023-10-25 10:49:58 -04:00
Vladimir Mandic 2522bdeedb redesign job state and progress bar 2023-10-24 22:02:46 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic e830b41dfa one more sdxl embeddings fix 2023-09-28 16:03:18 -04:00
AI-Casanova 7f7c390c5a
Fix SDXL TI v2
For some reason trying to resize `clip_l` and `clip_g` doesn't work resulting in this error `index 49408 is out of bounds for dimension 0 with size 49408`

`self.register_embedding` doesn't work for SDXL `'StableDiffusionXLPipeline' object has no attribute 'cond_stage_model'` but the exception happens after the embeddings are loaded so is inconsequential to function.
2023-09-28 08:26:42 -05:00
Vladimir Mandic ef0e8a5161 upscaler caching and ti model detection 2023-09-27 08:49:04 -04:00
Vladimir Mandic 6bb1e59de6 diffusers better ti reload 2023-09-26 17:42:24 -04:00
Vladimir Mandic 14aec521ed better diffusers embedding handling 2023-09-26 12:04:26 -04:00
Vladimir Mandic db6091207d register skipped embeddings correctly 2023-09-26 07:04:14 -04:00
Vladimir Mandic c8b106a471 cleanup 2023-09-26 06:57:19 -04:00
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic 3c3b3b9291 simplify ti loading 2023-09-16 13:46:40 -04:00
Vladimir Mandic c869e9c992 fix small grids 2023-09-14 08:46:09 -04:00
AI-Casanova d44c9d0c33
Fix for mixed case TI filenames (SDXL) 2023-09-11 17:12:29 -05:00
Vladimir Mandic 36001151bb ti fixes 2023-09-09 19:39:21 -04:00
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Disty0 b4f6dc1cb7 IPEX add GradScaler 2023-09-05 19:05:54 +03:00
Vladimir Mandic c64cdab1eb
Merge pull request #2130 from AI-Casanova/TI
Add Textual Inversion loading for SDXL
2023-09-05 08:43:41 -04:00