ComfyUI
ComfyUI copied to clipboard
[BlockInfo] Wan
- Added 3 block informations to the
transformer_optionsfor Wan:- block_index - the index of the current block
- total_blocks - the total amount of blocks of that type
- block_type - single / double
- For Wan S2V, added the
transformer_optionsto theforwardfunctions - New: Also added the block informations to Wan Animate
Wan block info works, have not tested S2V yet.
For this, could you convert the block info back to using ints? torch.compile graph breaks should be largely mitigated now by https://github.com/comfyanonymous/ComfyUI/pull/11317
Tested S2V, still works, so after the int change is made, I can immediately merge!
perfect, thanks!