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:
parent
ae5653986c
commit
5471d8256f
@ -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
|
||||
```
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user