Commit Graph

775 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
Vladimir Mandic 7c8d035edb better en preview matching and optimize caching 2024-01-19 13:50:23 -05:00
Vladimir Mandic 16eaeeb766 cleanup startup 2024-01-17 12:15:07 -05:00
Steve 1f03f1a4ce
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 10:35:13 -05:00
Vladimir Mandic 78722065e3 add batch embedding load 2024-01-17 10:28:05 -05:00
Midcoastal 8c118adfc9
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 09:33:26 -05:00
Vladimir Mandic 3192c50241 fix mask return type 2024-01-17 09:00:37 -05:00
Vladimir Mandic b1fa002ea7 control mask: add auto-mask and auto-segment and support for algo masking and rembg masking 2024-01-16 13:12:46 -05:00
Vladimir Mandic 15b4bad80a refactor control to use new masking 2024-01-15 12:11:55 -05:00
Vladimir Mandic 6bdc725407 fix ipadapter unload 2024-01-15 07:07:24 -05:00
Midcoastal 94270243b4
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-14 19:54:50 -05:00
Midcoastal ca830811a1
Cleanup
- Remove some unneeded comments
- Explode a few return generators (I should really do the other two, but I think I am going to refactor them later instead)
2024-01-14 19:39:17 -05:00
Midcoastal 86212a52d6
Cleanup, Ruff, Pylint 2024-01-14 18:49:07 -05:00
Vladimir Mandic cb2c9236c9 fix en folder filter 2024-01-14 07:20:47 -05:00
Vladimir Mandic 560e5a86e3 handle en tags with same names as en itself 2024-01-13 08:44:30 -05:00
Vladimir Mandic 011bac41df jumbo commit see changelog for details 2024-01-12 15:00:02 -05:00
Vladimir Mandic 3eebfa5e28 update sdnext via ui 2024-01-11 11:06:15 -05:00
Vladimir Mandic ddef248594 add img2img_extra_noise for backend original 2024-01-11 08:04:10 -05:00
Disty0 3820cb98ed Cleanup lora model state with NNCF and OpenVINO 2024-01-11 01:04:54 +03:00
Vladimir Mandic d73001f1a9 enable swtiching built-in themes on-the-fly 2024-01-10 11:58:09 -05:00
Vladimir Mandic 204853afea global crlf to lf 2024-01-10 09:45:26 -05:00
Disty0 3352be21a6 NNCF compress Text Encoder and Lora support 2024-01-10 02:10:52 +03:00
Vladimir Mandic 395e2fd23e further hijack cleanup 2024-01-09 15:20:19 -05:00
Vladimir Mandic cdf972c8c4 fix styles 2024-01-08 10:51:42 -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 13b295f525 enable global font size config via ui 2024-01-07 17:55:00 -05:00
Midcoastal fcf4aac08b
Merge branch 'dev' of https://github.com/vladmandic/automatic into Dev/DirectoryCacheing 2024-01-06 22:14:23 -05:00
Midcoastal f90f23bcc2
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-06 22:12:24 -05:00
Vladimir Mandic f03994c44f control module hires 2024-01-06 17:00:21 -05:00
Vladimir Mandic de80b74c64 uniform listdir and use threadpool to index loras 2024-01-06 15:15:23 -05:00
Vladimir Mandic dd7e3e93c4 control add override image preview 2024-01-06 12:56:36 -05:00
Vladimir Mandic dab9087069 full faceid and updated ipadapter 2024-01-06 11:52:56 -05:00
Midcoastal a99a0b9590
Global `available_networrks`, debug info 2024-01-06 11:44:43 -05:00
Midcoastal cd18d29511
In-Memory Directory/File Cache 2024-01-05 16:55:01 -05:00
Vladimir Mandic 9fe8a827b2 refactor modeldata 2024-01-05 12:00:22 -05:00
Vladimir Mandic 783783c39a update changelog 2024-01-04 20:49:53 -05:00
Vladimir Mandic 1c8d604143 control better pipeline detection 2024-01-04 20:36:32 -05:00
Vladimir Mandic 9a96477111 optimize json parsing and extension register 2024-01-04 12:17:33 -05:00
Vladimir Mandic b36208234f fix ui dummy comp 2024-01-04 08:58:54 -05:00
Vladimir Mandic 17b30a320e enable batched taesd 2024-01-03 10:38:30 -05:00
Vladimir Mandic 8beb27ec1b add outpaint 2024-01-02 15:17:24 -05:00
Vladimir Mandic 3881f51fde fix img2img sampler selection 2024-01-02 10:30:38 -05:00
Vladimir Mandic f7cd47d96f add fused projections 2024-01-02 09:41:15 -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 b3ef2aeb1b update 2023-12-31 07:51:20 -05:00
Vladimir Mandic 8126018b00 add marigold depth maps 2023-12-30 17:49:07 -05:00
Vladimir Mandic 176b341bdf fix img2img interrogate 2023-12-30 13:59:22 -05:00
Vladimir Mandic f4f4f42770 update docs 2023-12-29 09:25:05 -05:00
Vladimir Mandic 542686eef8 detect sd2 2023-12-25 07:58:43 -05:00
Vladimir Mandic 36016432ab cleanup 2023-12-24 11:30:33 -05:00
Vladimir Mandic 6bb73e1fd8 add support for lora oft, lyco oft, peft 2023-12-24 11:30:04 -05:00
Vladimir Mandic c3984b5550 lora and vae loading error reporting 2023-12-23 14:25:17 -05:00
Vladimir Mandic 21adfd57b7 make some params optional 2023-12-18 11:46:08 -05:00
Vladimir Mandic d872c8e569 add glora 2023-12-17 17:30:34 -05:00
Vladimir Mandic a3c4b5097c fix styles refresh 2023-12-17 15:50:54 -05:00
Vladimir Mandic 86af00ce36 control prep work 2023-12-16 13:25:25 -05:00
Vladimir Mandic 936cf9786c create_ui and process refactor 2023-12-15 18:54:48 -05:00
Vladimir Mandic b96fbd8f95 add img2img_apply_overlay 2023-12-14 10:09:55 -05:00
Vladimir Mandic 72839b7d65 refactoring to support control 2023-12-13 15:48:10 -05:00
Vladimir Mandic 91a8746a27 update cli scripts 2023-12-11 09:08:02 -05:00
Vladimir Mandic d71287e068 fix tensor to np 2023-12-10 18:06:07 -05:00
Vladimir Mandic 1b1ae6784c add demofusion 2023-12-09 14:15:48 -05:00
Disty0 dc56ea140a Update shared opts 2023-12-08 19:10:08 +03:00
Vladimir Mandic 66f7a9af82 add lora_force_diffusers and lora_fuse_diffusers 2023-12-08 10:43:50 -05:00
Vladimir Mandic bd64bac2a3 update ip-adapter, schedulers and xyz-grid 2023-12-07 12:41:11 -05:00
Disty0 3a36c07c6c Check SD_LORA_DIFFUSERS flag once in networks.py 2023-12-05 19:22:40 +03:00
Vladimir Mandic 27bd7c424c
Merge pull request #2585 from AI-Casanova/block-LoRA
Block LoRA
2023-12-04 18:40:01 -05:00
Vladimir Mandic e0b99b7300 preload lora 2023-12-04 13:30:58 -05:00
AI-Casanova b59f79657d fixes 2023-12-03 17:20:44 -06:00
AI-Casanova 323e2c142c in-mid-out LoRA Weights 2023-12-03 15:06:13 -06:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -05:00
Disty0 54ef5f8683 Check SD_LORA_DIFFUSERS flag once 2023-12-03 02:00:31 +03:00
Disty0 235b5117f3 Ruff fix 2023-12-03 01:32:43 +03:00
Disty0 5cf1da40ce OpenVINO skip LoRa loading if it's already loaded 2023-12-03 01:31:36 +03:00
Disty0 7195087ac2 Re-add SD_LORA_DIFFUSERS flags 2023-12-03 00:40:51 +03:00
Vladimir Mandic 24250ac049 add sd-turbo and disable unnecessary lora fallback for lcm 2023-12-02 16:31:14 -05:00
Disty0 85f62609af Revert SD_LORA_DIFFUSERS 2023-12-03 00:30:32 +03:00
Disty0 8ba80bbc41 Make OpenVINO use SD_LORA_DIFFUSERS flag 2023-12-03 00:14:57 +03:00
Vladimir Mandic f08b4e5c23 add sdxl-turbo 2023-11-29 16:32:12 -05:00
Vladimir Mandic 1502dc2e13 add kandinsky3 support 2023-11-25 13:27:16 -05:00
Vladimir Mandic 2ab4b512c8 update changelog 2023-11-22 18:30:29 -05:00
Vladimir Mandic 15503a7e0c add experimental model update 2023-11-21 12:25:19 -05:00
Disty0 bd141bbfeb IPEX decrease Torch GC Threshold to 80 2023-11-21 16:47:35 +03:00
Disty0 1793c2e116 OpenVINO fix LoRa and Update to Torch 2.1.1 2023-11-21 14:22:55 +03:00
Vladimir Mandic 00b246c052 update advanced merging 2023-11-20 11:43:30 -05:00
Vladimir Mandic b647fb84e9 fix non-sd pipeline 2023-11-18 11:20:31 -05:00
Vladimir Mandic 4ea908ccd4 cleanup 2023-11-16 09:55:18 -05:00
Disty0 6e994ff110 OpenVINO fix Lora not loading on model change 2023-11-16 01:07:09 +03:00
Disty0 d7410655cf Cleanup 2023-11-16 00:19:32 +03:00
Vladimir Mandic e9b3109650 fix invalid tags 2023-11-15 15:00:49 -05:00
Disty0 bb0430f5c1 OpenVINO downgrade PyTorch 2023-11-15 22:33:13 +03:00
Disty0 1b9ca52afa OpenVINO use Diffusers Lora loading 2023-11-15 19:44:33 +03:00
Disty0 69f0d41b99 OpenVINO fix Lora caching 2023-11-15 19:10:44 +03:00
Disty0 2f7e387246 Fix missing import 2023-11-15 01:20:36 +03:00
Vladimir Mandic e46661f6f9 handle lcm lora loader separately 2023-11-14 14:23:13 -05:00
Vladimir Mandic 882da270e9 add SD_LORA_DIFFUSERS 2023-11-13 18:42:02 -05:00
Vladimir Mandic d6aefd046c reference match previews 2023-11-13 16:20:21 -05:00
Vladimir Mandic a0b8bcf63b refactor model compile and add stable-fast 2023-11-13 12:25:45 -05:00
Vladimir Mandic 7f0827d1d0 update lora triggerword parsing 2023-11-11 08:26:03 -05:00
Vladimir Mandic b5c0587372 cleanup 2023-11-10 15:31:10 -05:00
Vladimir Mandic 79af359b1b minor updates 2023-11-10 10:04:15 -05:00
Vladimir Mandic 294af698e5 modify base/hires/refiner steps calculations 2023-11-09 12:27:07 -05:00
Vladimir Mandic a68f0bcbe4 rework prompt paste 2023-11-08 11:33:40 -05:00
Vladimir Mandic 00562a5084 cleanup model paths 2023-11-08 07:38:45 -05:00
Vladimir Mandic e53db4e259 use ThreadPoolExecutor for extra networks 2023-11-07 08:00:44 -05:00
Vladimir Mandic 2919774c01 improve en display 2023-11-05 08:09:40 -05:00
Vladimir Mandic 9f5cabe95f add user lora tags 2023-11-04 13:14:35 -04:00
Vladimir Mandic 6e05fa865a improve en performance 2023-11-04 12:58:45 -04:00
Vladimir Mandic 426729aa6f native implementation for interrogator 2023-11-04 10:53:31 -04:00
Vladimir Mandic 7ee0d65c13 update startup scripts 2023-11-04 08:22:57 -04:00
Vladimir Mandic eddcc360be support onnx branch and css tweaks 2023-11-01 11:48:17 -04:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic 5ae6128393 update css 2023-10-30 09:26:52 -04:00
Vladimir Mandic 19203aab6c en add sort and other updates 2023-10-29 10:29:50 -04:00
Vladimir Mandic a99c7d3d53 mobile optimization 2023-10-28 17:19:55 -04:00
Vladimir Mandic b975bcec87 cleanup 2023-10-26 07:30:26 -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 886af2ee16 Revert "Merge pull request #2410 from vladmandic/master"
This reverts commit 597fc1863f, reversing
changes made to 4ab584e93f.
2023-10-26 07:29:49 -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 4b91ee0044
Merge branch 'dev' into master 2023-10-26 07:12:59 -04:00
Vladimir Mandic d135fe1383 fix fn sequence 2023-10-26 07:02:44 -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 636560c627
Merge pull request #2401 from vladmandic/master
update dev
2023-10-24 17:38:13 -04:00
Vladimir Mandic bc80c14704 log cleanup 2023-10-24 08:47:08 -04:00
Vladimir Mandic 0d2f535527
Merge pull request #2391 from vladmandic/master
update dev
2023-10-23 13:25:37 -04:00
Vladimir Mandic d5c264ec75 fix before hires 2023-10-23 10:19:40 -04:00
Vladimir Mandic 40ec2b8ec9
Merge pull request #2386 from vladmandic/master
update dev
2023-10-22 12:54:28 -04:00
Vladimir Mandic e8be0a8cdc update changelog 2023-10-22 11:52:40 -04:00
Vladimir Mandic be75ed7e9f compatibility items 2023-10-22 09:58:55 -04:00
AI-Casanova 8f84e968d5 Refactor and clean up network_oft.py
Switch from matmul to einsum
2023-10-21 18:02:05 -06:00
Andrew Tischenko 929f73100a Update network_oft.py
Some updates to make the matmul slightly more correct? Still WIP, needs to be tested against the quality of the future einsum version.
2023-10-21 18:02:05 -06:00
AI-Casanova 5b707e1747 Fix and cleanup lora_convert.py 2023-10-21 18:02:05 -06:00
Andrew Tischenko dc6ffaef7b Adding OFT support
A WIP adaptation of the OFT implementation from the Kohya repo

