From 54277a8dd04088aaf591d3611973c4b547cc002b Mon Sep 17 00:00:00 2001 From: Gao Han Date: Thu, 7 May 2026 16:16:36 +0800 Subject: [PATCH] [chore] Update command to download dataset from huggingface-cli to hf (#3403) Signed-off-by: Gao Han --- tests/e2e/accuracy/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/accuracy/conftest.py b/tests/e2e/accuracy/conftest.py index 3ff3bcc34..0108e86da 100644 --- a/tests/e2e/accuracy/conftest.py +++ b/tests/e2e/accuracy/conftest.py @@ -53,7 +53,7 @@ def pytest_addoption(parser): "--wan22-i2v-image-source", action="store", default=None, - help="Image source for Wan2.2 I2V accuracy tests. Can be local path or remote URL.", + help="Image source for Wan2.2 I2V accuracy tests. Can be local path or remote URL", ) group.addoption( "--wan22-i2v-online-timeout-seconds", @@ -83,7 +83,7 @@ def _ensure_dataset_snapshot(dataset_id: str) -> Path: return candidates[0] subprocess.run( - ["huggingface-cli", "download", "--repo-type", "dataset", dataset_id], + ["hf", "download", "--repo-type", "dataset", dataset_id], check=True, ) candidates = _dataset_cache_dirs(dataset_id)