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