Commit Graph
100 Commits
Author SHA1 Message Date
kijai 001bc0e24a Merge branch 'main' of https://github.com/kijai/ComfyUI-WanVideoWrapper 2025-12-04 16:44:29 +02:00
kijai 7189922f36 Update __init__.py 2025-12-04 16:44:18 +02:00
kijai faf9c5927d Merge branch 'pr/1510' 2025-12-04 16:44:02 +02:00
Jukka Seppänen 6c5dc0ba2a Merge pull request #1546 from wzxysf/main
Enable vae tiling with end frame
2025-12-04 16:40:29 +02:00
Jukka Seppänen 995804166d Merge pull request #1651 from jamesjjcondon/patch-1
Refactor data_mean and data_std initialization
2025-12-04 16:40:05 +02:00
kijai b06c7d2d6d Add UltraViCo -sage attention mode and refactor some attention code
https://github.com/thu-ml/DiT-Extrapolation/
2025-12-03 13:32:45 +02:00
kijai 014e711972 cleanup 2025-12-03 11:09:09 +02:00
kijai c47b1ded69 Apply conv3d workaround to UniAnimate 2025-12-02 15:00:06 +02:00
kijai 7bc45daaf2 Cleanup whitespaces 2025-12-02 14:50:26 +02:00
kijai aebeeb9160 Code cleanup 2025-12-02 14:49:42 +02:00
kijai e60eb995ee version 1.4.0 2025-12-02 00:46:01 +02:00
kijai b9f6c9aa50 Update __init__.py 2025-12-02 00:45:22 +02:00
kijai c1fbc93521 Add ViBTScheduler to use ViBT models
https://github.com/Yuanshi9815/ViBT/tree/main
2025-12-02 00:26:50 +02:00
kijai c4ca252fea Fix compiled LoRA application
Still needs to be unfused
2025-12-01 20:38:01 +02:00
kijai c4db00609a Use torch.chunk for chunking 2025-12-01 17:39:50 +02:00
kijai 5a52d6b92f Add VAE feat_cache offloading, VAE tqdm progress bar and memory usage report 2025-12-01 15:05:20 +02:00
kijai a652c55bf7 Remove LoRAs when fully offloading as well 2025-12-01 12:50:22 +02:00
kijai 196d39695f Fix sageattn_varlen 2025-12-01 01:11:06 +02:00
kijai e5be3e5263 Use torch custom_ops to avoid graph breaks with torch.compile
Hopefully finally fixes the torch.compile VRAM issues...
2025-12-01 00:29:27 +02:00
kijai a6071c7be5 Merge branch 'main' into steadydancer 2025-11-30 17:56:50 +02:00
kijai 0cba1edd4e Better just not compile this as it's causing issues 2025-11-30 17:53:28 +02:00
kijai a9cd073f29 Remove unnecessary recompile when using cfg 2025-11-30 17:52:56 +02:00
kijai 1e9e2be622 Avoid recompile here 2025-11-30 17:32:24 +02:00
kijai 99c3978da4 Reduce peak VRAM usage when not using torch.compile (and some even with it)
Found some intermediates that weren't freed which should reduce VRAM usage overall, and modified RoPE application outside torch compile for similar gains than when using torch.compile.
2025-11-30 17:14:53 +02:00
kijai 30bd7d46eb example update 2025-11-29 02:38:02 +02:00
kijai 0c9d5b8dcc context windows 2025-11-29 02:11:57 +02:00
kijai 66d44ec8db This doesn't really do anything useful 2025-11-28 21:15:25 +02:00
kijai 394c7c13d2 Add strength controls 2025-11-28 21:11:20 +02:00
kijai c9931364b3 Create wanvideo_I2V_steadydancer_testing.json 2025-11-28 20:34:55 +02:00
kijai e54fa5d059 Init 2025-11-28 20:32:16 +02:00
kijai 772642b4f1 Update nodes.py 2025-11-27 20:19:06 +02:00
kijai 472ed70757 Add node to preview image embeds 2025-11-27 20:08:23 +02:00
kijai 44feb24290 Allow TTM to work with 5B models 2025-11-20 11:43:53 +02:00
kijai fa7a967ee7 Fix stand-in 2025-11-17 11:56:02 +02:00
kijai ec161373f4 Update readme.md 2025-11-16 19:30:09 +02:00
kijai 0e3fd0b491 Create wanvideo2_2_I2V_A14B_TimeToMove_example.json 2025-11-16 19:26:51 +02:00
kijai f872460285 Fix TTM for dual sampler setups 2025-11-16 19:23:19 +02:00
kijai b826642a83 Add TTM support (Time To Move)
https://github.com/time-to-move/TTM
2025-11-16 17:52:49 +02:00
kijai e3c2a1431b Squashed commit of the following:
commit f685ee33ac
Merge: bb5707f 4e31081
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 13 16:37:38 2025 +0200

    Merge branch 'main' into bindweave

commit bb5707f601
Merge: acb662b ff26836
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Tue Nov 11 18:53:19 2025 +0200

    Merge branch 'main' into bindweave

