rahul7star's picture
Upload 99 files
357c94c verified
# Download Pretrained Models
All models are stored in `HunyuanVideo-Avatar/weights` by default, and the file structure is as follows
```shell
HunyuanVideo-Avatar
β”œβ”€β”€weights
β”‚ β”œβ”€β”€ckpts
β”‚ β”‚ β”œβ”€β”€README.md
β”‚ β”‚ β”œβ”€β”€hunyuan-video-t2v-720p
β”‚ β”‚ β”‚ β”œβ”€β”€transformers
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€mp_rank_00_model_states.pt
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€mp_rank_00_model_states_fp8.pt
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€mp_rank_00_model_states_fp8_map.pt
β”‚ β”‚ β”‚ β”œβ”€β”€vae
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€pytorch_model.pt
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€config.json
β”‚ β”‚ β”œβ”€β”€llava_llama_image
β”‚ β”‚ β”‚ β”œβ”€β”€model-00001-of-00004.safatensors
β”‚ β”‚ β”‚ β”œβ”€β”€model-00002-of-00004.safatensors
β”‚ β”‚ β”‚ β”œβ”€β”€model-00003-of-00004.safatensors
β”‚ β”‚ β”‚ β”œβ”€β”€model-00004-of-00004.safatensors
β”‚ β”‚ β”‚ β”œβ”€β”€...
β”‚ β”‚ β”œβ”€β”€text_encoder_2
β”‚ β”‚ β”œβ”€β”€whisper-tiny
β”‚ β”‚ β”œβ”€β”€det_align
β”‚ β”‚ β”œβ”€β”€...
```
## Download HunyuanVideo-Avatar model
To download the HunyuanCustom model, first install the huggingface-cli. (Detailed instructions are available [here](https://huggingface.co/docs/huggingface_hub/guides/cli).)
```shell
python -m pip install "huggingface_hub[cli]"
```
Then download the model using the following commands:
```shell
# Switch to the directory named 'HunyuanVideo-Avatar/weights'
cd HunyuanVideo-Avatar/weights
# Use the huggingface-cli tool to download HunyuanVideo-Avatar model in HunyuanVideo-Avatar/weights dir.
# The download time may vary from 10 minutes to 1 hour depending on network conditions.
huggingface-cli download tencent/HunyuanVideo-Avatar --local-dir ./
```