Commit Graph

5250 Commits (34ec4e39cb066fb8680d3bb8752c8f2a3e51601c)

Author SHA1 Message Date
Vladimir Mandic ebc5c3ddaa silence hf login 2024-06-13 13:38:14 -04:00
Vladimir Mandic d7983eece7 sd3 add transformer attention method 2024-06-13 13:28:24 -04:00
Vladimir Mandic edcfe58a5f sd3 enable img2img 2024-06-13 09:14:28 -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
Disty0 5f41181576 Cascade normalize padding and replace empty embed option with zeros 2024-06-13 03:13:45 +03:00
Vladimir Mandic d302ffbfa4 fix sampler defaults, facehires strength check 2024-06-11 08:55:04 -04:00
Vladimir Mandic 1fe7d922b8 handle infotext without prompt 2024-06-10 17:04:08 -04:00
Vladimir Mandic a5f9001ba9 on-demand install pynvml 2024-06-10 16:46:05 -04:00
Vladimir Mandic a20103a86c add prompt attention normalization 2024-06-10 15:48:55 -04:00
Disty0 38c6dbdd4a Don't force empty padding on Cascade 2024-06-10 18:36:57 +03:00
Disty0 4f482986d1 Add empty prompt padding option 2024-06-10 17:59:07 +03:00
Vladimir Mandic 3341a34549 cuda exception handler 2024-06-09 11:15:31 -04:00
Vladimir Mandic 8a541d21fa prep work for single-file t2i-adapters 2024-06-09 09:54:16 -04:00
Vladimir Mandic 773a5087cc control add before after sizing to metadata 2024-06-09 09:25:52 -04:00
Vladimir Mandic 7f984c66fa fix control reference enabled check 2024-06-09 08:15:34 -04:00
Vladimir Mandic 4840c0019f cleanup installer 2024-06-08 15:17:07 -04:00
Vladimir Mandic 6d6f1de295 additional python 3.12 compatibility 2024-06-08 14:14:48 -04:00
Vladimir Mandic d4fead09a6 refactor initial installer 2024-06-08 13:37:52 -04:00
Vladimir Mandic db9718eee6 add torch full deterministic mode 2024-06-07 09:26:51 -04:00
Vladimir Mandic 5574833f0d refactor backend detection 2024-06-06 20:41:10 -04:00
Vladimir Mandic 6f019d8b80 infotext handle break before params 2024-06-06 13:43:47 -04:00
Vladimir Mandic cc2d6618d6 fix linebreak strip 2024-06-06 13:27:41 -04:00
Vladimir Mandic 4e1f8a2b71 fix capitalization 2024-06-06 13:15:44 -04:00
Vladimir Mandic 9bc217644d improve metadata parser 2024-06-06 11:24:31 -04:00
Vladimir Mandic 8a9c10e665 hidiffusion disable embeds cache 2024-06-05 17:36:43 -04:00
Vladimir Mandic 45d1cddbce add directml python version check 2024-06-05 17:24:25 -04:00
Vladimir Mandic 28b240f51b update 2024-06-04 08:08:37 -04:00
Vladimir Mandic 11b0b5e359
Merge pull request #3179 from lbeltrame/add-controlnets
Add four new ControlNet models for SDXL
2024-06-04 08:04:23 -04:00
Vladimir Mandic e15c21ede9 facehires implement include mask in output 2024-06-04 07:56:46 -04:00
Vladimir Mandic f84705d079 fix tgate apply/unapply 2024-06-04 07:12:12 -04:00
Luca Beltrame 6a212a15f2
Add two more ControlNets (scribble, one generic and one for anime) 2024-06-03 23:51:18 +02:00
Vladimir Mandic 1e4800e8f5 Jumbo update: HunyuanDiT, MuLan, PCM, T-Gate, KohyaHiResFix 2024-06-03 16:53:20 -04:00
Vladimir Mandic 4acb0c887d update dwpose installer 2024-06-02 17:42:46 -04:00
Vladimir Mandic 3cd12c51f5 fix loading models 2024-06-02 11:51:42 -04:00
Vladimir Mandic 7ea81450ba update mim installer 2024-06-02 11:18:39 -04:00
Vladimir Mandic 1015dcc76b cleanup 2024-06-01 15:18:47 -04:00
Vladimir Mandic f55e14be9a add variation seed to metadata 2024-06-01 14:14:51 -04:00
Vladimir Mandic e084d50956 cleanup sampler debug code 2024-06-01 14:00:52 -04:00
Disty0 06f9d6b6e4 Cascade fix progress bar 2024-06-01 17:52:19 +03:00
Vladimir Mandic 7998f405da fix subseed if seed is set 2024-06-01 09:44:53 -04:00
Vladimir Mandic 5a075f420e update schedulers 2024-06-01 09:06:54 -04:00
Vladimir Mandic 2bcada4755 fix restore variation seed for txt2img and img2img 2024-06-01 07:31:00 -04:00
Vladimir Mandic fdb5e240c6 fix face scripts 2024-05-31 14:45:57 -04:00
Disty0 887de74d22 Fix Cascade overcooking with more than 75 tokens 2024-05-31 18:40:39 +03:00
Seunghoon Lee 885f272cdd
zluda fix recursion 2024-05-31 13:26:31 +09:00
Vladimir Mandic 84d813bad4 fix faceid and improve insightface installer 2024-05-30 09:45:39 -04:00
Vladimir Mandic 3b004f4bcb fix variation seed with hires pass 2024-05-29 14:14:16 -04:00
Vladimir Mandic 99bddca5c1 fix control prompt lists 2024-05-29 13:48:07 -04:00
Luca Beltrame 1ec5ac1e9f Apply suggestions from review 2024-05-29 18:33:38 +02:00
Luca Beltrame e9d2da42b2 Add two new ControlNet models for SDXL
This PR adds two new ControlNet models made by HF user xinsir:

