ComfyUI-WanVideoWrapper icon indicating copy to clipboard operation
ComfyUI-WanVideoWrapper copied to clipboard

Res_2s and BONG

Open nftsimmersive opened this issue 1 year ago • 6 comments

Hi there community! I prefer to use wrapper due to block swappming and torch compile being much better and working with wan2.2. However, there is an obvious shortcoming which is no res-2s and BONG tangent from the RES4LYF which is a significant improvement in the native workflow.

Is there anyway to integrate this into the wrapper/ksampler into a 2.2 workflow as of now (I assume KJ is not working on this into his own sampler?)

nftsimmersive avatar Aug 01 '25 12:08 nftsimmersive

i’ve seen similar requests over the past few weeks, but i haven’t seen Kijai respond to any of them. Kijai is active replied other thing, so maybe he has his own reasons for only providing a few samplers for the wanvideowrapper node at least for now.

Also, just fyi, you can get a wanblockswap node from other repos, and torch compile is already available on kjnodes that you can use in native workflow.

Image

fauzanakbar008 avatar Aug 01 '25 23:08 fauzanakbar008

The reason is pretty simple: I can't understand a thing about the code in res4lyf. The dev is talented for sure and I have respect for them, so this is more self-criticism.

kijai avatar Aug 02 '25 07:08 kijai

Image

I think I read some comments on reddit that the TorchCompileWanVideo2 node may not be 100% working on 2.2, but it seems working for me. I havent found a working BlockSwap node, the main one appears to only work with gguf models, Im using the bf16 ones. @fauzanakbar008 could you point me towards a blockswap node for native which works with wan2.2 in native please?

This is the one which does not work unless I have it rigged incorrectly (have it in there twice, one for each model): https://github.com/orssorbit/ComfyUI-wanBlockswap

nftsimmersive avatar Aug 02 '25 10:08 nftsimmersive

Image I think I read some comments on reddit that the TorchCompileWanVideo2 node may not be 100% working on 2.2, but it seems working for me. I havent found a working BlockSwap node, the main one appears to only work with gguf models, Im using the bf16 ones. [@fauzanakbar008](https://github.com/fauzanakbar008) could you point me towards a blockswap node for native which works with wan2.2 in native please?

This is the one which does not work unless I have it rigged incorrectly (have it in there twice, one for each model): https://github.com/orssorbit/ComfyUI-wanBlockswap

You don't need block swap in native as it's done automatically in the background, there are issues with it related to how it estimates the needed VRAM, for one it doesn't take your operating system's VRAM use into account which can lead to it seemingly not working, common issue in Windows especially. One way to counter that is launch Comfy with --reserve-vram 2 which would reserve extra 2GB that should be enough room for it to work better.

The torch compile is no different at all for 2.2 than 2.1, it should work fine.

kijai avatar Aug 02 '25 11:08 kijai

Hi there community! I prefer to use wrapper due to block swappming and torch compile being much better and working with wan2.2. However, there is an obvious shortcoming which is no res-2s and BONG tangent from the RES4LYF which is a significant improvement in the native workflow.

Is there anyway to integrate this into the wrapper/ksampler into a 2.2 workflow as of now (I assume KJ is not working on this into his own sampler?)

You can try to reach clownsharkbatwing (the guy behind re4lyf) on the l3 discord channel from cubiq. He's quite active there. Maybe he can spend time on a pr. This is the discord link. Search for sampling madess thread:

https://discord.gg/ekT7Hxnb

erosDiffusion avatar Aug 03 '25 15:08 erosDiffusion

It's a bit strange because installing the Res3Lyf nodes adds the res2, bong_tangent (and many others) to the normal KSampler options. For me the Res4Lyf samplers and schedulers are a deal breaker, the quality is much better, I did a thorough testing with about 120 cominations, in general res2 and bong_target are the best. The res3, 4 and 5 improve the quality of generations with fast motions. The Crouzeix_2s and Gauss_Legendre are also good, and can give better results in some cases.

Sofocletus avatar Nov 11 '25 09:11 Sofocletus