From 707dfbeae6903b633bde0031807cd87e776309a2 Mon Sep 17 00:00:00 2001 From: Alexander Tong Date: Thu, 11 Jul 2024 16:58:15 -0400 Subject: [PATCH] fix runner ci requirements (#125) * change pytorch lightning version * fix pip version * fix pip in code cov --- .github/workflows/test_runner.yaml | 6 ++++-- runner-requirements.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_runner.yaml b/.github/workflows/test_runner.yaml index e901d93..617caa3 100644 --- a/.github/workflows/test_runner.yaml +++ b/.github/workflows/test_runner.yaml @@ -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 @@ -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] diff --git a/runner-requirements.txt b/runner-requirements.txt index 3f40053..90e92dd 100644 --- a/runner-requirements.txt +++ b/runner-requirements.txt @@ -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 --------- #