Skip to content

Commit

Permalink
change to cpu build torch
Browse files Browse the repository at this point in the history
  • Loading branch information
mastoffel committed Nov 8, 2023
1 parent d2e89e1 commit 9df39b9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
python-version: ${{ matrix.python-version }}

# Cache Poetry dependencies
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}-cpu
restore-keys: |
${{ runner.os }}-poetry-
# - name: Cache dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/pypoetry
# key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}-cpu
# restore-keys: |
# ${{ runner.os }}-poetry-

- name: Install poetry
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
poetry run pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
poetry add torch --extra-index-url https://download.pytorch.org/whl/cpu
poetry install
- name: Run Tests with Coverage
Expand Down

0 comments on commit 9df39b9

Please sign in to comment.