From 6331e4a1306c6b6e223d7897e143e19cbb656340 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 14 Jan 2026 11:56:36 -0500 Subject: [PATCH] fix amd64 and set 2.9.1 as latest cloud image (#3356) --- .github/workflows/main.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19cef5de4..d8ab92189 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,22 +20,26 @@ jobs: python_version: "3.11" pytorch: 2.8.0 axolotl_extras: - is_latest: true + platforms: "linux/amd64" - cuda: 128 cuda_version: 12.8.1 python_version: "3.11" pytorch: 2.9.0 axolotl_extras: + platforms: "linux/amd64,linux/arm64" - cuda: 128 cuda_version: 12.8.1 python_version: "3.11" pytorch: 2.9.1 axolotl_extras: + platforms: "linux/amd64,linux/arm64" + is_latest: true - cuda: 130 cuda_version: 13.0.0 python_version: "3.11" pytorch: 2.9.1 axolotl_extras: + platforms: "linux/amd64,linux/arm64" runs-on: axolotl-gpu-runner steps: - name: Checkout @@ -61,7 +65,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.platforms }} build-args: | BASE_TAG=${{ github.ref_type == 'tag' && 'main' || github.ref_name }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }} CUDA=${{ matrix.cuda }} @@ -88,22 +92,26 @@ jobs: python_version: "3.11" pytorch: 2.8.0 axolotl_extras: - is_latest: true + platforms: "linux/amd64" - cuda: 128 cuda_version: 12.8.1 python_version: "3.11" pytorch: 2.9.0 axolotl_extras: + platforms: "linux/amd64,linux/arm64" - cuda: 128 cuda_version: 12.8.1 python_version: "3.11" pytorch: 2.9.1 axolotl_extras: + is_latest: true + platforms: "linux/amd64,linux/arm64" - cuda: 130 cuda_version: 13.0.0 python_version: "3.11" pytorch: 2.9.1 axolotl_extras: + platforms: "linux/amd64,linux/arm64" runs-on: axolotl-gpu-runner steps: - name: Checkout @@ -128,7 +136,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.platforms }} build-args: | BASE_TAG=${{ github.ref_type == 'tag' && 'main' || github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }} CUDA=${{ matrix.cuda }} @@ -149,11 +157,11 @@ jobs: - cuda: 128 cuda_version: 12.8.1 python_version: "3.11" - pytorch: 2.8.0 + pytorch: 2.9.1 axolotl_extras: - is_latest: - - cuda: 128 - cuda_version: 12.8.1 + is_latest: true + - cuda: 130 + cuda_version: 13.0.0 python_version: "3.11" pytorch: 2.9.1 axolotl_extras: