Spaces:
Build error
Build error
File size: 1,755 Bytes
357c94c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# 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 ./
```
|