Commit Graph
1238 Commits
Author SHA1 Message Date
kijai 5da8a6b169 Fix MultiTalk on some models 2025-10-31 16:50:00 +02:00
kijai ce6e7b501d Fix unmerged LoRA application for certain LoRAs 2025-10-30 23:28:38 +02:00
kijai 366f740d28 Update readme.md 2025-10-30 23:10:06 +02:00
Jukka Seppänen d45fe1ee22 Add note about blocking new accounts from posting issues
Added a note regarding issue posting restrictions due to bot activity.
2025-10-30 18:19:45 +02:00
kijai da24890d53 Update pyproject.toml 2025-10-30 17:56:20 +02:00
kijai 95391f403d Update nodes_sampler.py 2025-10-30 17:55:55 +02:00
kijai 9e0b3afe4e version checkpoint 2025-10-30 17:53:29 +02:00
kijai ba1beba982 Create LongCat_TI2V_example_01.json 2025-10-30 17:51:52 +02:00
kijai 64c195167b Update nodes.py 2025-10-30 17:33:42 +02:00
kijai cc9bf1e4f5 Store lora diffs in buffers for GGUF as well 2025-10-30 16:44:03 +02:00
kijai a64f115d35 Fix to previous 2025-10-29 11:06:38 +02:00
kijai e45f6f2fc4 Allow WanVideoScheduler -node to work with the looping samplers
Was broken for Multitalk/WanAnimate/S2V
2025-10-29 10:41:33 +02:00
kijai 1cd8df5c00 Update custom_linear.py 2025-10-29 02:50:11 +02:00
kijai d2614a9a49 Merge branch 'main' into longcat 2025-10-29 02:33:37 +02:00
kijai 083a8458c4 Register lora diffs as buffers to allow them to work with block swap
unmerged loras (non GGUF for now) will now be moved with block swap instead of always loaded from cpu to reduce device transfers and allow torch compile full graph
2025-10-29 02:33:26 +02:00
kijai 1c2f17e8d7 Add utility node to split sampler from settings
For cleaner previews
2025-10-29 02:24:24 +02:00
kijai 9d45b9f0de Use comfy core Conv3D workaround for VAE rather than the fp32 cast 2025-10-29 02:23:49 +02:00
Jukka Seppänen 833c6f50c7 Merge pull request #1581 from chengzeyi/fix-ref-conv-dtype-mismatch
Fix dtype mismatch in ref_conv forward pass
2025-10-28 14:27:43 +02:00
chengzeyiandClaude d15cf3001f Fix dtype mismatch in ref_conv forward pass
This commit fixes a RuntimeError that occurs when using Fun-Control
reference images: "Input type (float) and bias type (c10::Half)
should be the same"

Root cause:
- Commit 1ba1a16 changed the dtype handling strategy to convert
  the main latent `x` to `base_dtype` instead of converting
  embeddings to match `x.dtype`
- This caused `fun_ref` input to be in a different dtype than
  the `ref_conv` layer's weights and bias
- Line 2324 already handles this correctly for `attn_cond` by
  converting to `self.attn_conv_in.weight.dtype`

Solution:
- Convert `fun_ref` to match `self.ref_conv.weight.dtype` before
  passing through the convolution layer
- This follows the same pattern used for `attn_cond` on line 2324

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 12:08:23 +00:00
kijai eebbcd5ee0 Update model.py 2025-10-28 02:04:50 +02:00
kijai 2633119505 Update custom_linear.py 2025-10-28 01:55:25 +02:00
kijai 90908df260 Update model.py 2025-10-28 01:54:42 +02:00
kijai c80a488f70 Use fp32 norms for other models too and other fixes 2025-10-28 01:52:48 +02:00
kijai e69e068b57 Update gguf.py 2025-10-27 21:02:59 +02:00
kijai 54c45500b0 Apply lora diffs with unmerged loras too 2025-10-27 21:01:45 +02:00
kijai e560366600 Update model.py 2025-10-27 18:55:30 +02:00
kijai f880b321c6 Allow compile in lora application 2025-10-27 01:34:32 +02:00
kijai 51fcbd6b3d Revert "Allow compile here"
This reverts commit f583b56878.
2025-10-27 01:07:03 +02:00
kijai f583b56878 Allow compile here 2025-10-27 01:06:39 +02:00
kijai c59e52ca44 Precision adjustments 2025-10-27 00:23:32 +02:00
kijai a0bdf20817 Some cleanup and allow full block swap 2025-10-26 23:05:17 +02:00
kijai 8ad7e50f33 Fix cross attention split point 2025-10-26 22:07:19 +02:00
kijai d504c96174 Separate attention for input images like in original 2025-10-26 19:14:47 +02:00
kijai 43acf83adb Update model.py 2025-10-26 16:57:25 +02:00
kijai fb00932cad Init
https://huggingface.co/Kijai/LongCat-Video_comfy/tree/main
2025-10-26 16:36:20 +02:00
kijai d74cfc54e8 Don't zero the extra frames
Possible fix for SVI "shot" method
2025-10-24 15:28:35 +03:00
kijai cfa883767f Update utils.py 2025-10-24 12:50:49 +03:00
kijai 88a60d71ab Fix 2025-10-23 23:25:20 +03:00
kijai b3ad381a65 not all torch versions have this 2025-10-23 21:12:45 +03:00
kijai 41168b1e82 Support light VAE
https://huggingface.co/lightx2v/Autoencoders/tree/main
2025-10-23 12:31:55 +03:00
kijai 7251c996d2 Load these LoRA keys too
Even though doesn't seem to do anything? At least silences the errors
2025-10-22 20:43:45 +03:00
kijai 67fcf0ba52 Reduce needless torch.compile recompiles 2025-10-22 13:29:13 +03:00
kijai aa610cde2b VACE: Support per context window reference images 2025-10-22 11:24:30 +03:00
kijai 6b286552b7 MocHa: remove possibly alpha channel from inputs 2025-10-21 23:26:17 +03:00
kijai 2ea824b9ab Mocha: Fix context window slicing 2025-10-21 20:33:03 +03:00
kijai 001040abc7 Update nodes.py 2025-10-21 20:27:37 +03:00
kijai 746d46e137 WanVideoScheduler: Always show split step sigma 2025-10-21 20:14:54 +03:00
kijai 089329ef2e MoCha: revert some RoPE changes 2025-10-21 20:12:40 +03:00
kijai 5c1f64197e Check for actual scale_weights even if the model for some reason doesn't have the scaled_fp8 key 2025-10-21 19:40:50 +03:00
kijai 54e938cd70 MoCha: Fix context window mask 2025-10-21 19:40:01 +03:00