HunyuanVideo: A Systematic Framework For Large Video Generation Model
fix bugs
Xibo Sun4841f2e6739b
diff --git a/hyvideo/inference.py b/hyvideo/inference.pyindex 8f57a9c..c193559 100644--- a/hyvideo/inference.py+++ b/hyvideo/inference.py@@ -68,7 +68,7 @@ def parallelize_transformer(pipe):from xfuser.core.long_ctx_attention import xFuserLongContextAttention- for block in [transformer.double_blocks + transformer.single_blocks]:+ for block in transformer.double_blocks + transformer.single_blocks:block.hybrid_seq_parallel_attn = xFuserLongContextAttention()output = original_forward(