- New OpenPose model
- New Canny model

Both outperform the standard CN models and they also affect generation
much less. As a plus, the OpenPose model is half the size of the one
used by SD.Next.
2024-05-29 18:23:38 +02:00
Vladimir Mandic 2a8f065682 workaround for resize with modernui 2024-05-29 11:30:59 -04:00
Disty0 042cac8846 Stable Cascade fix NNCF compress 2024-05-29 16:48:41 +03:00
Vladimir Mandic 07b9c553b6 fix gallery extended chars in fn 2024-05-29 08:54:29 -04:00
Vladimir Mandic 0fb1cf4d1f fix ti 2024-05-29 08:48:12 -04:00
Seunghoon Lee 7a19dad24e
force cpu ep for zluda 2024-05-29 13:13:51 +09:00
Seunghoon Lee 93c40d69ba
directml lint fix 2024-05-29 12:59:16 +09: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
Seunghoon Lee 3c3e195063
zluda init 2024-05-28 17:19:19 +09:00
Seunghoon Lee 815ad61df3
hotfix 2024-05-28 17:11:20 +09:00
Seunghoon Lee b408e0e584
zluda peft 0.11.x compatibility 2024-05-28 16:38:39 +09:00
Vladimir Mandic 52bae436b0 add layerdiffuse 2024-05-27 20:50:09 -04:00
Vladimir Mandic 0f14d311e0 fix timesteps 2024-05-27 17:29:08 -04:00
Vladimir Mandic dc025697d9 fix pixart-sigma negative prompt 2024-05-27 16:50:44 -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 0cedf950f2 update diffusers, release notes, lint fixes 2024-05-27 08:59:57 -04:00
Disty0 3ebe2ab469 Fix prompt cache with clip skip 2024-05-26 18:15:38 +03:00
Disty0 7635ea651c Stable Cascade don't load unused models 2024-05-26 16:40:47 +03:00
Disty0 be264d14d6 Stable Cascade prompt parser support 2024-05-26 16:01:27 +03:00
Vladimir Mandic 41efd6584d fix cached prompts 2024-05-24 09:46:18 -04:00
Vladimir Mandic 7d7eba74b7 fix hidiffusion again 2024-05-23 12:58:24 -04:00
Vladimir Mandic 84137b1e17 fix hidiffusion 2024-05-23 11:18:35 -04:00
Vladimir Mandic 49c997e20f handle unknown tokens 2024-05-21 16:59:16 -04:00
Vladimir Mandic 4fa421ef90 add prompt caching and tokenizer info 2024-05-21 16:34:38 -04:00
Vladimir Mandic ac5b9a66b9 update requirements 2024-05-21 11:42:59 -04:00
Disty0 585b6037bd Check if the model has unet before remove_hidiffusion 2024-05-21 18:01:58 +03:00
Vladimir Mandic 44857a04a8 fix hidiffusion 2024-05-21 10:24:59 -04:00
Seunghoon Lee 9267b9b4e2
zluda minor fixes 2024-05-21 10:58:42 +09:00
Disty0 47806837e9 Cleanup compile code 2024-05-20 01:18:01 +03:00
Disty0 5ae658d91a Cleanup 2024-05-19 23:32:15 +03:00
Disty0 b7246ef4e6 Stable Cascade compile fixes 2024-05-19 23:20:04 +03:00
AI-Casanova 6540a2d1ed Fix Guidance (CFG & PAG) End for PAG Pipelines 2024-05-18 17:20:56 -05:00
Seunghoon Lee 956dba3c9f
zluda disable cudart by default 2024-05-18 13:04:42 +09:00
Seunghoon Lee cdc694c7f9
zluda remove dnn 2024-05-18 12:50:32 +09:00
Vladimir Mandic 2165a30f2d fix control gallery selector 2024-05-17 13:25:14 -04:00
Disty0 2aadaa3923 Cleanup 2024-05-17 18:57:29 +03:00
Vladimir Mandic beae2f88a6 fix hidiff 2024-05-17 11:21:30 -04:00
Vladimir Mandic b7ef7e406a improve hidiffusion 2024-05-17 10:36:25 -04:00
Vladimir Mandic 9b08e720a5 better image save reporting 2024-05-17 10:10:52 -04:00
Vladimir Mandic e194d3e6da fix wildcards 2024-05-17 10:06:25 -04:00
Seunghoon Lee 53d83468b6
remove amdhip64.dll from hip targets 2024-05-17 18:53:58 +09:00
Seunghoon Lee 6043f5a714
zluda support cudaMallocAsync 2024-05-17 13:43:55 +09:00
Seunghoon Lee 94e6ae721e
zluda v3.8 2024-05-17 13:42:46 +09:00
Seunghoon Lee 5e541b6ba7
remove unused 2024-05-17 10:07:56 +09:00
Vladimir Mandic 90d23170f8 apply styles/wildcards within batch and keep random seed 2024-05-16 20:04:31 -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
Disty0 e5ac0b7dca Fix Cascade 2024-05-16 11:07:59 +03: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 657f58e7de force disable hidiffusion on error 2024-05-15 11:52:55 -04:00
Vladimir Mandic 8b8d91f3e4 update 2024-05-15 11:31:27 -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 69d7fef190 handle forward/backward slash in wildcards 2024-05-14 23:30:20 -04:00
Vladimir Mandic 024407fc72 fix control save image 2024-05-14 16:44:13 -04: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 1ad27d4b25 wildcards limit max recursion 2024-05-14 13:03:55 -04:00
Vladimir Mandic 76cbf11559 cache diffusers model config 2024-05-14 12:54:34 -04:00
Vladimir Mandic 4b4783db11 fix en list view tags 2024-05-14 12:10:05 -04:00
Vladimir Mandic d449b23132 fix en switch view 2024-05-14 11:58:47 -04:00
Vladimir Mandic 6733f3437a move face restore settings 2024-05-14 11:34:51 -04:00
Vladimir Mandic 9ca061f76f fix sampler fallback 2024-05-14 10:16:02 -04:00
Vladimir Mandic 8576a540ef add control run summary 2024-05-14 10:07:25 -04:00
Seunghoon Lee 343459d690
make error message more readable 2024-05-14 14:13:00 +09:00
Seunghoon Lee 49e9447253
better hip sdk detection 2024-05-14 14:08:24 +09:00
Vladimir Mandic 6d85980c56 face-hires improvements 2024-05-13 17:46:25 -04:00
Vladimir Mandic 0224e75bf6 diffusers main code refactor 2024-05-13 12:46:03 -04:00
Vladimir Mandic 7390815e07 minor prompt parse changes 2024-05-13 11:17:07 -04:00
Vladimir Mandic 5bc135630f add infotext to control tab 2024-05-13 09:35:05 -04:00
Seunghoon Lee 74687dbc44
improve zluda operation test 2024-05-13 17:44:44 +09:00
Vladimir Mandic 328930966e change local_files_only 2024-05-12 18:37:30 -04:00
Vladimir Mandic 0f5897330f batch reporting 2024-05-12 18:05:02 -04:00
Vladimir Mandic c20e080b8a timesteps with hires 2024-05-12 17:38:33 -04:00
Vladimir Mandic 3757d0c780 wildcard handle better handle recursion 2024-05-12 14:19:03 -04:00
Vladimir Mandic ffe53e4a79 fix hidiffusion with freeu 2024-05-12 12:31:04 -04:00
Vladimir Mandic f958ca0c21 add wildcards 2024-05-12 11:53:25 -04:00
Vladimir Mandic 51f9c3a99b en default sort and disable hypernet by default 2024-05-12 08:52:34 -04:00
Vladimir Mandic 7e6588685f fix prompt cropping 2024-05-12 08:39:14 -04:00
Disty0 66de7597d1 OpenVINO disable upscaler compile by default 2024-05-12 14:08:41 +03:00
Vladimir Mandic eff5dce05f new sampler features 2024-05-11 12:53:45 -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 24caf7c133 add modernui to readme 2024-05-10 13:55:00 -04:00
Vladimir Mandic 2f3557f6ea patch diffusers loader 2024-05-10 10:08:01 -04:00
Vladimir Mandic e7b30ef662 a1111 optioninfo compatibility 2024-05-10 08:46:38 -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 1e504e9c18 hidiffusion img2img 2024-05-09 09:13:44 -04:00
Vladimir Mandic 72c4970742 fix model detect 2024-05-09 08:55:01 -04:00