Commit Graph
360 Commits
Author SHA1 Message Date
Jedrzej Kosinski 430c49ef04 Use new calc_cond_batch function while maintaining backwards compatibility 2024-04-03 04:09:24 -05:00
Jedrzej Kosinski 1e8fba9384 Made CLIP LoRA hooks work as intended, proper way to force ModelPatcherAndInjector to cause model reload when hooks present 2024-03-29 06:22:30 -05:00
Jedrzej Kosinski d45bc705a4 Improved CLIP hooked LoRA patching, fixed eight-way Combine LoRA Hooks node not working 2024-03-28 01:30:55 -05:00
Jedrzej Kosinski b2b4f1ce5a Added Register Model as LoRA Hook functionality 2024-03-27 13:47:58 -05:00
Jedrzej Kosinski 6f6b887b71 Added MAX_SPEED lora masking mode, fixed masking for newest comfy updates 2024-03-24 23:17:47 -05:00
Jedrzej Kosinski 2ae255e97d Added lora masking support for CLIP component of lora 2024-03-23 12:12:01 -05:00
Jedrzej Kosinski a9a0082d7c Added None check in calc_cond_uncond_batch_wrapper (uncond can be None) 2024-03-22 01:50:07 -05:00
Jedrzej Kosinski 448d746334 Made sure ejection/injection happens between hooked_patches patching/unpatching (might be unnecessary, we'll see) 2024-03-21 23:41:33 -05:00
Jedrzej Kosinski de9be7b376 Working proof-of-concept for LoRA masking 2024-03-21 19:27:11 -05:00
Jedrzej Kosinski 1fe66d6229 Merge branch 'main' into develop 2024-03-20 16:08:04 -05:00
Jedrzej Kosinski ab156a380f Merge pull request #321 from Kosinkadink/unpatch-update-fix
Accounted for unpatch_model changes in new ComfyUI
2024-03-20 15:50:08 -05:00
Jedrzej Kosinski 4edcd5ecc2 Accounted for unpatch_model changes in new ComfyUI 2024-03-20 15:49:41 -05:00
Jedrzej Kosinski 305e562f74 Progress on lora masking 2024-03-20 14:21:34 -05:00
Jedrzej Kosinski a7988363a3 Merge branch 'main' into develop 2024-03-19 13:10:00 -05:00
Jedrzej Kosinski 3ad78c21ad Merge PR #319 from Kosinkadink/patch-model-fix - patch_weights fix
Add patch_weights to ModelPatcherAndInjector to work with lowvram
2024-03-19 13:00:53 -05:00
Jedrzej Kosinski c66f3882f0 Made patch_model fix backwards compatible for now 2024-03-19 12:59:46 -05:00
Jedrzej Kosinski e7a61d8ef2 Add patch_weights to ModelPatcherAndInjector to work with lowvram 2024-03-19 12:53:46 -05:00
Jedrzej Kosinski 6961b59241 Progress on maskable loras 2024-03-19 12:51:04 -05:00
Jedrzej Kosinski b5b9e0ea15 Merge PR #315 from Kosinkadink/develop - Added Weight Adjust Nodes
Added Weight Adjust Nodes
2024-03-18 16:18:27 -05:00
Jedrzej Kosinski e91529624a Added Weight Adjust nodes add/mult AD model weights (the real replacement and advancement for the months-deprecated motion model settings) 2024-03-18 16:08:12 -05:00
Jedrzej Kosinski 315026f975 Merge PR #314 from Kosinkadink/develop - AnimateLCM2-I2V support
Added AnimateLCM-I2V support
2024-03-17 19:07:42 -05:00
Jedrzej Kosinski 025bf14e67 Made AnimateLCM-I2V fp8-compatible 2024-03-17 19:03:55 -05:00
Jedrzej Kosinski 9f3fe2fca9 Fixed missing capitalization in Scale Ref Image and VAE Encode name 2024-03-17 17:56:50 -05:00
Jedrzej Kosinski f9a7b0b840 Update README.md 2024-03-17 17:49:47 -05:00
Jedrzej Kosinski 5cf81cbc6e Added Scacle Ref and Vae Encode node to simplify inserting good latents into ref_latent, added extras emojis on deprecated node names 2024-03-17 17:30:46 -05:00
Jedrzej Kosinski 14fdb9c6a2 Fixed EncoderOnlyTemporalModule not getting ejected 2024-03-17 15:11:17 -05:00
Jedrzej Kosinski 295e70e076 Fixed bug with ref in AnimateLCM-I2V continued to be used, exposed a proper way of replicating the bug or using just the img_encoder without the motion model, AnimateDiffModel changes to facilitate these features 2024-03-15 19:20:59 -05:00
Jedrzej Kosinski 70ebc0a396 Added initial AnimateLCM-I2V support 2024-03-14 06:54:48 -05:00
Jedrzej Kosinski d56db52d66 Renamed a few long vars, refactoring to support AnimateLCM-I2V model 2024-03-13 14:13:38 -05:00
Jedrzej Kosinski 0241591f9c Fix 'autoselect' beta_schedule not working with Use Evolved Sampling when no motion models are used 2024-03-11 12:47:18 -05:00
Jedrzej Kosinski 9ccea911a6 Merge PR #310 from BlakeOne/fix_admd_lora_keys
fix admd lora keys
2024-03-04 21:03:46 -06:00
BlakeOne 2d0da0065e fix admd lora keys 2024-03-04 11:44:14 -08:00
Jedrzej Kosinski 3269381e68 Merge PR #309 from Kosinkadink/develop - motion lora edgecase fix
Small fixes + motion lora edge case
2024-03-03 00:57:16 -06:00
Jedrzej Kosinski 15ce9771d1 Make sure motion lora weight_down and weight_up are cast to float32 for torch.mm call 2024-03-03 00:50:02 -06:00
Jedrzej Kosinski 12c9879ebb Merge PR #307 from ya0guang/patch-1
Fix the bug in `utils_motion.py`
2024-02-26 15:35:54 -06:00
Hongbo 5f8fba1ba3 Fix the bug in utils_motion.py
This statement is syntactically correct, but its behavior might not match the expected outcome due to the way Python's conditional (ternary) operator precedence works.

In Python, the conditional expression has lower precedence than the comma.
2024-02-26 15:58:14 -05:00
Jedrzej Kosinski 91fdbd573c Merge branch 'main' into develop 2024-02-17 22:18:53 -06:00
Jedrzej Kosinski 61481955be Merge PR #303 from fofr/main - fix Union import
Import Union from typing rather than git
2024-02-17 22:14:50 -06:00
Paul 8ba8e915ed Import Union from typing
This looks like a typo where Union is being imported from `git` instead of `typing` like elsewhere in the repo.

I do not have GitPython installed in my container, so this was erroring:

```from git import Union
ModuleNotFoundError: No module named 'git'```
2024-02-17 19:57:05 -08:00
Jedrzej Kosinski e733f214ec Account for num_video_frames for SVD in get_resized_conds 2024-02-13 22:23:42 -06:00
Jedrzej Kosinski 8550a9b009 Merge branch 'main' into develop 2024-02-10 02:49:53 -06:00
Jedrzej Kosinski e791bb5a0e Fix ADKeyframeNode type annotation 2024-02-10 02:46:13 -06:00
Jedrzej Kosinski 4b31c0819d Merge PR #299 - Custom CFG, Sigma Schedule, and 'relative' Fuse Method
Added Custom CFG, Sigma Schedule, and relative Fuse Method for Standard Static Context Options
2024-02-10 02:18:17 -06:00
Jedrzej Kosinski 9fcb5e9c03 Added Sigma Schedule nodes for Sample Settings use 2024-02-10 02:04:52 -06:00
Jedrzej Kosinski 3923884d2e Fixed cfg being set to 1.0 on KSampler causing issues with custom_cfg 2024-02-09 04:57:13 -06:00
Jedrzej Kosinski 1c065ada89 Added schedulable Custom CFG Keyframes 2024-02-09 01:17:32 -06:00
Jedrzej Kosinski fd839ae11d Fixed Views Only Context Options scheduling not working properly for any Views Only that aren't first context in the schedule 2024-02-06 18:10:48 -06:00
Jedrzej Kosinski 72b0e04365 relative fuse_method only exposed for Standard Static method, added commented out view options version of relative fuse_method - not working as intended, I'll need to see if it's possible to make it work there later 2024-02-06 17:23:37 -06:00
Jedrzej Kosinski f750904164 Added custom_cfg to Sample Settings node, added 'relative' fuse method 2024-02-06 10:12:42 -06:00
Jedrzej Kosinski 3167dd882d Added lcm avg(sqrt_linear,linear) beta_schedule for testing 2024-02-05 10:22:31 -06:00