From b8b955c11554065e11d03f9e329afa608ad3d293 Mon Sep 17 00:00:00 2001 From: zt2370 Date: Sun, 11 May 2025 23:06:44 +0800 Subject: [PATCH 1/2] [Doc] Update pip install instruction for testing dependencies Signed-off-by: zt2370 --- docs/source/contributing/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/contributing/overview.md b/docs/source/contributing/overview.md index 89b31f0311e2..6dc4ace378db 100644 --- a/docs/source/contributing/overview.md +++ b/docs/source/contributing/overview.md @@ -32,7 +32,7 @@ Check out the [building from source](#build-from-source) documentation for detai ## Testing ```bash -pip install -r requirements/dev.txt +pip install -r requirements/dev.txt --extra-index-url https://download.pytorch.org/whl/cu128 # Linting, formatting and static type checking pre-commit install --hook-type pre-commit --hook-type commit-msg From 6db29dc52d3dcf34818dc93fd93409bcb5510f6c Mon Sep 17 00:00:00 2001 From: zt2370 Date: Sun, 18 May 2025 20:38:46 +0800 Subject: [PATCH 2/2] add comment Signed-off-by: zt2370 --- docs/source/contributing/overview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/contributing/overview.md b/docs/source/contributing/overview.md index 6dc4ace378db..33de5d3dd5f7 100644 --- a/docs/source/contributing/overview.md +++ b/docs/source/contributing/overview.md @@ -32,6 +32,8 @@ Check out the [building from source](#build-from-source) documentation for detai ## Testing ```bash +# The following command assumes CUDA 12.8. For CPU-only, other CUDA versions, +# or ROCm, etc., adjust the torch installation as needed. pip install -r requirements/dev.txt --extra-index-url https://download.pytorch.org/whl/cu128 # Linting, formatting and static type checking