From ceea119fcde4f0fdee6390e395b610a1ac0ad500 Mon Sep 17 00:00:00 2001 From: femisan Date: Sun, 2 Mar 2025 15:33:09 +0900 Subject: [PATCH] update install code --- .github/workflows/unit_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 035e11609..ca771cd9b 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -33,7 +33,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest torch==2.2.2+cpu -f https://download.pytorch.org/whl/torch_stable.html + python -m pip install torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu + python -m pip install pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Run tests with pytest