Skip to content

Commit

Permalink
use torch cpu on cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
helpmefindaname committed Oct 9, 2023
1 parent b5076bb commit 9e6ff65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Cleanup Disk Space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
- name: Install Torch cpu
run: pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Install Flair dependencies
run: pip install -e .
- name: Install unittest dependencies
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- name: Install Torch cpu
run: pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Install Flair dependencies
run: pip install -e .
- name: Install unittest dependencies
Expand Down

0 comments on commit 9e6ff65

Please sign in to comment.