Commit Graph

4666 Commits (ef909cd003f7dd8a8a5379a724e7d46e23d80ffa)

Author SHA1 Message Date
Seunghoon Lee 18e2579842
update footprint filename of cpuep 2024-02-01 01:12:10 +09:00
Seunghoon Lee 98ee5848f2
customizable execution provider. 2024-02-01 01:12:10 +09:00
Seunghoon Lee b7cfd09d50
add optimization on gpu 2024-02-01 01:12:10 +09:00
Disty0 150c3ad078
Use get_raw_openvino_device with ONNX 2024-02-01 01:12:10 +09:00
Seunghoon Lee fd2c1e2546
add onnxruntime-openvino support. 2024-02-01 01:12:09 +09:00
Seunghoon Lee df021b3982
support more backends 2024-02-01 01:12:09 +09:00
Seunghoon Lee b22d5521b7
optimized model downloading 2024-02-01 01:12:08 +09:00
Seunghoon Lee f22bc3f53c
remove optimize error log 2024-02-01 01:12:08 +09:00
Seunghoon Lee ff6acb4e3f
olive_cache_optimized 2024-02-01 01:12:08 +09:00
Seunghoon Lee b7cce01222
cleanup 2024-02-01 01:12:08 +09:00
Seunghoon Lee def8a30017
Initial Olive implementation. 2024-02-01 01:12:07 +09:00
Vladimir Mandic 21516c3ba3 cleanup 2024-01-31 10:29:11 -05:00
Vladimir Mandic f7842d959e fix typo 2024-01-31 10:29:01 -05:00
Vladimir Mandic 778f54e7c7 remove dependency on diffusers dev 2024-01-31 10:27:15 -05:00
Vladimir Mandic 09d1f1e788 add sa solver and prototype instaflow 2024-01-31 09:51:34 -05:00
Vladimir Mandic b1ccadf793 quickfix ipadapter 2024-01-30 19:05:18 -05:00
Vladimir Mandic ccc38dde95 fix ipadapter unload/reapply and use in control 2024-01-30 17:02:31 -05:00
Vladimir Mandic 8f1f538bc9 add api compatibility layer for civitai 2024-01-30 16:19:03 -05:00
Vladimir Mandic d0ff929fd2 update api compatibility 2024-01-30 14:17:32 -05:00
Vladimir Mandic 1c40ebf32b restore pipe at the end of ops 2024-01-30 13:37:32 -05:00
Vladimir Mandic 5faa144a29 fix imports 2024-01-30 13:03:47 -05:00
Vladimir Mandic 413d58fb8f fix sag 2024-01-30 12:28:47 -05:00
Vladimir Mandic 3baff5906b control enable image drag, prompt parse, add metadata 2024-01-30 11:26:34 -05:00
Enes Sadık Özbek 9dc5fe43c5 fix ValueError on api img gen when face script is enabled 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek c1257213e4 fix face script error when images are base64 strings 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 625d29d4fa Fix face script not showing up unless experimental 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 44a0429727 Fix get_scripts_list 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek a76647c806 Fix referencing old faceid model in api models 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 80bd17dc76 Update API for latest face module 2024-01-30 09:35:29 -05:00
Vladimir Mandic ca51bfeb3e control units mixing 2024-01-30 09:27:20 -05:00
Vladimir Mandic 20b5d952c9 add ipadapter unapply and switch_pipe cross-family 2024-01-30 08:02:48 -05:00
Disty0 076e16c82e IPEX fix mixture tiling 2024-01-30 01:40:35 +03:00
Vladimir Mandic 09c702013c add mixture tiling 2024-01-29 14:39:23 -05:00
Vladimir Mandic 3b09027c67 cleanup 2024-01-29 14:06:54 -05:00
Vladimir Mandic 6c75539b0b fix api image to bas64 2024-01-29 13:42:39 -05:00
Vladimir Mandic b949c042b5 fix using sd15 model as refiner in second pass 2024-01-29 13:18:03 -05:00
Vladimir Mandic 325b9eb652 add live preview thread lock 2024-01-29 13:02:56 -05:00
Vladimir Mandic f74637e813 control process override improvements 2024-01-29 12:58:50 -05:00
Disty0 b13d40d52c Diffusers lock preview latent range 2024-01-29 20:26:55 +03:00
Vladimir Mandic 7fa01204b4 fix control multi-unit 2024-01-29 11:35:36 -05:00
Vladimir Mandic 79eef747b3 unblock controlnet 2024-01-29 10:59:16 -05:00
Vladimir Mandic f04fa75eae add on_after_ui callback 2024-01-29 10:10:10 -05:00
Vladimir Mandic f45655f077 civitai enable embedding download 2024-01-29 09:55:16 -05:00
Vladimir Mandic 682da607a9 improve live preview 2024-01-29 08:53:48 -05:00
Vladimir Mandic 753bfebe1c fix img2img batch 2024-01-29 08:34:36 -05:00
Vladimir Mandic 157ddd2ad2 update requirements 2024-01-29 07:53:38 -05:00
brknsoul 2d32add1a0 Update shared.py
Changing Settings Category from "Control" to "Control Options"
(tooltip conflict resolution)
2024-01-29 07:52:22 -05:00
brknsoul 6d2924f713 Update shared.py
Changing settings category name from "User Interface" to "User Interface Options"
2024-01-29 07:52:22 -05:00
Vladimir Mandic c6f6c80da8 dynamic pipelines 2024-01-28 17:10:51 -05:00
Vladimir Mandic 1fe544a053 improve control enums 2024-01-28 10:36:14 -05:00
Vladimir Mandic b79d8ea6c3 cleanup api model defs 2024-01-28 10:25:26 -05:00
Vladimir Mandic 7e447222a1 refactor api 2024-01-28 10:13:09 -05:00
AI-Casanova dc70246c78 cleanup corrections 2024-01-28 07:46:20 -05:00
Disty0 4b30d6aeb7 IPEX improve autocast hijack 2024-01-28 02:20:43 +03:00
Vladimir Mandic ebdc2144a8 add embedding convert notes 2024-01-27 15:39:54 -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 40853631c7 fix face model caching 2024-01-27 15:19:25 -05:00
Disty0 d6c4f6072e Cleanup IPEX Optimize 2024-01-27 21:16:05 +03:00
Disty0 d92f85474d OpenVINO reverse NNCF order 2024-01-27 18:33:41 +03:00
Disty0 426aed55bc Cleanup 2024-01-27 17:45:31 +03:00
Vladimir Mandic 640b8279bf add hf token to settings 2024-01-27 09:28:53 -05:00
Vladimir Mandic 389f86dc5f fix model variant 2024-01-27 09:10:21 -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
Vladimir Mandic 0bfb17ba72 implement complete face module 2024-01-27 08:07:34 -05:00
Disty0 dbe4d2ff70 Cleanup upscalers 2024-01-27 02:54:39 +03:00
AI-Casanova 1440e07f02 Fix TI loading from legacy formats 2024-01-26 15:58:06 -05:00
Vladimir Mandic e924cc9ecd make control interrogate more flexible 2024-01-25 16:38:28 -05:00
Vladimir Mandic f281109172 fix default sampler 2024-01-25 16:18:15 -05:00
Vladimir Mandic 8fd081ad06 add SD_CONFIG_DEBUG 2024-01-25 12:37:08 -05:00
Disty0 db6fd95351 OpenVINO Quantization support with NNCF 2024-01-25 20:22:57 +03:00
Vladimir Mandic d1bb51eee0 enable lama offloading 2024-01-25 12:08:45 -05:00
Vladimir Mandic 7aa6876759 refactor all control processors to support unload and offload 2024-01-25 11:45:47 -05:00
Vladimir Mandic c19f95141a ipadapter interop 2024-01-25 09:29:11 -05:00
Vladimir Mandic 3f332242a1 explicit define mimetypes 2024-01-25 08:30:57 -05:00
Vladimir Mandic 06081f62c7 fix img2img with non-standard aspect ratio 2024-01-25 08:20:01 -05:00
AI-Casanova 30093594ed Fix Pruning 2024-01-25 07:48:42 -05:00
Vladimir Mandic dad7fe7dcf autodetect fallback by name 2024-01-24 11:37:55 -05:00
Vladimir Mandic f09725956d expand sdxl autodetect range 2024-01-24 09:48:07 -05:00
Vladimir Mandic 7e88fe83e6 update install-sf 2024-01-24 09:40:26 -05:00
Vladimir Mandic 9ef930bca6 cleanup 2024-01-24 07:18:27 -05:00
Vladimir Mandic b15e13a11c opportunistic locking 2024-01-24 07:14:28 -05:00
Vladimir Mandic 867f10d946 vae approx cast 2024-01-23 19:12:02 -05:00
Vladimir Mandic abc991aec1 add compat layer for wrap_queued_call 2024-01-23 17:29:09 -05:00
Vladimir Mandic edf1dc68f4 add depth-anything controlnet 2024-01-23 14:15:07 -05:00
Vladimir Mandic f83f4edb0b add depth_anywhere processor 2024-01-23 13:21:12 -05:00
Vladimir Mandic 6f2ad1485a update k-diffusion 2024-01-23 09:42:58 -05:00
Disty0 60671b0479 IPEX fix SegmentAnything 2024-01-23 17:28:11 +03:00
Vladimir Mandic 36578d61c2 fix mask invert 2024-01-23 08:37:30 -05:00
Disty0 d6083eca3b IPEX hijack cuda.is_built 2024-01-23 11:10:35 +03:00
Vladimir Mandic 14aac11e6c minor fixes 2024-01-22 14:17:56 -05:00
Vladimir Mandic d9ffb12520 enable diffusers by default and disable move/offload by default 2024-01-21 11:18:17 -05:00
Vladimir Mandic 23a65de846 tweak theme and increse image sizes 2024-01-21 11:14:17 -05:00
Vladimir Mandic ddae9872a4 add simple-dark and simple-light themes 2024-01-21 09:37:45 -05:00
Vladimir Mandic f2b99d61f6 fix update commit info 2024-01-21 08:58:08 -05:00
Vladimir Mandic 3f8fa36a0c fix en display 2024-01-21 08:49:04 -05:00
Vladimir Mandic 927ad16c05 add lama to control masking options 2024-01-20 15:43:38 -05:00
Vladimir Mandic b2d38ae920 update icons/hints 2024-01-20 13:51:19 -05:00
Vladimir Mandic 2c0b3ac4b3 add additional controlnets 2024-01-20 13:36:39 -05:00
Vladimir Mandic dc67fc97af autodownload yaml with safetensors if present 2024-01-20 12:18:49 -05:00
Vladimir Mandic ced3b2e3a5 control add inpaint masked only 2024-01-20 11:34:22 -05:00
Vladimir Mandic ddecb8f240 control implement image measure 2024-01-20 08:12:31 -05:00
Vladimir Mandic 71654cee9c fix styles refresh 2024-01-20 07:48:20 -05:00
Vladimir Mandic 952edd29b2 remove custom gr components 2024-01-20 07:43:16 -05:00
Vladimir Mandic f6ac307a4e expand use of no-metadata 2024-01-19 20:23:01 -05:00
Vladimir Mandic 7e2db45d76 fix generator 2024-01-19 14:37:57 -05:00
Vladimir Mandic c4b26c9791 add self-attention-guidance 2024-01-19 14:03:51 -05:00
Vladimir Mandic 7c8d035edb better en preview matching and optimize caching 2024-01-19 13:50:23 -05:00
AI-Casanova 79343d460a Fix rebasin iterations 2024-01-19 11:50:31 -06:00
Vladimir Mandic c7c9a82e07 add option to load model direct to gpu 2024-01-18 12:04:20 -05:00
AI-Casanova 997644776c Fix TI Loading 2024-01-18 08:26:39 -05:00
Vladimir Mandic b2cbc45dc3 guard against null 2024-01-17 18:02:30 -05:00
Vladimir Mandic 2ec03021dc cleanup logging 2024-01-17 16:04:36 -05:00
Vladimir Mandic 35c66d7ac9 flexible processour output type 2024-01-17 15:54:50 -05:00
Vladimir Mandic 1090740e57 remove warning on empty extension list 2024-01-17 12:18:44 -05:00
Vladimir Mandic 16eaeeb766 cleanup startup 2024-01-17 12:15:07 -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
Vladimir Mandic 78722065e3 add batch embedding load 2024-01-17 10:28:05 -05:00
Vladimir Mandic 59dd5d0767 reduce default font size 2024-01-17 10:20:23 -05:00
Midcoastal 8c118adfc9
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 09:33:26 -05:00
Vladimir Mandic 930ee6c412
Merge branch 'dev' into Issue2339/EmbeddingLoad 2024-01-17 09:12:25 -05:00
NetroScript 548d55bd6f Extra Network Search: Add special syntax: `|`, `-`, `r#` 2024-01-17 09:04:01 -05:00
NetroScript 4d93a78c10 Improve Extra Networks Search, by optionally allowing regex search 2024-01-17 09:04:01 -05:00
Vladimir Mandic 3192c50241 fix mask return type 2024-01-17 09:00:37 -05:00
Enes Sadık Özbek 8805a12caa
Fix FaceID API not working because of wrong type 2024-01-17 02:05:01 +03:00
Vladimir Mandic 084bd77abe add photomerge 2024-01-16 16:36:06 -05:00
Enes Sadık Özbek fd07c6eda8
Update ranges of FaceID API parameters 2024-01-16 23:39:29 +03:00
Vladimir Mandic 94fc37695d
Merge pull request #2726 from Trojaner/api/ipadapters
Add FaceID mode API parameter
2024-01-16 15:25:57 -05:00
Enes Sadık Özbek 704d5300de
Add FaceID mode API parameter 2024-01-16 23:23:34 +03:00
Vladimir Mandic a48f0e3e52 fix faceid image save 2024-01-16 13:57:08 -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 18087f1d14 cleanup todo items 2024-01-16 13:12:46 -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
Vladimir Mandic e369ddf6e4 add sampler options to metadata 2024-01-15 17:31:10 -05:00
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