From 1b93c52eb4ada09f292e5bea7fb6e549d733b484 Mon Sep 17 00:00:00 2001 From: "Pant, Akshay" Date: Thu, 5 Dec 2024 16:31:08 +0530 Subject: [PATCH] fix(gandlf ci): pin gandlf to 0.1.1 Signed-off-by: Pant, Akshay --- .github/workflows/gandlf.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gandlf.yml b/.github/workflows/gandlf.yml index acc7930846..b39e23c3e9 100644 --- a/.github/workflows/gandlf.yml +++ b/.github/workflows/gandlf.yml @@ -30,7 +30,7 @@ jobs: run: | python -m pip install --upgrade pip pip install typer==0.11.1 - pip install torch==2.5.0+cpu torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu + pip install torch==2.3.1+cpu torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu pip install . - name: Install GaNDLF run: | @@ -39,7 +39,9 @@ jobs: git fetch --tags echo "Checkout the latest GaNDLF tag" latestTag=$(git describe --tags "$(git rev-list --tags --max-count=1)") - git checkout $latestTag + # Instead of using the latest tag, we are pinning gandlf to an older version as changes are required + # in torch to work with a later version. + git checkout 0.1.1 - name: GaNDLF Task Runner Test run: | cd gandlf