Co-Authored-By: AI-Casanova <54461896+AI-Casanova@users.noreply.github.com>
2023-10-21 18:02:05 -06:00
Vladimir Mandic df7c04ab27 add keep-interrupted option 2023-10-20 11:51:47 -04:00
Vladimir Mandic 231ca1ac7e fixes for zero-day issues 2023-10-18 11:37:33 -04:00
Vladimir Mandic a4d28ccb32 remove multidiffusion from built-in extensions 2023-10-17 10:09:56 -04:00
Vladimir Mandic 8aa2d0347c premerge fixes 2023-10-17 08:01:35 -04:00
Vladimir Mandic bb912c35f9 redesign live preview and bring full quality toggle to original backend 2023-10-16 14:07:00 -04:00
Vladimir Mandic 44f817acc6 workaround for civitai helper 2023-10-16 11:02:02 -04:00
Vladimir Mandic bdae9f81b4 add discovered extensions 2023-10-14 14:27:28 -04:00
Vladimir Mandic 3cd7d7cca0 multiple fixes 2023-10-14 12:07:41 -04:00
Vladimir Mandic 1d81cd16db update 2023-10-14 09:31:14 -04:00
Vladimir Mandic a21477fe1e update 2023-10-14 09:03:22 -04:00
Vladimir Mandic b55bb8c883 error handling in prompt parser 2023-10-13 09:30:17 -04:00
Vladimir Mandic bfdafb6215 extension compatibility patches 2023-10-10 10:12:31 -04:00
Vladimir Mandic 49c58a0c06 gradio update phase one 2023-10-09 14:45:25 -04:00
Vladimir Mandic 57ce239027 fix typo 2023-10-08 16:17:33 -04:00
Vladimir Mandic fccb237542 fix lora unload 2023-10-08 16:01:53 -04:00
Vladimir Mandic 6cae80793a fix activate/deactivate 2023-10-08 12:42:27 -04:00