Skip to content

Commit

Permalink
fix runner ci requirements (atong01#125)
Browse files Browse the repository at this point in the history
* change pytorch lightning version

* fix pip version

* fix pip in code cov
  • Loading branch information
atong01 authored and ImahnShekhzadeh committed Jul 29, 2024
1 parent 333d73f commit 707dfbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Fix pip version < 24.1 due to lightning incomaptibility
python -m pip install pip==23.2.1
pip install -r runner-requirements.txt
pip install pytest
pip install sh
Expand Down Expand Up @@ -56,7 +57,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Fix pip version < 24.1 due to lightning incomaptibility
python -m pip install pip==23.2.1
pip install -r runner-requirements.txt
pip install pytest
pip install pytest-cov[toml]
Expand Down
2 changes: 1 addition & 1 deletion runner-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# --------- pytorch --------- #
torch>=1.11.0,<2.0.0
torchvision>=0.11.0
pytorch-lightning==1.8.3
pytorch-lightning==1.8.3.post2
torchmetrics==0.11.0

# --------- hydra --------- #
Expand Down

0 comments on commit 707dfbe

Please sign in to comment.