In the _recache_after_switch function, there is a process for generating block_mask. However, it seems that this block_mask is not actually used during inference in CausalWanModel.
Am I misunderstanding something here, or is there a part of the implementation I might have missed where block_mask comes into play?
In the
_recache_after_switchfunction, there is a process for generatingblock_mask. However, it seems that thisblock_maskis not actually used during inference inCausalWanModel.Am I misunderstanding something here, or is there a part of the implementation I might have missed where
block_maskcomes into play?