Spaces:
Build error
Build error
# 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 ./ | |
``` | |