Commit Graph

897 Commits (10bbbed218458b8a899aac2140ec738d8d716f05)

Author SHA1 Message Date
Disty0 bf9565cb46 NNCF compression support on CPU and add INT8 option for T5 2024-06-19 21:23:47 +03:00
Vladimir Mandic 2a27cd916d pixart sigma improvements 2024-06-18 13:21:13 -04:00
Vladimir Mandic bbaa03a466 add 4bit t5 2024-06-17 09:39:30 -04:00
Vladimir Mandic 9644063cd6 add generic t5 loader 2024-06-16 11:38:29 -04:00
Vladimir Mandic a726acbcc6 fix HunyuanDiT 2024-06-15 17:08:33 -04:00
Vladimir Mandic 5feaed0c6a unify hf-login 2024-06-15 16:47:03 -04:00
Vladimir Mandic 3f1c236ce4 force apply vae config on model load 2024-06-13 20:13:18 -04:00
Vladimir Mandic d7983eece7 sd3 add transformer attention method 2024-06-13 13:28:24 -04:00
Vladimir Mandic 3a9f56a7ac sd3 allow loading safetensors without clip 2024-06-13 09:07:47 -04:00
Vladimir Mandic 9ec6816a91 sd use hf token froms settings and use cached config 2024-06-13 08:52:01 -04:00
Vladimir Mandic e0ab411686 update sd3 loader cache 2024-06-12 21:30:15 -04:00
Vladimir Mandic 6e01d510d4 add sd3 2024-06-12 21:02:48 -04:00
Vladimir Mandic 6d6f1de295 additional python 3.12 compatibility 2024-06-08 14:14:48 -04:00
Vladimir Mandic 5574833f0d refactor backend detection 2024-06-06 20:41:10 -04:00
Vladimir Mandic 1e4800e8f5 Jumbo update: HunyuanDiT, MuLan, PCM, T-Gate, KohyaHiResFix 2024-06-03 16:53:20 -04:00
Vladimir Mandic 3cd12c51f5 fix loading models 2024-06-02 11:51:42 -04:00
Vladimir Mandic 9a7a5ba81c lint cleanup 2024-05-28 10:48:27 -04:00
Vladimir Mandic d7c732bfe6 layer diffuse enhancements 2024-05-28 08:45:29 -04:00
Vladimir Mandic b5c1ec1941 multiple patches 2024-05-27 16:29:32 -04:00
Disty0 08497c1a90 Remove offload device workaround 2024-05-27 16:22:16 +03:00
Vladimir Mandic ac5b9a66b9 update requirements 2024-05-21 11:42:59 -04:00
Vladimir Mandic 554e5c8224 torch dynamic profiling 2024-05-16 18:40:18 -04:00
Vladimir Mandic d63f35e298 add cudaMallocAsync 2024-05-16 18:02:55 -04:00
Vladimir Mandic 199eca2133 mulan prototype 2024-05-16 12:40:28 -04:00
Vladimir Mandic 2dc08a0453
Merge pull request #3136 from Disty0/dev
Stable Cascade UNet support
2024-05-15 11:54:31 -04:00
Vladimir Mandic eb34241ca9 enhance metadata handling 2024-05-15 10:08:31 -04:00
Disty0 d171f58018 Move Cascade from sd_models 2024-05-15 09:18:18 +03:00
Disty0 aca870ac4f Stable Cascade UNet support 2024-05-15 09:06:53 +03:00
Vladimir Mandic 894a1986f3 fix pixart-sigma and make it muuch faster 2024-05-14 14:59:55 -04:00
Vladimir Mandic f7fa2794df fix stable cascade 2024-05-14 14:20:13 -04:00
Vladimir Mandic 76cbf11559 cache diffusers model config 2024-05-14 12:54:34 -04:00
Vladimir Mandic 328930966e change local_files_only 2024-05-12 18:37:30 -04:00
Vladimir Mandic d6e2271fc3 fix pag with facehires 2024-05-11 09:42:39 -04:00
Vladimir Mandic cb1838c05e update loading logic again 2024-05-11 09:33:04 -04:00
Vladimir Mandic bd3b3bd01c set localfilesonly default false 2024-05-10 18:02:01 -04:00
Disty0 8cddaa5723 Re-apply attention if attention method changes 2024-05-11 00:05:22 +03:00
Vladimir Mandic d1b0cd61b3 reorg model load 2024-05-10 16:53:49 -04:00
Vladimir Mandic 1c793e8357 fix embeddings load 2024-05-10 16:35:36 -04:00
Vladimir Mandic 2f3557f6ea patch diffusers loader 2024-05-10 10:08:01 -04:00
Vladimir Mandic 35665cd719 new from_single_file compatibiltiy 2024-05-09 16:27:21 -04:00
Vladimir Mandic faf3f3212e animatediffxl alpha 2024-05-09 10:13:56 -04:00
Vladimir Mandic 0b420eaf44 fix git mess 2024-05-07 17:43:27 -04:00
Vladimir Mandic be52fe003b backup default sampler 2024-05-07 17:26:01 -04:00
Disty0 6942c3e61e Fix sequential offload with embeddings 2024-05-07 20:25:20 +03:00
Disty0 3f4cd91640 Fix VAE reload with sequential offload 2024-05-07 19:38:00 +03:00
Vladimir Mandic 9ff507d93a add todo token downsampling and simplify tomes 2024-04-28 20:29:28 -04:00
Vladimir Mandic a26d222cc1 add load unet override 2024-04-28 11:51:08 -04:00
Vladimir Mandic e9dcceac0e fix pixart-sigma 2024-04-26 11:06:08 -04:00
Disty0 5b444c39d7 Wuerstchen V3 fixes and custom model support 2024-04-25 23:13:08 +03:00
Disty0 a8b2d0b8c9 Update defaults and add autodetect for VRAM optimizations 2024-04-21 00:53:31 +03:00
Vladimir Mandic e900adf5ee cleanup 2024-04-20 11:48:44 -04:00
Vladimir Mandic e4b179e027 check attention availability 2024-04-15 11:43:51 -04:00
Vladimir Mandic ad7d0bbf6a add pixart-sigma 2024-04-11 15:12:50 -04:00
Disty0 16b714ac48 Pass device to Model CPU Offload 2024-03-27 22:24:37 +03:00
Vladimir Mandic 0862b80377 gallery improve sort and separators 2024-03-24 11:11:23 -04:00
Vladimir Mandic b0cb57ee23 add error handler around fused call 2024-03-16 11:23:56 -04:00
Vladimir Mandic 16e3e4023f remove device reference from offload call 2024-03-15 18:31:19 -04:00
Vladimir Mandic 04dbc43186 update 2024-03-14 20:48:10 -04:00
Disty0 7d7d3aaff2 Pass device to model_cpu_offload 2024-03-14 23:47:46 +03:00
Vladimir Mandic 36368d1601 force disable watermark 2024-03-14 16:11:09 -04:00
Vladimir Mandic 20bc82a4ce pipeline load with variant fallback 2024-03-14 15:09:05 -04:00
Vladimir Mandic e971e4fbc0
Merge pull request #2976 from Disty0/dev
VRAM efficient loading and compile
2024-03-14 13:57:13 -04:00
Vladimir Mandic 940b6d02ba facehires support batch size&count, add override strength 2024-03-14 11:40:58 -04:00
Disty0 164ada5805 VRAM efficient loading and compile 2024-03-14 01:42:36 +03:00
Vladimir Mandic 80445a6b23 add ledits pipeline 2024-03-13 14:52:28 -04:00
Vladimir Mandic 50b09082a9 update svd 2024-03-13 09:18:07 -04:00
Vladimir Mandic a4c6257124 full refactor of reference models 2024-03-12 23:51:36 -04:00
Vladimir Mandic 6cb20edf7e fix upscaler compile, diffusers enum, svd 2024-03-09 08:35:18 -05:00
Vladimir Mandic 7e7ed3b7fe improve model offload compatibility 2024-03-08 08:29:03 -05:00
Vladimir Mandic ae7b03ac74 fix sc pipeline 2024-03-06 12:59:50 -05:00
Vladimir Mandic b75d84da37 update sc revisions 2024-03-06 12:08:19 -05:00
Vladimir Mandic 96601221f9 improve params parsing 2024-03-06 10:50:52 -05:00
Vladimir Mandic 76b0017675 fix move model 2024-03-05 21:44:20 -05:00
Vladimir Mandic f58f3e6779 fix control init image and offloading 2024-03-05 16:00:30 -05:00
Vladimir Mandic 558463aeaf validate and fix all refiner workflows 2024-03-02 10:01:22 -05:00
Vladimir Mandic 6d0a48db86 modify offloading algo 2024-03-01 16:01:53 -05:00
Vladimir Mandic 4b911ea822 add support for json configs per model component 2024-02-28 15:12:05 -05:00
Vladimir Mandic db22bd5440 cleanup 2024-02-28 11:45:57 -05:00
Vladimir Mandic 7e0f0ae24f update stable cascade pipeline 2024-02-28 11:45:30 -05:00
Disty0 c8ed8659be Update Stable Cascade pipeline 2024-02-28 19:41:42 +03:00
Vladimir Mandic e3c1432502 experimental playground 2.5 support 2024-02-27 17:11:37 -05:00
Vladimir Mandic 36dac2af9c extend use of move_model 2024-02-27 07:46:28 -05:00
Vladimir Mandic 3488dd2cf6 use model yaml if present 2024-02-26 17:38:09 -05:00
Vladimir Mandic 17f2f8d98f add include mask in output, improve model offload compatibility 2024-02-24 11:06:14 -05:00
Vladimir Mandic 6239d266f4 remove training 2024-02-24 09:58:46 -05:00
Vladimir Mandic 1b976f610c update requirements 2024-02-23 00:29:19 -05:00
Vladimir Mandic cf7118be4d refactor stable-cascade, fix taesd bf16, add skip-env cmd flag 2024-02-21 17:13:53 -05:00
Vladimir Mandic d76136fb81 cleanup 2024-02-15 19:03:17 -05:00
Disty0 e631fd85e2 Stable Cascade previewer and fixes 2024-02-15 18:50:54 +03:00
Vladimir Mandic 0e91c46a68 cleanup stable cascade 2024-02-14 09:43:20 -05:00
Disty0 52efa909c5 Experimental Stable Cascade support 2024-02-14 14:51:20 +03:00
Vladimir Mandic 3c9a4d55bb init values for ip 2024-02-11 17:23:50 -05:00
Vladimir Mandic e731505a5f refactor ip adapters 2024-02-10 16:04:51 -05:00
Vladimir Mandic 304caf8c06 update cross-attention 2024-02-10 10:45:10 -05:00
Disty0 43c5be76ca Unite attention optimization settings 2024-02-10 10:32:53 -05:00
Vladimir Mandic bf14e6ed6d fix mask missing options and system paths 2024-02-10 08:10:24 -05:00
Disty0 d867e7aa2d Diffusers add Dynamic Attention Slicing 2024-02-09 13:49:46 +03:00
Vladimir Mandic 4c5e05b1b9 fix control test fonts 2024-02-07 07:48:49 -05:00
Vladimir Mandic 593dae4e24 handle huggingface model variant fallback 2024-02-06 18:08:14 -05:00
Disty0 ad47d81da7 OpenVINO fix cache and Lora loading 2024-02-06 19:18:49 +03:00
Vladimir Mandic bbc52fc5a6 fix lora 2024-02-06 09:02:01 -05:00
Vladimir Mandic 6f0547b6f7 cleanup 2024-02-05 14:13:28 -05:00
Vladimir Mandic 3b4d59877f color grading 2024-02-05 13:40:00 -05:00
Vladimir Mandic 2ee0baf18c unified move-model 2024-02-05 12:00:35 -05:00
Vladimir Mandic e32220ccc1 experimental segmoe support 2024-02-05 10:38:46 -05:00
Vladimir Mandic 0a0efa3fc1 fix upscale api 2024-02-04 10:14:10 -05:00
Seunghoon Lee 7c0d1d879f
onnx sdxl vae 2024-02-02 19:01:02 +09:00
Vladimir Mandic d6885a59eb post merge cleanup 2024-01-31 16:02:29 -05:00
Seunghoon Lee 10a8dd3248
premerge 2 2024-02-01 01:23:15 +09:00
Seunghoon Lee c26c53a9ad
premerge 1 2024-02-01 01:20:16 +09:00
Seunghoon Lee 393e36e313
cleanup 2024-02-01 01:13:24 +09:00
Seunghoon Lee d848958240
ONNX/Olive fix from huggingface cache 2024-02-01 01:13:23 +09:00
Seunghoon Lee 364c3beb2e
Fix onnx model downloading & more fixes. 2024-02-01 01:13:21 +09:00
Seunghoon Lee 5b2f77811c
reduce memory usage (conversion/optimization) 2024-02-01 01:13:17 +09:00
Seunghoon Lee cef798bf57
implement olive img2img 2024-02-01 01:13:16 +09:00
Seunghoon Lee c8814c4898
img2img wip 2024-02-01 01:13:16 +09:00
Seunghoon Lee 6507491d8f
refactor onnx and olive 2024-02-01 01:13:14 +09:00
Seunghoon Lee af4302ddfa
update olive by #2429 2024-02-01 01:13:01 +09:00
Seunghoon Lee b7cfd09d50
add optimization on gpu 2024-02-01 01:12:10 +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
Vladimir Mandic 09d1f1e788 add sa solver and prototype instaflow 2024-01-31 09:51:34 -05:00
Vladimir Mandic 413d58fb8f fix sag 2024-01-30 12:28:47 -05:00
Vladimir Mandic 20b5d952c9 add ipadapter unapply and switch_pipe cross-family 2024-01-30 08:02:48 -05:00
Vladimir Mandic b949c042b5 fix using sd15 model as refiner in second pass 2024-01-29 13:18:03 -05:00
Vladimir Mandic c6f6c80da8 dynamic pipelines 2024-01-28 17:10:51 -05:00
Vladimir Mandic 389f86dc5f fix model variant 2024-01-27 09:10:21 -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 14aac11e6c minor fixes 2024-01-22 14:17:56 -05:00
Vladimir Mandic 2c0b3ac4b3 add additional controlnets 2024-01-20 13:36:39 -05:00
Vladimir Mandic c7c9a82e07 add option to load model direct to gpu 2024-01-18 12:04:20 -05:00
Vladimir Mandic 2ec03021dc cleanup logging 2024-01-17 16:04:36 -05:00
Midcoastal 8c118adfc9
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-17 09:33:26 -05:00
Vladimir Mandic 084bd77abe add photomerge 2024-01-16 16:36:06 -05:00
Vladimir Mandic 18087f1d14 cleanup todo items 2024-01-16 13:12:46 -05:00
Midcoastal 94270243b4
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-14 19:54:50 -05:00
Midcoastal 86212a52d6
Cleanup, Ruff, Pylint 2024-01-14 18:49:07 -05:00
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
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 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
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
Vladimir Mandic c55bdffe02 reduce imports and do not load ldm in diffusers 2024-01-08 12:11:38 -05:00
Midcoastal f90f23bcc2
Merge branch 'dev' into Dev/DirectoryCacheing 2024-01-06 22:12:24 -05:00
Vladimir Mandic dd7e3e93c4 control add override image preview 2024-01-06 12:56:36 -05: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 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 9fe8a827b2 refactor modeldata 2024-01-05 12:00:22 -05:00
Vladimir Mandic c60da70474 sag prototype and allow xyz continue on error 2024-01-03 17:36:45 -05:00
Vladimir Mandic f7cd47d96f add fused projections 2024-01-02 09:41:15 -05:00
Vladimir Mandic 6195ce170b control add inpaint 2024-01-01 17:35:23 -05:00
Vladimir Mandic 1c7ab98650 set vae options on change 2023-12-28 11:35: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 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 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 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