From 5b12994ec79f75c60a147345c535ea824570f2a0 Mon Sep 17 00:00:00 2001 From: "Pant, Akshay" Date: Fri, 29 Nov 2024 11:30:35 +0530 Subject: [PATCH 1/4] fix(gandlf ci): pinned torchaudio version Signed-off-by: Pant, Akshay --- .github/workflows/gandlf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gandlf.yml b/.github/workflows/gandlf.yml index 8a63492aa9..2ebe2a7eac 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.3.1+cpu torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu + pip install torch==2.3.1 torchvision torchaudio==2.3.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu pip install . - name: Install GaNDLF run: | From 0ca631bc9482f49f74134f780d5fdc8026b33286 Mon Sep 17 00:00:00 2001 From: "Pant, Akshay" Date: Fri, 29 Nov 2024 11:40:54 +0530 Subject: [PATCH 2/4] fix(gandlf ci): install torch without cache Signed-off-by: Pant, Akshay --- .github/workflows/gandlf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gandlf.yml b/.github/workflows/gandlf.yml index 2ebe2a7eac..bb63761cb1 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.3.1 torchvision torchaudio==2.3.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu + pip install torch==2.3.1 torchvision torchaudio==2.3.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu --no-cache-dir pip install . - name: Install GaNDLF run: | From f08e7656cf7f0fa73277783fdeb89b48302b0432 Mon Sep 17 00:00:00 2001 From: "Pant, Akshay" Date: Fri, 29 Nov 2024 11:59:09 +0530 Subject: [PATCH 3/4] fix(gandlf ci): upgrade torch to 2.5.0 Signed-off-by: Pant, Akshay --- .github/workflows/gandlf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gandlf.yml b/.github/workflows/gandlf.yml index bb63761cb1..acc7930846 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.3.1 torchvision torchaudio==2.3.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu --no-cache-dir + pip install torch==2.5.0+cpu torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu pip install . - name: Install GaNDLF run: | From 1b93c52eb4ada09f292e5bea7fb6e549d733b484 Mon Sep 17 00:00:00 2001 From: "Pant, Akshay" Date: Thu, 5 Dec 2024 16:31:08 +0530 Subject: [PATCH 4/4] 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