commit acb662b5af
Merge: 907c9e1 e926f7a
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Tue Nov 11 11:44:26 2025 +0200

    Merge branch 'main' into bindweave

commit 907c9e1cdd
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Mon Nov 10 21:02:58 2025 +0200

    Update nodes.py

commit e4a4d22537
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Sat Nov 8 16:04:55 2025 +0200

    Update nodes_sampler.py

commit a3b2f67337
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Sat Nov 8 16:03:00 2025 +0200

    Pad clip vision embeds like in original code

commit 1e00c8fb28
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Sat Nov 8 12:21:11 2025 +0200

    Update nodes.py

commit ff16dce5c0
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Fri Nov 7 01:15:13 2025 +0200

    Update nodes_sampler.py

commit f972b31bf2
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Fri Nov 7 01:09:22 2025 +0200

    Update nodes.py

commit 3dacd6a719
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Fri Nov 7 00:45:06 2025 +0200

    Update nodes_sampler.py

commit 7bf99791ad
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Fri Nov 7 00:44:13 2025 +0200

    Update nodes.py

commit 7a5587b5af
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Fri Nov 7 00:39:10 2025 +0200

    Let the user resize for QwenVL

    Seems to need smaller resolutions

commit d6cf172846
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 23:41:24 2025 +0200

    Update nodes.py

commit cf86f4f0a4
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 21:01:03 2025 +0200

    Update model.py

commit b1f8309a20
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 19:55:54 2025 +0200

    Update nodes_model_loading.py

commit 8992c6af64
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 19:22:56 2025 +0200

    Don't include padding for scheduler

commit e4084a961b
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 18:32:53 2025 +0200

    Update nodes.py

commit 3ec1edefbe
Author: kijai <40791699+kijai@users.noreply.github.com>
Date:   Thu Nov 6 17:35:48 2025 +0200

    init

    For testing, no idea if it works yet
2025-11-13 17:10:57 +02:00
kijai 4e31081262 Better errors when trying to load models that don't exist 2025-11-13 16:19:05 +02:00
kijai ff26836cab Create wanvideo_2_2_5B_Ovi_image_to_video_audio_10_seconds_example_01.json 2025-11-11 18:53:11 +02:00
kijai 22037243ab Fix Ovi audio negative prompt
Had rather bad bug here which made Ovi audio always use the video negative prompt...
2025-11-11 17:47:33 +02:00
kijai e926f7a069 version bump 1.3.9 2025-11-11 10:57:46 +02:00
kijai e01e34da1f Update nodes_model_loading.py 2025-11-11 10:01:06 +02:00
kijai 47514f678d Allow loading original Ovi -models 2025-11-11 09:46:13 +02:00
kijai de3c9c895a Create wanvideo_1_3B_UniLumos_relight_example_01.json 2025-11-10 19:41:22 +02:00
kijai 4576ddb35e Add node to create input for UniLumos 2025-11-10 19:41:19 +02:00
kijai 68392684b5 Add node to use UniLumos
Simply allows fore and background latent inputs for UniLumos relight model, example inputs seem to work: https://github.com/alibaba-damo-academy/Lumos-Custom/tree/main/UniLumos/UniLumos/examples
2025-11-10 19:06:45 +02:00
Jukka Seppänen d3f33a9f09 Update readme.md 2025-11-06 16:38:46 +02:00
kijai d0ef3b5601 Update readme.md 2025-11-06 16:37:50 +02:00
kijai 475f96aede Fix accidental positional arg 2025-11-04 20:53:46 +02:00
kijai 1d0516a2a9 Avoid graph break for LongCat 2025-11-04 10:26:37 +02:00
kijai 8002d8a2f9 This still needed for some reason too 2025-11-04 09:58:40 +02:00
kijai 9a588a42ec Fix some precision issues with unmerged lora 2025-11-04 09:47:38 +02:00
kijai 509d6922f5 Update custom_linear.py 2025-11-04 09:44:07 +02:00
kijai 9fa4140159 Make lora torch.compile optional for unmerged lora application
This change has caused issues especially with LoRAs that have dynamic rank. Will now be disabled by default, to allow full graph with unmerged LoRAs the option to allow compile is available in the Torch Compile Settings -node
2025-11-04 01:34:51 +02:00
kijai 8ce6916d72 Fix for some cases of using comfy_chunked rope 2025-11-03 10:36:55 +02:00
kijai 0d0d28569a Fix cases where text encoder isn't used (eg. Minimax remover) 2025-11-03 10:29:10 +02:00
kijai 75109fdb79 Fix custom sigmas with euler 2025-11-03 10:12:05 +02:00
kijai 5eae7087fa Fix for S2V 2025-11-02 01:24:50 +02:00
kijai 393fe78ec2 Update model.py 2025-10-31 23:39:55 +02:00
kijai 5f4020b12d Fix a possible issue with Ovi audio model loading 2025-10-31 17:24:24 +02:00
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
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