Skip to content

Commit

Permalink
use larger runners
Browse files Browse the repository at this point in the history
  • Loading branch information
sphw committed Nov 9, 2023
1 parent 0eabd4c commit 58c1705
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -43,25 +43,23 @@ jobs:
version: "6.1.2"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.12"
- run: python -m pip install --upgrade pip numpy
# Build and upload the archives
- run: mix deps.get
- run: .github/scripts/compile_and_upload.sh ${{ github.ref_name }}
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
Expand All @@ -75,7 +73,7 @@ jobs:
version: "6.1.2"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.12"
- run: python -m pip install --upgrade pip numpy
# Build and upload the archive
- run: mix deps.get
Expand All @@ -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:
Expand All @@ -104,7 +102,7 @@ jobs:
version: "6.1.2"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.12"
- run: python -m pip install --upgrade pip numpy
# Build and upload the archive
- run: mix deps.get
Expand All @@ -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:
Expand All @@ -134,12 +132,12 @@ jobs:
xla_target: cuda118
cuda_version: "11.8.0"
cudnn_version: "8.6.0"
python: "3.9"
python: "3.12"
- 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.12"
container: ${{ matrix.container }}
env:
# This env is normally set by default, but we need to mirror it into the container
Expand Down Expand Up @@ -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: |
Expand All @@ -219,7 +217,7 @@ jobs:
version: "6.1.2"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.12"
- run: python -m pip install --upgrade pip numpy
# Build and upload the archives
- run: mix deps.get
Expand Down

0 comments on commit 58c1705

Please sign in to comment.