mirror of
https://www.modelscope.cn/AI-ModelScope/HunyuanCustom.git
synced 2026-04-02 16:02:53 +08:00
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# Download Pretrained Models
|
|
|
|
All models are stored in `HunyuanCustom/models` by default, and the file structure is as follows
|
|
```shell
|
|
HunyuanCustom
|
|
├──models
|
|
│ ├──README.md
|
|
│ ├──hunyuancustom_720P
|
|
│ │ ├──mp_rank_00_model_states.pt
|
|
│ │ │──mp_rank_00_model_states_fp8.pt
|
|
│ │ ├──mp_rank_00_model_states_fp8_map.pt
|
|
├ ├──vae_3d
|
|
│ ├──openai_clip-vit-large-patch14
|
|
│ ├──llava-llama-3-8b-v1_1
|
|
├──...
|
|
```
|
|
|
|
## Download HunyuanCustom 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 'HunyuanCustom'
|
|
cd HunyuanCustom
|
|
# Use the huggingface-cli tool to download HunyuanCustom model in HunyuanCustom/models dir.
|
|
# The download time may vary from 10 minutes to 1 hour depending on network conditions.
|
|
huggingface-cli download tencent/HunyuanCustom --local-dir ./
|
|
```
|