HunyuanVideo: A Systematic Framework For Large Video Generation Model
fix typos in README.md
chenyangqiba7b223c7826
diff --git a/README.md b/README.mdindex 219ac8f..5b374c5 100644--- a/README.md+++ b/README.md@@ -28,7 +28,7 @@ This repo contains PyTorch model definitions, pre-trained weights and inference/<video src="https://github.com/user-attachments/assets/f37925a3-7d42-40c9-8a9b-5a010c7198e2" width="50%"></div>-The video is heavily compressed due to complaince of GitHub policy. The high quality version can be downloaded from [here](https://aivideo.hunyuan.tencent.com/download/HunyuanVideo/material/demo.mov).+The video is heavily compressed due to compliance of GitHub policy. The high quality version can be downloaded from [here](https://aivideo.hunyuan.tencent.com/download/HunyuanVideo/material/demo.mov).## π₯π₯π₯ News!!* Dec 3, 2024: π€ We release the inference code and model weights of HunyuanVideo.@@ -100,9 +100,9 @@ overall model performance.</p>### **MLLM Text Encoder**-Some previous text-to-video model typically use pretrained CLIP and T5-XXL as text encoders where CLIP uses Transformer Encoder and T5 uses a Encoder-Decoder structure. In constrast, we utilize a pretrained Multimodal Large Language Model (MLLM) with a Decoder-Only structure as our text encoder, which has following advantages: (i) Compared with T5, MLLM after visual instruction finetuning has better image-text alignment in the feature space, which alleviates the difficulty of instruction following in diffusion models; (ii)+Some previous text-to-video models typically use pretrained CLIP and T5-XXL as text encoders where CLIP uses Transformer Encoder and T5 uses a Encoder-Decoder structure. In constrast, we utilize a pretrained Multimodal Large Language Model (MLLM) with a Decoder-Only structure as our text encoder, which has following advantages: (i) Compared with T5, MLLM after visual instruction finetuning has better image-text alignment in the feature space, which alleviates the difficulty of instruction following in diffusion models; (ii)Compared with CLIP, MLLM has been demonstrated superior ability in image detail description-and complex reasoning; (iii) MLLM can play as a zero-shot learner by following system instructions prepended to user prompts, helping text features pay more attention to key information. In addition, MLLM is based on causal attention while T5-XXL utilizes bidirectional attention that produces better text guidance for diffusion models. Therefore, we introduce an extra bidirectional token refiner for enhacing text features.+and complex reasoning; (iii) MLLM can play as a zero-shot learner by following system instructions prepended to user prompts, helping text features pay more attention to key information. In addition, MLLM is based on causal attention while T5-XXL utilizes bidirectional attention that produces better text guidance for diffusion models. Therefore, we introduce an extra bidirectional token refiner for enhancing text features.<p align="center"><img src="https://raw.githubusercontent.com/Tencent/HunyuanVideo/refs/heads/main/assets/text_encoder.png" height=275></p>@@ -160,8 +160,8 @@ The following table shows the requirements for running HunyuanVideo model (batch| Model | Setting<br/>(height/width/frame) | Denoising step | GPU Peak Memory ||:------------:|:--------------------------------:|:--------------:|:----------------:|-| HunyuanVideo | 720px1280px129f | 30 | 60G |-| HunyuanVideo | 544px960px129f | 30 | 45G |+| HunyuanVideo | 720px1280px129f | 30 | 60GB |+| HunyuanVideo | 544px960px129f | 30 | 45GB |* An NVIDIA GPU with CUDA support is required.* We have tested on a single H800/H20 GPU.