From 5471d8256fc7867772030b1c0c75fe633f49ea76 Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Fri, 19 Sep 2025 21:11:31 +0200 Subject: [PATCH] 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. --- README.md | 2 +- docs/README_zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6fc84f6..afc5989 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docs/README_zh.md b/docs/README_zh.md index 534adc4..1407449 100644 --- a/docs/README_zh.md +++ b/docs/README_zh.md @@ -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 ```