diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd5c9bf..1a3a4a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: contents: write # We intentionally build on ubuntu 20 to compile against # an older version of glibc - runs-on: ubuntu-20.04 + runs-on: ubuntu-large steps: - name: Install libtool-bin run: | @@ -43,7 +43,7 @@ jobs: version: "6.1.2" - uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.11" - run: python -m pip install --upgrade pip numpy # Build and upload the archives - run: mix deps.get @@ -51,17 +51,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} XLA_TARGET: cpu - CC: gcc-9 - run: .github/scripts/compile_and_upload.sh ${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} XLA_TARGET: tpu - CC: gcc-9 macos: name: "x86_64-darwin-cpu" needs: [create_draft_release] - runs-on: macos-12 + runs-on: macos-latest-large steps: - uses: actions/checkout@v3 - run: brew install elixir @@ -75,7 +73,7 @@ jobs: version: "6.1.2" - uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.11" - run: python -m pip install --upgrade pip numpy # Build and upload the archive - run: mix deps.get @@ -88,7 +86,7 @@ jobs: macos_arm: name: "aarch64-darwin-cpu (cross-compiled)" needs: [create_draft_release] - runs-on: macos-12 + runs-on: macos-13-xlarge permissions: contents: write steps: @@ -104,7 +102,7 @@ jobs: version: "6.1.2" - uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.11" - run: python -m pip install --upgrade pip numpy # Build and upload the archive - run: mix deps.get @@ -125,7 +123,7 @@ jobs: permissions: contents: write needs: [create_draft_release] - runs-on: ubuntu-20.04 + runs-on: ubuntu-large strategy: fail-fast: false matrix: @@ -134,12 +132,12 @@ jobs: xla_target: cuda118 cuda_version: "11.8.0" cudnn_version: "8.6.0" - python: "3.9" + python: "3.11" - container: nvidia/cuda:12.0.0-cudnn8-devel-ubuntu20.04 xla_target: cuda120 cuda_version: "12.0.0" cudnn_version: "8.8.0" - python: "3.9" + python: "3.11" container: ${{ matrix.container }} env: # This env is normally set by default, but we need to mirror it into the container @@ -203,7 +201,7 @@ jobs: contents: write # We intentionally build on ubuntu 20 to compile against # an older version of glibc - runs-on: ubuntu-20.04 + runs-on: ubuntu-large steps: - name: Install libtool-bin run: | @@ -219,7 +217,7 @@ jobs: version: "6.1.2" - uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.11" - run: python -m pip install --upgrade pip numpy # Build and upload the archives - run: mix deps.get