HunyuanVideo: A Systematic Framework For Large Video Generation Model
add parallelization configurations in readme
Xibo Sun76e48879d39f
diff --git a/README.md b/README.mdindex f70b520..3290a6b 100644--- a/README.md+++ b/README.md@@ -233,7 +233,7 @@ We list the height/width/frame settings we support in the following table.### Using Command Line-Single GPU:+**Single GPU:**```bashcd HunyuanVideo@@ -248,21 +248,44 @@ python3 sample_video.py \--save-path ./results```-Multiple GPUs:+**Multiple GPUs:**```bashcd HunyuanVideo-torchrun --nproc_per_node=3 sample_video_parallel.py \- --video-size 720 1280 \+torchrun --nproc_per_node=8 sample_video_parallel.py \+ --video-size 1280 720 \--video-length 129 \--infer-steps 50 \--prompt "A cat walks on the grass, realistic style." \--flow-reverse \- --use-cpu-offload \+ --seed 42 \+ --ulysses_degree 8 \+ --ring_degree 1 \--save-path ./results```+parallelization cofigurations++| --video-size | --video-length | supported --ulysses-degree x --ring-degree | --nproc-per-node |+|--------------|----------------|--------------------------------------------|------------------|+| 1280 720 | 129 | 8x1,4x2,2x4,1x8 | 8 |+| 1280 720 | 129 | 4x1,2x2,1x4 | 4 |+| 1280 720 | 129 | 2x1,1x2 | 2 |+| 1104 832 | 129 | 3x1,1x3 | 3 |+| 960 960 | 129 | 6x1,3x2,2x3,1x6 | 6 |+| 960 960 | 129 | 4x1,2x2,1x4 | 4 |+| 960 960 | 129 | 1x2,2x1 | 2 |+| 832 1104 | 129 | 4x1,2x2,1x4 | 4 |+| 832 1104 | 129 | 2x1,1x2 | 2 |+| 720 1280 | 129 | 1x5 | 5 |+| 720 1280 | 129 | 3x1,1x3 | 3 |+| 960 544 | 129 | 6x1,3x2,2x3,1x6 | 6 |+| 960 544 | 129 | 4x1,2x2,1x4 | 4 |+| 960 544 | 129 | 1x2,2x1 | 2 |+| 832 624 | 129 | 4x1,2x2,1x4 | 4 |+| 832 624 | 129 | 2x1,1x2 | 2 |+### More ConfigurationsWe list some more useful configurations for easy usage:diff --git a/README_zh.md b/README_zh.mdindex ec4ef2d..8a3c92b 100644--- a/README_zh.md+++ b/README_zh.md@@ -219,7 +219,7 @@ docker run -itd --gpus all --init --net=host --uts=host --ipc=host --name hunyua### 使用命令行-单GPU+**单GPU**```bashcd HunyuanVideo@@ -236,7 +236,7 @@ python3 sample_video.py \--save-path ./results```-多GPU+**多GPU**```bashcd HunyuanVideo@@ -253,6 +253,27 @@ torchrun --nproc_per_node=8 sample_video_parallel.py \--save-path ./results```+并行参数++| --video-size | --video-length | supported --ulysses-degree x --ring-degree | --nproc-per-node |+|--------------|----------------|--------------------------------------------|------------------|+| 1280 720 | 129 | 8x1,4x2,2x4,1x8 | 8 |+| 1280 720 | 129 | 4x1,2x2,1x4 | 4 |+| 1280 720 | 129 | 2x1,1x2 | 2 |+| 1104 832 | 129 | 3x1,1x3 | 3 |+| 960 960 | 129 | 6x1,3x2,2x3,1x6 | 6 |+| 960 960 | 129 | 4x1,2x2,1x4 | 4 |+| 960 960 | 129 | 1x2,2x1 | 2 |+| 832 1104 | 129 | 4x1,2x2,1x4 | 4 |+| 832 1104 | 129 | 2x1,1x2 | 2 |+| 720 1280 | 129 | 1x5 | 5 |+| 720 1280 | 129 | 3x1,1x3 | 3 |+| 960 544 | 129 | 6x1,3x2,2x3,1x6 | 6 |+| 960 544 | 129 | 4x1,2x2,1x4 | 4 |+| 960 544 | 129 | 1x2,2x1 | 2 |+| 832 624 | 129 | 4x1,2x2,1x4 | 4 |+| 832 624 | 129 | 2x1,1x2 | 2 |+### 更多配置下面列出了更多关键配置项: