docs: Install HuggingFace CLI with high-speed download feature

The Xet storage method uses de-duplication and chunked downloads to speed up transfers in some situations:

https://pypi.org/project/hf-xet/

But most importantly, installing the Xet support gets rid of some annoying HuggingFace CLI messages about missing the feature.
This commit is contained in:
Arcitec 2025-09-19 21:11:31 +02:00
parent ae5653986c
commit 5471d8256f
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/
Download via `huggingface-cli`:
```bash
uv tool install "huggingface_hub[cli]"
uv tool install "huggingface-hub[cli,hf_xet]"
hf download IndexTeam/IndexTTS-2 --local-dir=checkpoints
```

View File

@ -185,7 +185,7 @@ uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/
HuggingFace下载
```bash
uv tool install "huggingface_hub[cli]"
uv tool install "huggingface-hub[cli,hf_xet]"
hf download IndexTeam/IndexTTS-2 --local-dir=checkpoints
```