Commit Graph

583 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
Vladimir Mandic 1d38358899 control add ip-adapter 2023-12-23 12:50:33 -05:00
Vladimir Mandic b9df9be5a5 add segmind vega 2023-12-16 18:06:10 -05:00
Vladimir Mandic 72839b7d65 refactoring to support control 2023-12-13 15:48:10 -05:00
Vladimir Mandic e2213a49e0 add pipeline script example 2023-12-11 19:44:00 -05:00
Vladimir Mandic 2b49dae74f en load improvements, torchvision compatibility fix 2023-12-04 18:32:52 -05:00
Vladimir Mandic 439542d3df redesign profiler 2023-12-03 11:27:24 -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 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 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 e6a8a43bdc fix controlnet compatibility 2023-11-20 16:49:46 -05:00
Vladimir Mandic 00b246c052 update advanced merging 2023-11-20 11:43:30 -05:00
Vladimir Mandic 53019de30f todo cleanup 2023-11-18 09:22:12 -05:00
Disty0 7ef41af090 Fix AnimateDiff is_sdxl error 2023-11-17 23:32:12 +03:00
Vladimir Mandic 378c167820 update pillow 2023-11-17 08:38:16 -05:00
Vladimir Mandic 12cf688cbe authentication and locking improvements 2023-11-16 15:26:36 -05: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 6564e99ccd update pipelines and xyzgrid 2023-11-09 18:22:24 -05:00
Vladimir Mandic 290970e536 safe move offloads 2023-11-09 12:57:46 -05:00
Vladimir Mandic a68f0bcbe4 rework prompt paste 2023-11-08 11:33:40 -05:00
Vladimir Mandic cca69e526d update 2023-11-06 09:42:09 -05:00
Vladimir Mandic 611598d22f cleanup 2023-11-03 18:12:10 -04:00
Vladimir Mandic da3d5d0fc7 context menus 2023-11-03 11:41:46 -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 8734445ae9 add models-dir to settings and simplify path improts 2023-10-30 08:31:42 -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 4ab584e93f update changelog 2023-10-25 19:44:53 -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
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
Vladimir Mandic d5c264ec75 fix before hires 2023-10-23 10:19:40 -04:00
Vladimir Mandic 441ca2f648 fix model paths 2023-10-19 13:22:34 -04:00
Vladimir Mandic 505f36df87 multiple fixes 2023-10-19 09:36:12 -04:00
Vladimir Mandic 76d262f1d1 lint fix 2023-10-18 13:25:12 -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 f1f8e0374b handle multiple mounts 2023-10-17 09:28:42 -04:00
Vladimir Mandic 8aa2d0347c premerge fixes 2023-10-17 08:01:35 -04:00
Vladimir Mandic 21595ee9e7 lint cleanup 2023-10-16 12:07:37 -04:00
Disty0 fa86cc0a44 Fix Diffusers manual model loading 2023-10-14 02:46:52 +03:00
Vladimir Mandic 1bc7ffed73 lint fixes 2023-10-12 11:40:50 -04:00
Vladimir Mandic d80890531c add experimental override 2023-10-09 14:55:43 -04:00
AI-Casanova b41d3b2efb
Update sd_models.py for LyCORIS loading on Diffusers Backend 2023-10-07 12:12:24 -05:00
Vladimir Mandic a47c4cf04d update settings and fix references to state 2023-10-06 17:18:42 -04:00
Vladimir Mandic 35caccd3bd add free-u 2023-10-06 12:37:26 -04:00
Vladimir Mandic 3727bf3d02 new lora handler and remove lyco 2023-10-05 14:30:58 -04:00
Vladimir Mandic 965e5a95f1 refactor diffusers tasks 2023-09-29 14:13:30 -04:00
Vladimir Mandic 9cbe496d68 en load refiner, track server job state 2023-09-29 11:01:26 -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 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
Vladimir Mandic 7d5119a5d7 add model metadata 2023-09-24 17:52:21 -04:00
Vladimir Mandic 257601bbb8 cleanup 2023-09-23 10:15:06 -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 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 3389edf6f8 Fix model unloading 2023-09-17 03:46:16 +03:00
Disty0 36e0823538 Cleanup 2023-09-17 01:28:35 +03:00
Vladimir Mandic 2daf61ae7a presort en 2023-09-16 17:36:03 -04:00
Disty0 3fa3548138 Diffusers fix compile 2023-09-16 22:15:07 +03:00
Vladimir Mandic 3c3b3b9291 simplify ti loading 2023-09-16 13:46:40 -04:00
Disty0 4e209fe87f OpenVINO fix caching and recompile when using Lora 2023-09-16 20:05:53 +03:00
Disty0 793b5f4921 OpenVINO Lora support 2023-09-16 16:10:02 +03:00
Disty0 71631b7a36 Diffusers add DPM SDE sampler 2023-09-16 13:48:22 +03:00
Vladimir Mandic d833b853ff downgrade diffusers 2023-09-15 13:41:56 -04:00
Vladimir Mandic 396135d567 fix tomes 2023-09-15 10:18:50 -04:00
Vladimir Mandic 496bdf7c55 fix backend switch 2023-09-15 08:39:25 -04:00
Vladimir Mandic ef51f55026 critical fix 2023-09-14 14:41:43 -04:00
Vladimir Mandic b41c3009be revert diffusers 2023-09-14 13:03:40 -04:00
Vladimir Mandic fc75b5ec41 add wuerstchen model 2023-09-14 11:51:09 -04:00
Vladimir Mandic 484dae8dbd upgrade diffusers 2023-09-14 09:38:17 -04:00
Vladimir Mandic c869e9c992 fix small grids 2023-09-14 08:46:09 -04:00
Vladimir Mandic a1120666d8 fix styles and console logging 2023-09-13 16:50:03 -04:00
Vladimir Mandic 80051ce365 hide refiner if not working in diffusers 2023-09-13 15:29:37 -04:00
Vladimir Mandic c3cbb6a48b error handling on invalid metadata 2023-09-12 17:45:31 -04:00
Vladimir Mandic 250d1bf2fb update hints 2023-09-10 13:05:31 -04:00
Vladimir Mandic 2d0ea97a14 css optimizations, flat icons, metadata scrubbing 2023-09-10 10:55:54 -04:00
Vladimir Mandic 60df52f636 add no-metadata 2023-09-10 08:32:53 -04:00
Vladimir Mandic f36c1eb476 jumbo patch 2023-09-08 13:01:20 -04:00
Vladimir Mandic 5b41115bc8 fix settings refresh button 2023-09-08 08:34:27 -04:00
Vladimir Mandic 0194620ec2 cleanup options 2023-09-08 07:59:58 -04:00
QuantumSoul 36f134ddd4
Update sd_models.py
If user uses --no-download, they most-likely don't need the error for not having any local models
2023-09-08 04:23:56 +02:00
Vladimir Mandic 241b47fa72 fix en description style 2023-09-07 09:22:43 -04:00
Vladimir Mandic ac267d7f3f add light theme, enhance profilng and logging 2023-09-06 13:23:14 -04:00
Vladimir Mandic a3033dc65f sort out embeddings loading in dffusers 2023-09-05 12:36:08 -04:00
Vladimir Mandic 545dec0089 add new theme 2023-09-05 08:32:47 -04:00
Vladimir Mandic 5b622cdfda base and refiner mix and match 2023-09-04 15:55:47 -04:00
Vladimir Mandic e9055c7cd8 major refactor 2023-09-04 11:31:29 -04:00
Vladimir Mandic 8258313555
Merge pull request #2128 from vladmandic/master
refresh dev
2023-09-03 15:59:45 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Vladimir Mandic cbe779b541 test model jit tracing 2023-09-02 09:55:53 -04:00
Disty0 3287222177 Fix Kandinsky compile and Fix steps with non SDXL 2023-09-02 14:28:11 +03:00
Disty0 e5e1eeeac9 Cleanup 2023-09-02 01:34:01 +03:00
Vladimir Mandic 603ff9fc75 minor fixes 2023-08-31 12:00:29 -04:00
Disty0 418a085246 Update Readme 2023-08-31 14:43:29 +03:00
Disty0 77fce3e8c8 Fix OpenVINO on Windows 2023-08-31 12:58:39 +03:00
Vladimir Mandic d45e6a04cd improve vae reload 2023-08-30 08:49:27 -04:00
Vladimir Mandic 5e14178b3d fix tomed error 2023-08-30 02:38:25 -04:00
Vladimir Mandic 10f345f09b handle loading invalid model or pipeline 2023-08-29 15:59:57 -04:00
Vladimir Mandic 9e2e2b8b8f fix gallery, update js logging, add en caching 2023-08-29 14:16:37 -04:00
Vladimir Mandic 48c0ce9b2b fix model lookups 2023-08-27 08:01:29 +00:00
Vladimir Mandic c4263da0e6 fix refiner reload/unload 2023-08-26 13:35:59 +00:00
Disty0 8ef4aa7a4a OpenVINO fix resolution change 2023-08-25 16:12:10 +03:00
Vladimir Mandic 0512e2973c refactor settings ui 2023-08-24 10:01:39 +02:00
Vladimir Mandic 84f343687d fix python 3.9 compatibility 2023-08-23 08:18:40 +00:00
Disty0 863fa38c24 OpenVINO fix model reloading 2023-08-23 00:31:43 +03:00
Vladimir Mandic 6a4d4ea5b7 update logging and model hashinh 2023-08-22 18:28:09 +00:00
Disty0 80d2cc46e8 Add precompile as an option 2023-08-22 13:21:25 +03:00
Vladimir Mandic 93bf3bb263 set default settings 2023-08-21 08:31:50 +00:00
Vladimir Mandic 4826197d5b
Merge pull request #2047 from vladmandic/master
update dev
2023-08-20 14:43:09 +02:00
Disty0 05084a5f53 Diffusers fix dtypes 2023-08-19 19:27:06 +03:00
Disty0 f9718f068c Seperate OpenVINO from IPEX 2023-08-19 17:52:15 +03:00
Vladimir Mandic 5eac99d3f5 optimize diffusers memory handling 2023-08-18 20:41:34 +00:00
Vladimir Mandic 3d914688cc update metadata 2023-08-15 05:50:15 +02:00
vladmandic 79c0131158 Deploying to master from @ vladmandic/automatic@b1ea529c08 🚀 2023-08-15 12:25:08 +00:00
Disty0 86ae8175e0 Seperate OpenVINO from IPEX 2023-08-15 15:22:54 +03:00
Vladimir Mandic c5c817f482 img2img batching 2023-08-13 09:19:39 +00:00
Vladimir Mandic a156751857 fix pipeline autodetect 2023-08-10 21:56:26 +00:00
Vladimir Mandic f52249d5a8 fix prompt parser for sdxl and enable offloading 2023-08-10 21:20:56 +00:00
Vladimir Mandic 5bcd65d4c2 revert meta 2023-08-10 19:00:04 +00:00
Disty0 a9726b3319 Send to meta when unloading 2023-08-10 01:23:39 +03:00
Vladimir Mandic 0a3e821067 diffuser auto-pipeline and fix vae 2023-08-07 17:19:30 +00:00
Vladimir Mandic 7c4fdbff1b update taesd 2023-08-05 08:56:45 +02:00
Vladimir Mandic a12c9117e6 add requirement check install flag 2023-08-04 11:23:25 +02:00
Disty0 5f5a564d41 Update compile settings 2023-08-03 22:38:43 +03:00
Disty0 44b17b7418 Add compile type option 2023-08-03 17:51:29 +03:00
Disty0 4535a99fff Model compile support for IPEX 2023-08-03 17:25:15 +03:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
Disty0 8ffaea76ba Add Diffusers model and VAE variant loading option 2023-07-31 14:39:41 +03:00
Disty0 350be09282 w/a for model cpu offload refiner 2023-07-30 17:18:57 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Disty0 66a6e783f0 has_accelerate = False for original backend 2023-07-30 01:22:29 +03:00
Kubuxu 4d00224082 Fix pipeline switching 2023-07-30 00:51:35 +03:00
Kubuxu 7e1030d499 Introduce sd_model.has_accelerate 2023-07-30 00:51:35 +03:00
Kubuxu f945cf14b0 Fix model offload by not focring the model to GPU 2023-07-30 00:51:35 +03:00
Disty0 085d1da825 Fix force upcast VAE with Diffusers 2023-07-29 21:01:24 +03:00
Disty0 3258b27523 Update sequential CPU offload check 2023-07-29 19:13:29 +03:00
Disty0 025df86ac0 Cleanup 2023-07-29 02:06:34 +03:00
Kubuxu 1da64b9d08 Fix setting VAE Force Upcast in diffusers 2023-07-28 23:07:11 +01:00
Disty0 dbd7887632 Fix refiner unloading 2023-07-28 23:12:45 +03:00
Disty0 c8af2affaf Fix original backend reloading 2023-07-28 21:26:54 +03:00
Disty0 cfcf481992 cleanup 2023-07-28 21:10:38 +03:00
Disty0 e6cf3d72cd Fix sequential cpu offload 2023-07-28 20:01:32 +03:00
Seunghoon Lee 77de9cd093
Fix medvram with DirectML. 2023-07-28 23:18:28 +09:00
Seunghoon Lee 0f44332e5c
Make sequential CPU offload available for non-CUDA
Add settings override for DirectML.
Move `devices.set_cuda_params()` to correct line.
2023-07-28 23:11:57 +09:00
Vladimir Mandic 4a64eef568
Merge pull request #1831 from vladmandic/improve_diffusers_kandinsky_2
[Diffusers] Make all Kandinsky work
2023-07-26 16:04:08 -04:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic e79bdcdea3 fix startup without model 2023-07-26 14:41:29 -04:00
Patrick von Platen e6baac124d fix ruff 2023-07-25 21:50:35 +00:00
Patrick von Platen a9d239ab51 [Diffusers] Make all Kandinsky work 2023-07-25 21:47:49 +00:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic b31fa98669 fixes... 2023-07-21 09:28:02 -04:00
Disty0 57d1d3ed16 Fix Kandinsky safety_checker and compile 2023-07-20 14:29:15 +03:00
Steven 82d2a601c2 When searching for model info from the checkpoint specified from ckpt command line argument, strip the path from the argument so that we only search for the model's filename. 2023-07-18 18:47:39 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic 57dd6652df fix compile logging 2023-07-17 19:30:53 +00:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Vladimir Mandic 4e48173e37 enable sdxl vae 2023-07-16 17:58:08 -04:00
Vladimir Mandic 55c0269032 minor fixes 2023-07-15 10:18:08 -04:00
Vladimir Mandic 9308c32ad2 update samplers and callbacks 2023-07-15 08:44:02 -04:00
Jack Wooldridge 7fdda2c8b3 MPS fix 2023-07-14 15:34:14 -04:00
Disty0 2a9133bfec IPEX rework 2023-07-14 17:33:24 +03:00
Disty0 558b71f088 Fix img2img and hires for IPEX 2023-07-14 02:21:52 +03:00
Disty0 25389f737b Better logging & Set IPEX MemSize from %80 to %100 2023-07-13 19:24:58 +03:00
Vladimir Mandic c55024fe1b set backend persist restarts 2023-07-13 11:53:23 -04:00
Vladimir Mandic fdb76ddf12 model load exception handling 2023-07-13 10:45:58 -04:00
Vladimir Mandic 186bd236f5 js monitor ops 2023-07-13 09:50:38 -04:00
Vladimir Mandic 6947776dcb fix imageview direction 2023-07-12 16:59:02 -04:00
Vladimir Mandic e4a682de2b fix priorpipeline 2023-07-12 16:46:25 -04:00
Vladimir Mandic 5c8ead7be0 update diffusers 2023-07-12 15:35:41 -04:00
Disty0 f0506fd517 Move ipex optimize to compile 2023-07-12 19:58:08 +03:00
Disty0 562ca33275 Fix Diffusers _conv_forward dtype error with IPEX 2023-07-12 02:03:45 +03:00
Vladimir Mandic ec99bad021 enable backend switching on-the-fly 2023-07-11 15:55:02 -04:00
Vladimir Mandic 6d277305f6 update processing 2023-07-11 11:40:53 -04:00
Disty0 a844a83d9d VRAM efficient refiner loading for compiler 2023-07-11 11:00:45 +03:00
Vladimir Mandic 75a8c1f9d0 enable basic img2img 2023-07-10 11:44:52 -04:00
Disty0 4152c2049b Update IPEX logging 2023-07-10 14:49:42 +03:00
Disty0 798c5f23c5 VRAM efficient IPEX Optimize for refiner 2023-07-09 19:14:30 +03:00
Vladimir Mandic a16eee1504 bugfix release 2023-07-09 10:06:47 -04:00
Disty0 a9dab70a2c Fix IPEX Optimize with Diffusers 2023-07-09 16:17:50 +03:00
Disty0 d915d8d659 Disable xpu.optimize for SD 1-2 2023-07-09 03:09:37 +03:00
Disty0 467197a7f1 xpu.optimize for diffusers 2023-07-09 02:35:12 +03:00
Vladimir Mandic 2a21196061
Merge branch 'master' into dev 2023-07-08 13:35:25 -04:00
Vladimir Mandic 3e61907bfe minor fixes 2023-07-08 13:17:12 -04:00
Vladimir Mandic a79b8c86c2 cleanup before merge 2023-07-08 12:20:37 -04:00
Vladimir Mandic 89a7ea6a3f overal quality fixes 2023-07-08 09:49:41 -04:00
Disty0 4459cc581a Prior device.type cuda or xpu 2023-07-07 23:03:29 +03:00