Commit Graph

4977 Commits (e66fe42f4e8a5021bbf430f8a7d990a4b4bd4f92)

Author SHA1 Message Date
Vladimir Mandic 9a84e0f129 add faceswap 2024-01-15 13:56:29 -05:00
Vladimir Mandic 15b4bad80a refactor control to use new masking 2024-01-15 12:11:55 -05:00
Vladimir Mandic 886e74bbb3
Merge pull request #2719 from vladmandic/master
refresh dev
2024-01-15 06:43:17 -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
Midcoastal 6b037cc239
Cleanup, Ruff, Pylint 2024-01-14 18:08:16 -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
Vladimir Mandic c39a76dce3 new control mask module 2024-01-14 13:35:53 -05:00
Vladimir Mandic 4cef19892e segment prototype 2024-01-13 21:20:33 -05:00
Vladimir Mandic f41e9465f6
Merge pull request #2713 from AI-Casanova/dif-prompt-cleanup
cleanup
2024-01-13 19:38:18 -05:00
Vladimir Mandic a163d1896b segment prototype 2024-01-13 19:35:50 -05:00
Vladimir Mandic 615f539a4e add control glpn depth processor 2024-01-13 19:35:50 -05:00
Disty0 c6d78d2b34 Cleanup 2024-01-14 03:21:48 +03:00
AI-Casanova b10ea42506 Fix Early Out 2024-01-13 16:23:22 -06:00
AI-Casanova 904ee42437
Merge branch 'dev' into dif-prompt-cleanup 2024-01-13 15:09:16 -06:00
AI-Casanova cc2e3e058b Fix Scheduling 2024-01-13 15:07:32 -06:00
jeong jinmyeong 8f4429df8e solve conflicting ui labels in hdr
conflicting ui label caused loading from ui_config.json duplicate, and I wanted to solve that.
2024-01-14 05:38:17 +09:00
jeong jinmyeong 4695367a58 bug fix in hdr generation parameter writing 2024-01-14 05:37:58 +09:00
Disty0 e395f3101f IPEX disable 1024x1024 workaround if the GPU supports 64 bit 2024-01-13 21:56:33 +03:00
Disty0 e1ce071467 IPEX add IPEX_FORCE_ATTENTION_SLICE env variable 2024-01-13 21:47:16 +03:00
AI-Casanova 1edecc2389 cleanup 2024-01-13 11:48:58 -06:00
Vladimir Mandic d4752f46ec add control dpt processor 2024-01-13 10:48:31 -05:00
Vladimir Mandic cda5d17b8a rearrange mask ui 2024-01-13 09:30:37 -05:00
Vladimir Mandic 560e5a86e3 handle en tags with same names as en itself 2024-01-13 08:44:30 -05:00
Zxilly 4afb41a6f2
fix: the civitai button can not be clicked 2024-01-13 15:55:49 +08:00
Disty0 c487c2d147 Compile support for models with transformers instead of unet 2024-01-13 01:35:37 +03:00
Disty0 d4ca4acd7d Unify settings 2024-01-13 00:44:03 +03:00
Vladimir Mandic 011bac41df jumbo commit see changelog for details 2024-01-12 15:00:02 -05:00
Vladimir Mandic 8b2e06147f add disable_accelerate option 2024-01-11 13:39:44 -05:00
Vladimir Mandic 2ec5e9d136 remove eol cmdflag no-download 2024-01-11 12:39:06 -05:00
Vladimir Mandic d35f189c41 add 401 to short exception list 2024-01-11 12:28:50 -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 d0b44a29b8 Cleanup OpenVINO and NNCF 2024-01-11 14:48:09 +03:00
Disty0 3820cb98ed Cleanup lora model state with NNCF and OpenVINO 2024-01-11 01:04:54 +03:00
Vladimir Mandic 79d4c50e7e fix process batch filenames 2024-01-10 12:54:29 -05:00
Vladimir Mandic d73001f1a9 enable swtiching built-in themes on-the-fly 2024-01-10 11:58:09 -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
AI-Casanova 5aafe1ece2 Refactor cache
Disable double-load
2024-01-09 22:52:48 -06:00
Disty0 3352be21a6 NNCF compress Text Encoder and Lora support 2024-01-10 02:10:52 +03:00
Vladimir Mandic 23a4e6ee06 cleanup server settings 2024-01-09 14:51:21 -05:00
Vladimir Mandic 9eb56919df simplify backend select/lookups 2024-01-09 09:49:17 -05:00
Disty0 42845b344c Cleanup 2024-01-09 16:07:43 +03:00
Vladimir Mandic b206612069 fix processor switch 2024-01-09 07:53:37 -05:00
Vladimir Mandic 3a79d502b6
Merge pull request #2697 from Trojaner/api/ipadapters
Update FaceID api params
2024-01-09 07:32:41 -05:00
Enes Sadık Özbek 9d2446f359
Fix model descriptions for FaceID 2024-01-08 22:47:19 +03:00
Enes Sadık Özbek f1b6971f7e
Update FaceID api params 2024-01-08 22:45:16 +03:00
Vladimir Mandic fcdc53addc lazy load imports 2024-01-08 12:51:12 -05:00
Disty0 6fbb9ad7f3 IPEX fix lock-ups at very high resolutions 2024-01-08 20:31:54 +03:00
Vladimir Mandic c55bdffe02 reduce imports and do not load ldm in diffusers 2024-01-08 12:11:38 -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
Disty0 0f829b2d04 Make OpenVINO compatible with IPEX venv 2024-01-08 03:00:18 +03:00
Disty0 8f70b7d08c Add DISABLE_VENV_LIBS env variable 2024-01-08 02:04:55 +03:00
Vladimir Mandic 44cc574903 refactor blip/booru interrogate 2024-01-07 17:57:58 -05:00
Vladimir Mandic d2940a05d1 fix folder enum and refactor control ipadapter 2024-01-07 17:57:58 -05:00
Vladimir Mandic 119424399f controle module enable scripts and extensions 2024-01-07 17:55:00 -05:00
Vladimir Mandic 52d19637d8 fix progress api 2024-01-07 17:55:00 -05:00
Vladimir Mandic 13b295f525 enable global font size config via ui 2024-01-07 17:55:00 -05:00
Enes Sadık Özbek d93485a908
Potential None error fix in prepare_img_gen_request 2024-01-07 22:59:16 +03:00
Enes Sadık Özbek 96dbd230dc
Fix dict related errors in img gen API 2024-01-07 22:54:03 +03:00
Enes Sadık Özbek 9670f1d801
Args might not be always strings 2024-01-07 18:05:11 +03:00
Enes Sadık Özbek dd37e7b973
Fix length control for request args 2024-01-07 18:04:49 +03:00
Enes Sadık Özbek 43c2af7765
Merge branch 'dev' into api/ipadapters 2024-01-07 18:01:29 +03:00
Enes Sadık Özbek 8e5f64060d
Implement generic sanitization of script args in requests 2024-01-07 18:00:44 +03: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 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
Disty0 746fd1dfaa IPEX add wraps to hijacks 2024-01-06 15:58:14 +03:00
Disty0 f6d804ac45 Cleanup 2024-01-06 13:26:31 +03:00
Disty0 943059170a Cleanup 2024-01-06 01:39:54 +03:00
Disty0 f3cebcb9dd OpenVINO add experimental support for Text Encoder compiling 2024-01-06 01:37:04 +03:00
Midcoastal cd18d29511
In-Memory Directory/File Cache 2024-01-05 16:55:01 -05:00
Disty0 3b14e1e70e OpenVINO fix cache loading 2024-01-05 22:43:15 +03: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 99c2a9fec7 add note 2024-01-05 12:08:28 -05:00
Vladimir Mandic 9fe8a827b2 refactor modeldata 2024-01-05 12:00:22 -05:00
Vladimir Mandic 025a60bede control add latent upscale 2024-01-05 09:26:14 -05:00
Vladimir Mandic 0b7bba2e70 add openpose-xl 2024-01-05 07:39:44 -05:00
Disty0 69ddc42993 OpenVINO fix 4bit VAE after a resolution change 2024-01-05 14:09:30 +03:00
Disty0 178773a43a Cleanup 2024-01-05 12:06:17 +03:00
Disty0 6522c03667 OpenVINO 4 bit support for CPUs 2024-01-05 11:54:46 +03:00
Vladimir Mandic 59fb0fbc3e blend allow size mismatch 2024-01-04 20:42:03 -05:00
Vladimir Mandic 1c8d604143 control better pipeline detection 2024-01-04 20:36:32 -05:00
Disty0 e94cc76465
Merge pull request #2680 from KerfuffleV2/fix-ipex-autocast
fix: missing parenthesis in IPEX autocast
2024-01-05 02:35:19 +03:00
Vladimir Mandic 43d68ca784 refactor img2img processing 2024-01-04 14:46:11 -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
KerfuffleV2 324e728bba fix: missing parenthesis in ipex autocast 2024-01-04 00:30:31 -07: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 f36a29ac68 lint updates 2024-01-03 10:48:34 -05:00
Vladimir Mandic 17b30a320e enable batched taesd 2024-01-03 10:38:30 -05:00
Vladimir Mandic a8c779a54d cleanup 2024-01-02 15:22:32 -05:00
Vladimir Mandic 8beb27ec1b add outpaint 2024-01-02 15:17:24 -05:00
Disty0 d7f4043093 OpenVINO use the last device on the device list instead of CPU 2024-01-02 21:03:56 +03:00
Disty0 068f0a7d71 Return CPU device with OpenVINO on MAC 2024-01-02 20:20:36 +03: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
Disty0 547e7dfb0a Cleanup 2024-01-02 11:52:26 +03:00
Disty0 0e7e42abd8 Update changelog 2024-01-02 11:44:14 +03:00
Vladimir Mandic 6195ce170b control add inpaint 2024-01-01 17:35:23 -05:00
Disty0 4107baddaf IPEX get rid of CondFunc 2023-12-31 21:52:40 +03:00
Disty0 f842d0a325 IPEX remove 2.0 and below hijacks 2023-12-31 21:19:14 +03:00
Vladimir Mandic 70bfe4ced8 enable gc on ram threshold 2023-12-31 08:15:22 -05:00
Disty0 d1e4d555b9 Cleanup 2023-12-31 15:52:00 +03:00
Disty0 ba168390de IPEX slice Diffusers AttnProcessor V1 2023-12-31 15:36:54 +03:00
Disty0 db8b9650c9 IPEX de-CondFunc torch.nn.functional 2023-12-31 03:39:00 +03:00
Vladimir Mandic 8126018b00 add marigold depth maps 2023-12-30 17:49:07 -05:00
Enes Sadık Özbek 6077bd01df
Fix API docs typo 2023-12-31 01:00:17 +03:00
Enes Sadık Özbek 88a86b901f
Add ip_adapter and face_id fields for txt2img/ímg2img APIs 2023-12-31 00:49:41 +03:00
Vladimir Mandic 41a4d63aaf update hypertile 2023-12-30 16:06:41 -05:00
Enes Sadık Özbek 89884e0051
Log all HTTP exception in debug mode 2023-12-31 00:02:33 +03:00
Vladimir Mandic ec5abc56f5 update notes 2023-12-30 13:59:22 -05:00
Vladimir Mandic 795865e4f5 control auto-refresh models 2023-12-30 13:59:22 -05:00
Vladimir Mandic c94d8ee4f2 hypertile autodetect optimal value 2023-12-30 13:59:22 -05:00
Vladimir Mandic c8b67d3197 add non-git mode 2023-12-30 13:59:22 -05:00
Vladimir Mandic 84ab19b8a5 separate control output folder 2023-12-30 13:59:22 -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
Disty0 ab7b78ccf4 IPEX fix torch.load 2023-12-30 17:07:04 +03:00
Disty0 bc79cbc2fd OpenVINO fix INT8 2023-12-30 12:21:54 +03:00
Disty0 a166a81e4d IPEX disable Linalg Solve CPU offload with IPEX 2.1 2023-12-29 20:12:44 +03:00
Vladimir Mandic f4f4f42770 update docs 2023-12-29 09:25:05 -05:00
Disty0 b10a579421 IPEX 8 bit support with NNCF 2023-12-29 12:26:00 +03:00
Disty0 4136d60177 IPEX Attention reduce CPU overhead 2023-12-29 01:48:45 +03:00
Vladimir Mandic 1c7ab98650 set vae options on change 2023-12-28 11:35:13 -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 1a0e3c6bee cleanup logging 2023-12-27 19:49:13 -05:00
Vladimir Mandic 3062e9eab9 add depth3d support 2023-12-27 13:59:33 -05:00
Vladimir Mandic 1de3c6af0f add amused model support and update reference list 2023-12-27 10:15:36 -05:00
Vladimir Mandic 0df94404c4 add reference to original, reimplement control-xs 2023-12-27 08:52:04 -05:00
Vladimir Mandic 81952ce099 cleanups 2023-12-26 13:41:21 -05:00
Vladimir Mandic 54deae7746 change onboarding and remove download default model 2023-12-26 13:06:14 -05:00
Vladimir Mandic 03c59c72cf fix model detection compatibility item 2023-12-26 08:02:46 -05:00
Vladimir Mandic 0c38745ffa fix atomic write 2023-12-25 18:07:37 -05:00
Vladimir Mandic 068809719a update requirements and add control-lllite 2023-12-25 14:45:01 -05:00
Vladimir Mandic 60e0e110dd fix control pipeline 2023-12-25 09:23:50 -05:00
Vladimir Mandic 542686eef8 detect sd2 2023-12-25 07:58:43 -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 7ab9ba0781 hide variation seed in diffusers 2023-12-23 12:57:12 -05:00
Vladimir Mandic 1d38358899 control add ip-adapter 2023-12-23 12:50:33 -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
Disty0 9dcc76af02 OpenVINO reduce System RAM usage 2023-12-23 16:42:24 +03:00
Disty0 843340d3b3 OpenVINO 8 bit support for CPUs 2023-12-23 15:30:33 +03:00
Vladimir Mandic 93a3b532d8 control input control 2023-12-22 14:15:08 -05:00
Vladimir Mandic 4b74d3ebf9 modularize ui imports 2023-12-22 08:07:34 -05:00
Vladimir Mandic ec0a08c4db fix inpaint overlay 2023-12-22 07:34:14 -05:00
Vladimir Mandic 0471f549f0 add more control tests 2023-12-21 14:34:38 -05:00
Vladimir Mandic d7b0d59143 add control tests 2023-12-21 13:36:42 -05:00
Vladimir Mandic 01fb0faa22 update requirements 2023-12-21 12:10:42 -05:00
Vladimir Mandic 1b0e9b0f14 update control adapters 2023-12-21 11:56:29 -05: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 5cfc044ec6 tracing and control improvements 2023-12-20 17:33:19 -05:00
Vladimir Mandic d336c1fe0d control detect diffusers capabilities 2023-12-20 16:17:56 -05:00
Vladimir Mandic 6e04bac7de merge control 2023-12-20 15:27:13 -05:00
Disty0 711b744d30 IPEX fix slicing rate 2023-12-20 22:34:57 +03:00
Vladimir Mandic 567e637b9c add blip diffusion 2023-12-20 11:33:16 -05:00
Vladimir Mandic 8ceeee8b87 add trace logging 2023-12-20 10:17:39 -05:00
Disty0 1eacfc5129 IPEX fixes 2023-12-19 22:34:43 +03:00
Vladimir Mandic 9c8be9837b minor updates 2023-12-19 14:02:53 -05:00
Disty0 14f03c72f9 IPEX fix SDPA and SD Video 2023-12-19 20:50:35 +03:00
Vladimir Mandic 2986f5532e image check and save 2023-12-19 08:26:13 -05:00
AI-Casanova ff94b197c1 Fix scheduling, lint 2023-12-18 23:42:31 -06: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 4f35976572
Merge pull request #2634 from Trojaner/fix/api-alignment
HTTP API alignment with AUTOMATIC1111 (breaking change)
2023-12-18 11:50:31 -05:00
Vladimir Mandic 21adfd57b7 make some params optional 2023-12-18 11:46:08 -05:00
Enes Sadık Özbek 17e8fbfe92
Fix png-info and extensions endpoints 2023-12-18 18:29:08 +03:00
Enes Sadık Özbek 350cd17465
Implement remaining API changes 2023-12-18 18:09:25 +03:00
Enes Sadık Özbek 5b61d849b8
[Breaking change] Align some APIs with AUTOMATIC1111
* /refresh-vaes -> /refresh-vae
* /sd_models response [name -> model_name]
2023-12-18 15:21:06 +03: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
Vladimir Mandic a3c4b5097c fix styles refresh 2023-12-17 15:50:54 -05:00
Vladimir Mandic 2b56e82f16 modularize en 2023-12-17 09:32:26 -05:00
Vladimir Mandic 4f5478df4f fix reuse seed 2023-12-17 07:56:23 -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 0609e995bf add upscaler refresh 2023-12-16 18:38:27 -05:00
Vladimir Mandic b9df9be5a5 add segmind vega 2023-12-16 18:06:10 -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 934152dcfc fix hypertile 2023-12-14 09:22:05 -05:00
Vladimir Mandic 72839b7d65 refactoring to support control 2023-12-13 15:48:10 -05:00
Disty0 68206fbc05 IPEX update to PyTorch 2.1 wheels for Linux 2023-12-13 18:19:08 +03:00
Vladimir Mandic 9e9d31f1b7 fix save params.txt 2023-12-13 08:34:42 -05:00
Vladimir Mandic 033569cfb1 minor updates 2023-12-12 14:36:00 -05:00
Vladimir Mandic e2213a49e0 add pipeline script example 2023-12-11 19:44:00 -05:00
Disty0 86894b8249 Remove Intel ARC 1024x1024 workaround from OpenVINO 2023-12-11 19:29:55 +03:00
Disty0 ac85b3a423 Add OpenVINO cache path option to System Paths 2023-12-11 19:18:30 +03:00
Vladimir Mandic 839e12e062 cleanup 2023-12-11 10:57:11 -05:00
Disty0 0fe27642a5 IPEX fix dtype errors when GPU supports 64 bit 2023-12-11 18:45:02 +03:00
Vladimir Mandic 0d805e3ed7 fix tensor conversion 2023-12-11 10:22:53 -05:00
Vladimir Mandic b7cbd34106 update api and img2img 2023-12-11 10:00:42 -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 4823595dc9 minor fixes 2023-12-10 10:27:44 -05: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 6cd178541b fix hdr 2023-12-09 10:00:29 -05:00
Vladimir Mandic b96131fad2 fix en sort 2023-12-09 09:36:33 -05:00
Vladimir Mandic b1e3a8fa15 fix filenamegen 2023-12-08 13:27:56 -05:00
Vladimir Mandic f49e66577a lint fixes 2023-12-08 12:27:00 -05:00
Vladimir Mandic aa4b9b4119 enable civit token 2023-12-08 12:21:25 -05:00
Vladimir Mandic 87eeedd276 long filename and batch processing 2023-12-08 12:05:21 -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 72a167c43a add video processing 2023-12-08 10:24:01 -05:00
Vladimir Mandic bd64bac2a3 update ip-adapter, schedulers and xyz-grid 2023-12-07 12:41:11 -05:00
Disty0 21eb4292e3 Fix IPEX Optimize 2023-12-06 19:53:52 +03:00
Vladimir Mandic 71743dfda3 add playground models 2023-12-06 10:48:42 -05:00
Disty0 6031b7199e IPEX fix torch.UntypedStorage.is_cuda 2023-12-05 22:20:52 +03:00
Vladimir Mandic 0febcc2aa8 animatediff full latent mode 2023-12-05 14:07:52 -05:00
Vladimir Mandic 6cec284a6f cleanup compile 2023-12-05 11:50:03 -05:00
Disty0 c8970ab361 Cleanup IPEX libs 2023-12-05 19:48:15 +03:00
Vladimir Mandic 7c16ea6b1d add modelscope 2023-12-05 11:29:43 -05:00
Disty0 629a46aaa5 Disable IPEX attention if the GPU supports 64 bit 2023-12-05 19:27:14 +03:00
Vladimir Mandic 635efb0203 fix save metadata 2023-12-05 10:04:32 -05:00
Vladimir Mandic bf5ea244a8 add hdr settings to metadata 2023-12-05 09:26:55 -05:00
Vladimir Mandic 6cd4abba97 cleanup 2023-12-04 19:16:35 -05:00
Vladimir Mandic 167b903ed8 add additional ip-adapters 2023-12-04 19:16:12 -05:00
Vladimir Mandic 2b49dae74f en load improvements, torchvision compatibility fix 2023-12-04 18:32:52 -05:00
Vladimir Mandic 2933ed6b4a lint fixes 2023-12-04 10:08:11 -05:00
Vladimir Mandic 77f06befa4 handle zero size image resize 2023-12-04 10:01:15 -05:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -05:00
Disty0 960381210f IPEX fix UntypedStorage and Generator 2023-12-02 01:08:02 +03:00
Vladimir Mandic 2552555678 animatediff live previews and implement interpolate 2023-12-01 13:16:23 -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 202f27e80f add tokenizers to explict requirements 2023-11-27 17:24:06 -05:00
Vladimir Mandic 12411f2858 update hdr 2023-11-27 09:03:22 -05:00
Vladimir Mandic 49f8730814 fix save text file for manually saved images 2023-11-27 08:07:12 -05:00
AI-Casanova 6d11fdf695
SDXL Rebasin (#2561)
* Add SDXL PermSpec

Also attempt to fix unmatched key error

* Fixes

* Renumber SDXL PermSpec
2023-11-25 15:23:30 -06:00
Vladimir Mandic 1502dc2e13 add kandinsky3 support 2023-11-25 13:27:16 -05:00
Vladimir Mandic 128bbe5561 fix img2img/inpaint paste params 2023-11-25 11:53:51 -05:00
Vladimir Mandic 9bd66e578a fix prompt padding 2023-11-25 10:16:03 -05:00
Vladimir Mandic d7ff507e4c autodetect inpaint and instruct pipelines 2023-11-25 08:21:04 -05:00
Vladimir Mandic bcba5cadab add ip adapter and hdr latent control 2023-11-24 18:06:09 -05:00
Vladimir Mandic 1d5eb29550 lint fixes 2023-11-24 09:27:28 -05:00
Vladimir Mandic 0e95630ee5 fix prompt display 2023-11-24 09:00:17 -05:00
Vladimir Mandic 9edfc987e0 add task_args 2023-11-24 08:32:06 -05:00
Vladimir Mandic 36562509f0 fix types 2023-11-23 14:38:46 -05:00
Vladimir Mandic aed6aa0217 relax type checks 2023-11-23 14:23:19 -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 fd9d747a47 force inpaint 2023-11-22 12:28:35 -05:00
Vladimir Mandic d660b288f8 model update check if latest exists 2023-11-22 11:53:41 -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 e6a8a43bdc fix controlnet compatibility 2023-11-20 16:49:46 -05:00
AI-Casanova d077658524 Fix rebasin 2023-11-20 14:34:15 -06:00
Vladimir Mandic 00b246c052 update advanced merging 2023-11-20 11:43:30 -05:00
AI-Casanova 564b67bcd8
Merge: Typo and error handling (#2527)
* Typo and error handling

* typo typo

* error logging

* fix alpha vs beta

* Don't log VAE keys in unpruning
2023-11-19 13:47:02 -06:00
Vladimir Mandic 2b5adeeb92
Merge pull request #2443 from AI-Casanova/Extended-Merging
Advanced Merging
2023-11-19 13:09:57 -05:00
AI-Casanova 581ab58bdd Fix item 1,2,3,5,6 2023-11-19 12:03:13 -06:00
AI-Casanova c5371a5087 pylint fixes 2023-11-18 12:05:15 -06:00
AI-Casanova f2b66b8720 Error handling 2023-11-18 11:45:54 -06:00
AI-Casanova d9d3c2e7fc Replace Original Merge Method Major Cleanup 2023-11-18 11:33:20 -06:00
AI-Casanova 026790fe4c Cleanup and optimization 2023-11-18 11:14:15 -06:00
AI-Casanova d2d54af7ac Cleanup and Credits 2023-11-18 11:04:43 -06:00
AI-Casanova cea7464553 Use Internal read_state_dict 2023-11-18 10:45:54 -06:00
Vladimir Mandic b647fb84e9 fix non-sd pipeline 2023-11-18 11:20:31 -05:00
Vladimir Mandic 53019de30f todo cleanup 2023-11-18 09:22:12 -05:00
Vladimir Mandic 606e4d5c08 configurable hf cache 2023-11-18 08:46:59 -05:00
Disty0 bdc4bd846f IPEX fix torch.load 2023-11-18 15:42:53 +03:00
AI-Casanova c93d6c7e26 typos 2023-11-17 21:47:33 -06:00
AI-Casanova 73cbd609c1 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-17 21:30:46 -06:00
AI-Casanova 6aa859198f device fixes 2023-11-17 21:10:56 -06:00
AI-Casanova cb8be0fc6e Add torch.device 2023-11-17 20:35:06 -06:00
AI-Casanova abb4739590 More UI Improvements 2023-11-17 20:18:55 -06:00
AI-Casanova 2515b83251 GUI Improvement 2023-11-17 19:30:33 -06:00
Vladimir Mandic d46dddd024 fix upscale and add some compile options 2023-11-17 16:59:33 -05:00
Disty0 7ef41af090 Fix AnimateDiff is_sdxl error 2023-11-17 23:32:12 +03:00
Vladimir Mandic 75af4087e8 formatting 2023-11-17 10:53:21 -05:00
Vladimir Mandic 378c167820 update pillow 2023-11-17 08:38:16 -05:00
AI-Casanova 9b80d51630 Add Doc Strings to UI 2023-11-16 21:21:52 -06:00
AI-Casanova 17d5b15224 Doc Strings for Merge Methods 2023-11-16 21:00:27 -06:00
AI-Casanova 6c34317a57 fix precision 2023-11-16 19:31:36 -06:00
AI-Casanova 26f6e717f6 Update extras.py 2023-11-16 19:17:13 -06:00
AI-Casanova db20da7b1a Fixes 2023-11-16 19:01:03 -06:00
AI-Casanova 55363254d4 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-16 17:28:11 -06:00
Vladimir Mandic 53691c993e xyz formatting 2023-11-16 15:52:33 -05:00
Vladimir Mandic 12cf688cbe authentication and locking improvements 2023-11-16 15:26:36 -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
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
Disty0 247a30a42c OpenVINO disable model caching 2023-11-15 23:45:53 +03:00
Disty0 f5f14282fb OpenVINO move caches to compiled_model_state 2023-11-15 20:35:50 +03:00
Vladimir Mandic b10cdb9d3e multiple cleanups 2023-11-15 12:08:54 -05:00
Vladimir Mandic eb98547ab8 lint updates 2023-11-14 17:24:04 -05:00
Vladimir Mandic c4fa799d83
Merge pull request #2510 from midcoastal/Feat/XYZSubGrids
Feat/xyz sub grids
2023-11-14 17:17:47 -05:00
Vladimir Mandic 1de913f984 auto refresh styles on change 2023-11-14 17:16:33 -05:00
Vladimir Mandic 882da270e9 add SD_LORA_DIFFUSERS 2023-11-13 18:42:02 -05:00
Midcoastal 8a27e1433b
Enable grid overall title. 2023-11-13 18:37:34 -05:00
Vladimir Mandic 3f6c0d843c new line means break 2023-11-13 18:08:07 -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 d6aefd046c reference match previews 2023-11-13 16:20:21 -05:00
Vladimir Mandic 35cd05b721 fix model compile 2023-11-13 12:35:00 -05:00
Disty0 7d6ace5a4c Disable precompile for OpenVINO 2023-11-13 20:29:49 +03:00
Vladimir Mandic a0b8bcf63b refactor model compile and add stable-fast 2023-11-13 12:25:45 -05:00
Vladimir Mandic f1862579fd cleanup compile 2023-11-13 09:27:57 -05:00
Vladimir Mandic cff5d637bc fix inpaint 2023-11-12 17:35:33 -05:00
Vladimir Mandic 39085ab39d minor updates 2023-11-11 11:38:07 -05:00
Vladimir Mandic 9c7e1291a7 move save params to after generate 2023-11-11 07:59:48 -05:00
AI-Casanova 310b73a908 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-10 22:30:07 -06:00
Vladimir Mandic 25953f68a2 update paste parsing 2023-11-10 11:30:52 -05:00
Vladimir Mandic 056b04dcd0 lint cleanup 2023-11-10 10:10:41 -05:00
Vladimir Mandic 79af359b1b minor updates 2023-11-10 10:04:15 -05:00
Disty0 eda2aa6da2 re-update lcm-convert.py 2023-11-10 17:19:50 +03:00
vladmandic b8a980c705 Deploying to master from @ vladmandic/automatic@f29d392607 🚀 2023-11-10 14:12:28 +00:00
Disty0 e2bcbaeed0 update lcm-convert.py 2023-11-10 17:12:15 +03:00
Vladimir Mandic f29d392607
Merge pull request #2489 from Nuullll/sdnext-master
Fix UnboundLocalError for variable 'updated'
2023-11-10 08:50:27 -05:00
Vladimir Mandic 9778af1bc6 safe check scripts type 2023-11-10 08:46:26 -05:00
Nuullll 3616fba9be Fix UnboundLocalError for variable 'updated' 2023-11-10 21:44:09 +08:00
AI-Casanova 39acd0af66 Add VAE bake 2023-11-10 07:38:37 -06:00
Vladimir Mandic 653d253bfe allow upscalers in subfolders 2023-11-10 08:34:35 -05:00
Vladimir Mandic dc436b1f9d fix 2023-11-10 08:28:33 -05:00
AI-Casanova b65dfae35a Fix rebasin 2023-11-10 07:21:24 -06:00
AI-Casanova 02a32e7108 Add Logging 2023-11-10 07:02:17 -06:00
AI-Casanova 864fc898fa Bugfix 2023-11-10 06:51:38 -06:00
Vladimir Mandic 6564e99ccd update pipelines and xyzgrid 2023-11-09 18:22:24 -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 7cbd2bc9b5 fix list view 2023-11-09 09:28:44 -05:00
Vladimir Mandic f6dd495eb3 multiple fixes 2023-11-09 09:04:50 -05:00
Vladimir Mandic 3c9c9cf471 fix paste parser 2023-11-08 12:21:36 -05:00
Vladimir Mandic 28365d6b69 fix forced filename 2023-11-08 12:09:09 -05:00
Vladimir Mandic a68f0bcbe4 rework prompt paste 2023-11-08 11:33:40 -05:00
Vladimir Mandic 8bcb14d0ac fix adetailer with controlnet 2023-11-08 08:35:13 -05:00
Vladimir Mandic a03d7ce99c fix manual save 2023-11-08 07:41:42 -05:00
Vladimir Mandic 00562a5084 cleanup model paths 2023-11-08 07:38:45 -05:00
Seunghoon Lee 924fae3d84
DirectML LCMScheduler fix 2023-11-08 17:30:24 +09:00
Vladimir Mandic af30c1e27c en error handler 2023-11-07 13:15:45 -05:00
AI-Casanova e112cb17b9 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-07 10:16:35 -06:00
Vladimir Mandic 56cf80b8e0 fix inpaint 2023-11-07 10:12:21 -05:00
Vladimir Mandic 1f068feb44 fix dpm sde 2023-11-07 09:35:54 -05:00
Vladimir Mandic e53db4e259 use ThreadPoolExecutor for extra networks 2023-11-07 08:00:44 -05:00
Vladimir Mandic 981acdb2a5 new diffusers callbacks 2023-11-06 15:26:15 -05:00
Vladimir Mandic 3062b1125e fix progress at zero 2023-11-06 14:20:16 -05:00
Vladimir Mandic 28ee8b4d57 improve preview lookups 2023-11-06 12:19:52 -05:00
Vladimir Mandic 152f45925e add pixart model 2023-11-06 10:12:33 -05:00
Vladimir Mandic cca69e526d update 2023-11-06 09:42:09 -05:00
AI-Casanova 515a546a91 Fix rebasin 2023-11-06 08:19:50 -06:00
AI-Casanova 44fcf8f4a2 Merge remote-tracking branch 'upstream/dev' into Extended-Merging 2023-11-05 19:47:25 -06:00
AI-Casanova 020d8ed1dc Add Merge Files Natively 2023-11-05 19:45:15 -06:00
Vladimir Mandic d878970873 add reference models 2023-11-05 11:07:39 -05:00
AI-Casanova 685f392967 Added Tabs 2023-11-05 07:10:05 -06:00
Vladimir Mandic 2919774c01 improve en display 2023-11-05 08:09:40 -05:00
Vladimir Mandic b2af7e0d95 lint updates 2023-11-04 13:20:22 -04: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 ca0af39086 attempt to autofix nan values 2023-11-04 11:34:18 -04:00
Vladimir Mandic 418279ff7b native implementation for interrogator 2023-11-04 10:53:38 -04:00
Vladimir Mandic 413da5a14a tempfile handling 2023-11-03 18:26:12 -04:00
Vladimir Mandic 611598d22f cleanup 2023-11-03 18:12:10 -04:00
AI-Casanova 39a37597b5 Further UI Work 2023-11-03 14:55:57 -05:00
Vladimir Mandic 8432e68d30 add extra networks list view 2023-11-03 13:55:40 -04:00
Vladimir Mandic da3d5d0fc7 context menus 2023-11-03 11:41:46 -04:00
Disty0 996344c6f7 OpenVINO support for ESRGAN Upscaler and Torch 2.1 2023-11-03 14:24:13 +03:00
Vladimir Mandic 5debfd2f09 remove warning 2023-11-02 14:49:49 -04:00
Vladimir Mandic 53031fdfba fix k-diffusion 2023-11-01 13:41:54 -04:00
Vladimir Mandic eddcc360be support onnx branch and css tweaks 2023-11-01 11:48:17 -04:00
Vladimir Mandic e8d66a7d87 update note 2023-10-31 18:51:59 -04:00
Vladimir Mandic 072b870b3f work on taesd encode 2023-10-31 18:41:14 -04:00
Vladimir Mandic ec0d49acb7 css fixes 2023-10-31 13:53:52 -04:00
Vladimir Mandic 676ac120f1 log cleanup 2023-10-31 12:34:35 -04:00
Vladimir Mandic 4392e69431 fix clean install 2023-10-31 12:05:29 -04:00
Vladimir Mandic 96a138fe3c handle k-diffusion module 2023-10-31 11:42:32 -04:00
Vladimir Mandic 1bde2a895b fix ext url 2023-10-31 10:42:35 -04:00
Vladimir Mandic cc7ad5e8de cleanup 2023-10-31 10:39:32 -04:00
Vladimir Mandic 76dc94010f enable taesd for lcm 2023-10-31 10:04:09 -04:00
Vladimir Mandic 0d7807acd3
Merge branch 'dev' into temp 2023-10-31 08:48:52 -04:00
d8ahazard 836dee9204 Fix potential issues parsing extension repo URLs
If a repo URL has git@github... in it, the author parsing will fail and the app will crash.
2023-10-30 21:19:52 -05:00
Vladimir Mandic 5ae6128393 update css 2023-10-30 09:26:52 -04:00
Vladimir Mandic 8734445ae9 add models-dir to settings and simplify path improts 2023-10-30 08:31:42 -04:00
Vladimir Mandic 05a250cbf7 update 2023-10-29 11:22:26 -04:00
Vladimir Mandic 19203aab6c en add sort and other updates 2023-10-29 10:29:50 -04:00
Seunghoon Lee 0fb95df44d cleanup? 2023-10-29 22:57:16 +09:00
Seunghoon Lee db58f1f2ba
add prefix for directml specific option 2023-10-28 14:24:33 +09:00
Seunghoon Lee 1b7bdcb102
fix directml fp16 inpainting 2023-10-28 14:24:13 +09:00
Seunghoon Lee e750112612
add prefix for directml specific option 2023-10-28 12:57:28 +09:00
Vladimir Mandic d91338b3c7 fix seq in path 2023-10-26 12:01:55 -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 480f4fd8f9 add missing function 2023-10-26 07:19:15 -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 90d2197e04 Revert "add binary mask"
This reverts commit fc7e3c5721.
2023-10-26 07:17:04 -04:00
Vladimir Mandic 4b91ee0044
Merge branch 'dev' into master 2023-10-26 07:12:59 -04:00
Vladimir Mandic fc7e3c5721 add binary mask 2023-10-26 07:09:15 -04:00
Vladimir Mandic d135fe1383 fix fn sequence 2023-10-26 07:02:44 -04:00
Vladimir Mandic 4ab584e93f update changelog 2023-10-25 19:44:53 -04:00
Disty0 98c27b4e16 Fix for Zero123+ 2023-10-26 00:22:23 +03:00
Vladimir Mandic ecadbc1683 lint updates 2023-10-25 11:10:21 -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 11834888c4 fix v_preditction 2023-10-24 14:12:02 -04:00
Disty0 dbd0bf4bac Add custom pipeline support for Diffusers backend 2023-10-24 20:12:40 +03:00
Vladimir Mandic bc80c14704 log cleanup 2023-10-24 08:47:08 -04:00
Disty0 b834e3ad0b Fix hires progress 2023-10-24 02:01:38 +03:00
Vladimir Mandic 0d2f535527
Merge pull request #2391 from vladmandic/master
update dev
2023-10-23 13:25:37 -04:00
Vladimir Mandic 619e385f2d fix image index when saving multiple images 2023-10-23 11:01:09 -04:00
Vladimir Mandic d5c264ec75 fix before hires 2023-10-23 10:19:40 -04:00
Vladimir Mandic bbb37ccc50 fix refiner 2023-10-22 23:52:30 -04:00
Vladimir Mandic 40ec2b8ec9
Merge pull request #2386 from vladmandic/master
update dev
2023-10-22 12:54:28 -04:00
Vladimir Mandic c0ef02abba update scripts 2023-10-22 12:27:33 -04:00
Vladimir Mandic fab013d31c fix diffusers base/hires/refiner workflows 2023-10-22 11:11:28 -04:00
Vladimir Mandic be75ed7e9f compatibility items 2023-10-22 09:58:55 -04:00
Seunghoon Lee 07a0d081e5
nan catch as an option 2023-10-22 18:39:27 +09:00
Seunghoon Lee 57b27e6c45
retry if nan is produced from token merging (directml) 2023-10-22 18:25:41 +09:00
Disty0 0288106a1a IPEX fix SwinIR with BF16 2023-10-22 01:37:19 +03:00
Disty0 0c70e6e595 Add compile support for upscalers 2023-10-22 00:29:37 +03:00
Vladimir Mandic 443dde9cb5 direct import of external repos and remove clone from installer 2023-10-21 14:26:32 -04:00
Vladimir Mandic 8eb5e43b7d direct import of external repos and remove clone from installer 2023-10-21 14:26:32 -04:00
Vladimir Mandic 2f1f997421 fix xyz grid fill 2023-10-21 14:16:16 -04:00
Vladimir Mandic 2b59b10b8a update todo/changelog 2023-10-21 13:53:25 -04:00
Disty0 f15308c473 Update Diffusers secondary sampler 2023-10-21 19:30:33 +03:00
Vladimir Mandic 9a1c52f4db fix 2023-10-21 12:20:10 -04:00
Vladimir Mandic b648acf9b4 fix windows path 2023-10-21 11:22:47 -04:00
Vladimir Mandic 02fe33cb16 fix image filename handling 2023-10-21 11:13:49 -04:00
Vladimir Mandic c22dd25868 quick fix 2023-10-20 20:11:07 -04:00
Vladimir Mandic e1c46427e0 minor fixes 2023-10-20 19:03:45 -04:00
Vladimir Mandic df7c04ab27 add keep-interrupted option 2023-10-20 11:51:47 -04:00
Disty0 7b63e4c911 OpenVINO replace MULTI device with HETERO 2023-10-20 18:28:13 +03:00
Vladimir Mandic d8bb3496df force update deis settings 2023-10-20 09:31:51 -04:00
Vladimir Mandic 3794af95c5 add a1111 compatibility items 2023-10-20 08:19:37 -04:00
Vladimir Mandic 52078069d2 mark external themes clearly 2023-10-20 07:30:13 -04:00
Vladimir Mandic 53d0cb35b8 cleanup 2023-10-19 13:43:41 -04:00
Vladimir Mandic 441ca2f648 fix model paths 2023-10-19 13:22:34 -04:00
Vladimir Mandic d173821116 force convert relative paths 2023-10-19 11:55:27 -04:00
Vladimir Mandic 6bda4fbc71 use short model name and update hints 2023-10-19 11:43:29 -04:00
Vladimir Mandic 11c073a3ca fix create style filename template 2023-10-19 10:37:03 -04:00
Vladimir Mandic e0c92b1085 fix samplers 2023-10-19 10:19:46 -04:00
Vladimir Mandic 505f36df87 multiple fixes 2023-10-19 09:36:12 -04:00
Disty0 96f14e48fa Temp fix for OpenVINO PyTorch 2023-10-19 10:52:03 +03:00
Vladimir Mandic 76d262f1d1 lint fix 2023-10-18 13:25:12 -04:00
Vladimir Mandic 079f5c9f2a add compatibility reexport for codeformers 2023-10-18 13:01:26 -04:00
Vladimir Mandic 231ca1ac7e fixes for zero-day issues 2023-10-18 11:37:33 -04:00
Vladimir Mandic 195386cdb0 allow windows cross-mount folders 2023-10-17 10:41:36 -04:00
Vladimir Mandic cb2efb120a safe mode disable built-in 3rd party extensions 2023-10-17 09:35:16 -04:00
Vladimir Mandic f1f8e0374b handle multiple mounts 2023-10-17 09:28:42 -04:00
Vladimir Mandic c77bd7dcef a1111 compatibility items 2023-10-17 09:22:40 -04:00
Vladimir Mandic 53c7713e4d update changelog 2023-10-17 08:47:25 -04:00
Vladimir Mandic 8aa2d0347c premerge fixes 2023-10-17 08:01:35 -04:00
Seunghoon Lee 36bef98cd5
Show device information log for DirectML. 2023-10-17 12:24:27 +09: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 21595ee9e7 lint cleanup 2023-10-16 12:07:37 -04:00
Vladimir Mandic 44f817acc6 workaround for civitai helper 2023-10-16 11:02:02 -04:00
Vladimir Mandic b50710bf33 reduce debug log 2023-10-14 17:32:27 -04:00
Vladimir Mandic a29b740cee reset pipeline and handle hypertile errors 2023-10-14 17:03:49 -04:00
Vladimir Mandic 9124352911 fix typo 2023-10-14 15:29:05 -04:00
Vladimir Mandic a48a7a3458 linting updates 2023-10-14 14:44:59 -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 a21477fe1e update 2023-10-14 09:03:22 -04:00
Vladimir Mandic 57ce94fcde datetime fixes 2023-10-14 08:51:11 -04:00
Hameer Abbasi 2a9e7bf347 Bugfix 2023-10-14 06:05:50 +00:00
Disty0 fa86cc0a44 Fix Diffusers manual model loading 2023-10-14 02:46:52 +03:00
Disty0 343e0dcd17 IPEX & OpenVINO 1024x1024 workaround 2023-10-14 02:14:54 +03:00
Disty0 8ebef922dd IPEX Fix ControlNet IP Adapter 2023-10-13 23:34:18 +03:00
Vladimir Mandic 74fb8fba3e extension curation 2023-10-13 15:30:51 -04:00
Vladimir Mandic b55bb8c883 error handling in prompt parser 2023-10-13 09:30:17 -04:00
Vladimir Mandic 24a8699890 fixed 2023-10-12 12:47:33 -04:00
Vladimir Mandic 9b8cc1bb07 cleanup 2023-10-12 11:44:43 -04:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic 41010452a8
Merge pull request #2302 from BlueAmulet/sdxl_approx_simple
Approximate Simple for SDXL
2023-10-12 11:40:14 -04:00
Vladimir Mandic e2e6648bdb implement apply style 2023-10-12 11:00:30 -04:00
Vladimir Mandic 8d417987c5 fix sampler options 2023-10-12 09:10:43 -04:00
BlueAmulet ba7f9614d6 Approximate Simple for SDXL 2023-10-11 21:18:32 -06:00
Vladimir Mandic 6d14bc0a8a civit downloader extra types 2023-10-11 16:43:28 -04:00
Vladimir Mandic 7fb25b99b0 couple of img2img fixes 2023-10-11 15:41:08 -04:00
Vladimir Mandic da8b5eced0 fix int in namegen 2023-10-11 13:36:55 -04:00
Vladimir Mandic 20c2d83ad7 refactor filename pattern handling 2023-10-11 11:38:23 -04:00
Vladimir Mandic bfdafb6215 extension compatibility patches 2023-10-10 10:12:31 -04:00
Vladimir Mandic 188fb1efcd allow tuple for dropdowns 2023-10-10 07:54:59 -04:00
Vladimir Mandic 22405a845a safe hypertile reset 2023-10-09 15:56:01 -04:00
Vladimir Mandic b5eaa0ccb4 fix samplers init 2023-10-09 15:42:12 -04:00
Vladimir Mandic d80890531c add experimental override 2023-10-09 14:55:43 -04:00
Vladimir Mandic 49c58a0c06 gradio update phase one 2023-10-09 14:45:25 -04:00
Vladimir Mandic 2a9ef465c8 move samplers init to separate call 2023-10-09 09:38:27 -04:00
Vladimir Mandic e881e885e8 fix hypertile with hires 2023-10-09 09:11:46 -04:00
Vladimir Mandic d951007d21 add motd 2023-10-09 08:46:48 -04:00
Vladimir Mandic 6b4df05b5c fix sampler eta 2023-10-09 07:27:00 -04:00
Vladimir Mandic 512dfb990c cleanup 2023-10-08 16:14:41 -04:00
Vladimir Mandic 4263d55e7c model filter 2023-10-08 16:12:25 -04:00
Vladimir Mandic fccb237542 fix lora unload 2023-10-08 16:01:53 -04:00
Vladimir Mandic f2fc41cfc2 refactor lora load/unload 2023-10-08 12:00:51 -04:00
Vladimir Mandic c0e4605dfb
Merge pull request #2293 from AI-Casanova/lycoris-diffusers
Lycoris loading on Diffusers Backend
2023-10-08 08:20:25 -04:00
Vladimir Mandic dca4efb3ad handle xformers 2023-10-08 08:10:34 -04:00
Vladimir Mandic 564d04d9f4
Merge pull request #2296 from vladmandic/master
update dml
2023-10-08 07:26:55 -04:00
Vladimir Mandic 65dfed93a1 add process batch 2023-10-08 07:25:45 -04:00
Vladimir Mandic 435a8af57c
Merge branch 'dev' into vlad3 2023-10-08 07:16:10 -04:00
AI-Casanova cc86189a6a
Delete modules/lora_diffusers.py 2023-10-07 13:15:07 -05:00
AI-Casanova d79d2a7663
remove obsolete references to lora_diffusers.py 2023-10-07 13:13:24 -05:00
Seunghoon Lee e5f8b7f0a4
update dml 2023-10-08 02:19:56 +09:00
AI-Casanova b41d3b2efb
Update sd_models.py for LyCORIS loading on Diffusers Backend 2023-10-07 12:12:24 -05:00
Vladimir Mandic 1a984c2827 implement styles extra field 2023-10-07 09:59:02 -04:00
Vladimir Mandic 8e22fbbdb6 add style as en provider 2023-10-07 08:07:42 -04:00
Vladimir Mandic 109b1d6907 update style 2023-10-06 19:09:46 -04:00
Vladimir Mandic b2d1cd3a2b update changelog 2023-10-06 17:52:20 -04:00
Vladimir Mandic a47c4cf04d update settings and fix references to state 2023-10-06 17:18:42 -04:00
Vladimir Mandic 3c794fa124 typos 2023-10-06 16:15:26 -04:00
Vladimir Mandic 2ec797472b add hypertile 2023-10-06 16:10:56 -04:00
Vladimir Mandic 35caccd3bd add free-u 2023-10-06 12:37:26 -04:00
Vladimir Mandic b225cedb50 css tweaks 2023-10-06 08:33:12 -04:00
Disty0 c3df104cde Move OpenVINO options to Model Compile 2023-10-06 01:37:24 +03:00
Disty0 e178ab89ee OpenVINO add disable caching option 2023-10-06 01:33:07 +03:00
Vladimir Mandic b790bcd637 xyz grid allow string/select switch 2023-10-05 15:10:01 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic 7dc098182a new lora handler and remove lyco 2023-10-05 14:30:51 -04:00
Vladimir Mandic 1369c4d714 initial built-in styles 2023-10-04 16:06:02 -04:00
Vladimir Mandic 30fe75f205 fix recently broken extension js code loading 2023-10-04 12:35:18 -04:00
Vladimir Mandic 1e8205fbb1 bring metadata apply to speed 2023-10-04 11:10:47 -04:00
AI-Casanova 322357fff6
Update shared.py 2023-10-03 20:33:49 -05:00
AI-Casanova 14914b9bfb
Fix Diffusers Prompt Padding and add pooled option 2023-10-03 20:31:50 -05:00
Vladimir Mandic 1e70a1ae57 civitai multithreaded downloads 2023-10-03 10:46:00 -04:00
Symbiomatrix f904b24a1a
Missed line. 2023-10-03 17:44:08 +03:00
Symbiomatrix bb201475a9
Made frame batch mode toggleable. 2023-10-03 17:36:53 +03:00
Symbiomatrix 5874b81c23
Add setting for batch frames. 2023-10-03 17:30:43 +03:00
Symbiomatrix 07d3d88fbb
Merge branch 'master' into vlad3 2023-10-03 10:45:28 +03:00
Vladimir Mandic 578d270cab fix save image json 2023-10-02 17:51:47 -04:00
Vladimir Mandic f3c6bfbe7f finish nvml 2023-10-02 17:25:57 -04:00
Vladimir Mandic 39933a0e28 add nvml api 2023-10-02 16:33:26 -04:00
Vladimir Mandic ee794a137d change diffusers prompt attention 2023-10-02 15:20:09 -04:00
Vladimir Mandic a93df3a8b2
Merge pull request #2276 from vladmandic/AI-Casanova-Prompt-Parser
Major Refactor prompt_parser_diffusers.py
2023-10-02 14:23:00 -04:00
Vladimir Mandic bf3bb91d56 avoid js double load 2023-10-02 11:39:12 -04:00
Vladimir Mandic c4071b6723 cache script/extension info 2023-10-02 09:34:01 -04:00
Vladimir Mandic 1e66ff4f99 cleanup gradio 2023-10-02 08:57:43 -04:00
Vladimir Mandic 9a5f339082 add compact view 2023-10-02 07:56:11 -04:00
AI-Casanova 626b4e3e13
Update processing_diffusers.py 2023-10-01 15:56:14 -05: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 9d335a34e8 update en paths 2023-10-01 16:20:27 -04:00
Vladimir Mandic d572abbec8 update changelog 2023-10-01 14:28:42 -04:00
Vladimir Mandic 1c28757061 update train script 2023-10-01 13:59:13 -04:00
Vladimir Mandic 6ea5c177e7 add downloader 2023-10-01 10:35:49 -04:00
Vladimir Mandic 4c98b8d1c7 minor patches and nvml cli 2023-09-30 17:17:57 -04:00
Vladimir Mandic d01f01c981 update upscalers 2023-09-30 09:20:25 -04:00
Disty0 f11cf4b29a OpenVINO add Multi GPU option 2023-09-30 12:48:21 +03:00
Vladimir Mandic 965e5a95f1 refactor diffusers tasks 2023-09-29 14:13:30 -04:00
Disty0 dc31dcbc1c Cleanup 2023-09-29 18:29:44 +03:00
Disty0 72a33d5247 Update device logging 2023-09-29 18:28:04 +03:00
Vladimir Mandic 1da359eb6e fix prompt clear 2023-09-29 11:23:39 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -04:00
Vladimir Mandic a2b00f34ec add vae to en 2023-09-29 09:00:44 -04:00
Disty0 f11946f3ba IPEX add torch.version.cuda hijack 2023-09-29 15:34:06 +03:00
Vladimir Mandic fca8680521 add nodejs sdapi example 2023-09-29 08:23:42 -04:00
Vladimir Mandic e830b41dfa one more sdxl embeddings fix 2023-09-28 16:03:18 -04:00
Vladimir Mandic a785f3da2e update main ui 2023-09-28 14:33:20 -04:00
Vladimir Mandic 23593d5442 en styles phase two 2023-09-28 14:33:20 -04:00
Vladimir Mandic 21e99d9280
Merge pull request #2263 from AI-Casanova/patch-5
Fix SDXL TI v2
2023-09-28 14:33:03 -04:00
Disty0 2784dcaef9 OpenVINO print raw device 2023-09-28 21:30:40 +03:00
Disty0 6184a8cb5c IPEX and DML fix Cuda error 2023-09-28 20:51:11 +03:00
Disty0 21d53b6ac8 Cleanup 2023-09-28 19:53:52 +03:00
Disty0 7a3c1da954 Add OpenVINO device logging 2023-09-28 19:33:14 +03: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
Disty0 5edf481c8d Add Torch GC threshold slider 2023-09-28 14:38:22 +03:00
Disty0 f78c5c6423 IPEX more attention optimizations 2023-09-28 13:59:50 +03:00
Disty0 072469245b Merge branch 'master' into dev 2023-09-28 00:28:01 +03:00
Disty0 49d181b8a3 Remove OpenVINO device warning 2023-09-28 00:26:53 +03:00
Disty0 180f8c9c93 Update OpenVINO 2023-09-27 20:09:59 +03:00
Vladimir Mandic 2cd5964c9b add sigma min/max 2023-09-27 12:06:14 -04:00
Vladimir Mandic d67152cab4 cleanup upscaler settings 2023-09-27 09:24:23 -04:00
Vladimir Mandic 76894461d2
Merge pull request #2259 from AI-Casanova/patch-3
Update lora_diffusers.py for Diffusers 0.21.2
2023-09-27 09:23:11 -04:00
Vladimir Mandic ef0e8a5161 upscaler caching and ti model detection 2023-09-27 08:49:04 -04:00
Vladimir Mandic 73b6d4f57c add current_optimizer info 2023-09-27 06:02:12 -04:00
AI-Casanova 7a00e16725
Update lora_diffusers.py for Diffusers 0.21.2
Caution, NOT backward compatible to 0.20.2
2023-09-26 18:25:15 -05:00
Vladimir Mandic 75c41498dd styles editing phase one 2023-09-26 19:11:51 -04:00
Vladimir Mandic 7ceb1df1f5 dml fix for sd 2.1 2023-09-26 17:50:42 -04:00
Vladimir Mandic 8a11a3a70f update changelog 2023-09-26 17:45:52 -04:00
Vladimir Mandic 6bb1e59de6 diffusers better ti reload 2023-09-26 17:42:24 -04:00
Vladimir Mandic 7f9013533d better error handling 2023-09-26 12:30:45 -04:00
Vladimir Mandic 14aec521ed better diffusers embedding handling 2023-09-26 12:04:26 -04:00
Vladimir Mandic e661d7bce7 rework open folder 2023-09-26 09:55:22 -04:00
Vladimir Mandic 38402c8e6e fix new k-diffusers 2023-09-26 09:55:22 -04:00
Disty0 6650602289 IPEX fix mem_get_info 2023-09-26 16:34:54 +03: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 0bc0920a77 open folder in gallery path 2023-09-26 06:35:33 -04:00
Vladimir Mandic 5ebc6dd166 safe pipeline import 2023-09-25 19:58:01 -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
Disty0 4ba2e23dd2 IPEX Optimizations 2023-09-26 00:28:41 +03:00
Vladimir Mandic fa11439246 fix typos 2023-09-24 22:22:42 -04:00
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic aabad68872 en details 2023-09-24 12:21:36 -04:00
Vladimir Mandic d9418ecf1d
Merge pull request #2246 from hameerabbasi/hameer/change-symbols
Change symbols so they display properly on macOS.
2023-09-24 12:19:44 -04:00
Hameer Abbasi 8b9ff968ac
Change symbols missing for macOS. 2023-09-24 15:48:05 +02:00
Vladimir Mandic 0afcfe6097 logger early init 2023-09-23 23:44:34 -04:00
Vladimir Mandic 940b4122f9 add en details view - phase one 2023-09-23 17:49:31 -04:00
Vladimir Mandic 257601bbb8 cleanup 2023-09-23 10:15:06 -04:00
Vladimir Mandic f69625625b add browser session info 2023-09-22 21:01:07 -04:00
Vladimir Mandic 9b4c4e5b49 accordions everywhere 2023-09-22 20:34:25 -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 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic b00c323c31 update changelog 2023-09-21 07:52:09 -04:00
Vladimir Mandic 0986c9ed13
Merge pull request #2233 from vladmandic/master
update dev from master
2023-09-21 07:51:09 -04:00
Vladimir Mandic b2e7bcd546 refactor ddpmedit 2023-09-20 13:17:33 -04:00
Vladimir Mandic 200ced8b1c refactor unipc code 2023-09-20 13:15:40 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Disty0 89ba8e3cf6
Merge pull request #2228 from Nuullll/get-device-id
Fix ipex init
2023-09-20 15:39:56 +03:00
Nuullll 16b1752042 Fix ipex init
getDeviceIdListForCard is renamed since 835b41fd5c
2023-09-20 20:16:56 +08:00
Vladimir Mandic 5411a0fd8f fix 2023-09-19 20:35:19 -04:00
Vladimir Mandic d73f5f6ff6 allow zero denoising 2023-09-19 15:14:58 -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 4d9ccbc035 add batch info to metadata 2023-09-19 11:13:40 -04:00
Disty0 c33bbc83e7 Update OpenVINO 2023-09-19 11:19:32 +03:00
Vladimir Mandic 947be29055 fix save 2023-09-18 23:04:09 -04:00
Vladimir Mandic e6d6ee621a diffusers lora unload logic 2023-09-18 22:30:36 -04:00
Vladimir Mandic 26710417d7
Merge pull request #2222 from Aptronymist/pngfix
Correcting legacy image optimization code
2023-09-18 22:12:19 -04:00
Aptronymist cefb5959e3 Correcting legacy image optimization code
Legacy A1111 code improperly implemented Pillow image optimization options, "quality=" never applied to PNG files (or anything else), only JPEG files, per https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#png-saving and https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg-saving

This is now corrected, other than turning on the optimize=True, for backup and giggles, compress_level=9 is also set. For JPEG files, I also enabled optimize=True as it supposedly makes more optimized files.
2023-09-18 21:27:20 -04:00
Vladimir Mandic 7ae304f76e cleanup settings 2023-09-18 21:24:40 -04:00
Vladimir Mandic 8797a34e19 add tensor to samples method 2023-09-18 15:49:04 -04:00
Vladimir Mandic 7e298b2039 reenable sequential lora apply 2023-09-18 15:27:39 -04:00
Vladimir Mandic ef91976165 switch to native r-esrgan and modelloader 2023-09-18 15:21:11 -04:00
Vladimir Mandic b35a84f505 add upscaler logging 2023-09-18 14:48:41 -04:00
Vladimir Mandic 0f3dc232c1 add en show/hide/reorder 2023-09-18 10:27:31 -04:00
Vladimir Mandic eee6d3104e rename en 2023-09-18 09:25:25 -04:00
Vladimir Mandic f7901c8d53 add changelog to ui 2023-09-18 08:38:04 -04:00
Disty0 550b7056ac IPEX fix SDPA and reduce torch_gc force to %90 2023-09-18 15:36:14 +03:00
SBM 34c48a85c0 Experimental batch mode for frames. 2023-09-18 01:02:09 +03:00