Skip to content

Commit ba88810

Browse files
authored
download cpu version of torchmetrics for testing (#134)
* download cpu version of torchmetrics for testing * remove cache pip
1 parent 6421f0e commit ba88810

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,10 @@ jobs:
1515
uses: actions/setup-python@v5
1616
with:
1717
python-version: 3.12
18-
- name: Cache pip dependencies
19-
uses: actions/cache@v3
20-
with:
21-
path: ~/.cache/pip
22-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
23-
restore-keys: |
24-
${{ runner.os }}-pip-
2518
- name: Install dependencies
2619
run: |
2720
python -m pip install --upgrade pip
21+
pip install torch --index-url https://download.pytorch.org/whl/cpu
2822
pip install ".[dev]"
2923
- name: Run Unit Tests
3024
run: |

0 commit comments

Comments
 (0)