Skip to content

HunyuanVideo: A Systematic Framework For Large Video Generation Model

python libraries version

feifeibear508e43769555
diff --git a/README.md b/README.md
index 48f118c..4ae6e4e 100644
--- a/README.md
+++ b/README.md
@@ -290,7 +290,7 @@ You can skip the above steps and pull the pre-built docker image directly, which
docker pull thufeifeibear/hunyuanvideo:latest
```
-### Usage
+### Using Command Line
For example, to generate a video with 8 GPUs, you can use the following command:
@@ -304,8 +304,8 @@ torchrun --nproc_per_node=8 sample_video.py \
--prompt "A cat walks on the grass, realistic style." \
--flow-reverse \
--seed 42 \
- --ulysses_degree 8 \
- --ring_degree 1 \
+ --ulysses-degree 8 \
+ --ring-degree 1 \
--save-path ./results
```
diff --git a/docker/Dockerfile_xDiT b/docker/Dockerfile_xDiT
index 61c0da3..ddc2c74 100644
--- a/docker/Dockerfile_xDiT
+++ b/docker/Dockerfile_xDiT
@@ -29,7 +29,7 @@ RUN echo "source activate myenv" > ~/.bashrc
ENV PATH /opt/conda/envs/myenv/bin:$PATH
# Install PyTorch and other dependencies using conda
-RUN conda install pytorch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=11.8 -c pytorch -c nvidia
+RUN conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia
COPY ./requirements_xdit.txt /tmp/requirements_xdit.txt
RUN pip install --no-cache-dir -r /tmp/requirements_xdit.txt
diff --git a/requirements.txt b/requirements.txt
index 47a9555..6b210d7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,9 +1,8 @@
-torch==2.1.1
torchvision==0.16.1
opencv-python==4.9.0.80
diffusers==0.30.2
-transformers==4.39.3
-tokenizers==0.15.2
+transformers==4.46.3
+tokenizers==0.20.3
accelerate==1.1.1
pandas==2.0.3
numpy==1.24.4
diff --git a/requirements_xdit.txt b/requirements_xdit.txt
index 43d5584..3961971 100644
--- a/requirements_xdit.txt
+++ b/requirements_xdit.txt
@@ -1,7 +1,8 @@
-opencv-python>=4.9.0.80
-transformers==4.39.3
-tokenizers==0.15.2
-accelerate>=1.1.1
+opencv-python==4.9.0.80
+diffusers==0.30.2
+transformers==4.46.3
+tokenizers==0.20.3
+accelerate==1.1.1
pandas==2.0.3
numpy==1.24.4
einops==0.7.0
@@ -12,5 +13,4 @@ imageio-ffmpeg==0.5.1
safetensors==0.4.3
ninja
flash-attn>=2.6.3
-xfuser==0.3.6
-diffusers>=0.31.0
\ No newline at end of file
+xfuser==0.3.6
\ No newline at end of file