Skip to content

Commit

Permalink
Merge branch 'rocm-main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
charleshofer authored Nov 4, 2024
2 parents e9acaa8 + 700f3bd commit 3d063fa
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: ROCm CPU CI

# We test all supported Python versions as follows:
# - 3.10 : Documentation build
Expand All @@ -11,10 +11,10 @@ on:
# but only for the main branch
push:
branches:
- main
- rocm-main
pull_request:
branches:
- main
- rocm-main

permissions:
contents: read # to fetch code
Expand All @@ -38,9 +38,7 @@ jobs:

build:
name: "build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ubuntu-20.04, x64=${{ matrix.enable-x64}})"
runs-on: linux-x86-n2-32
container:
image: index.docker.io/library/ubuntu@sha256:6d8d9799fe6ab3221965efac00b4c34a2bcc102c086a58dff9e19a08b913c7ef # ratchet:ubuntu:20.04
runs-on: ROCM-Ubuntu
timeout-minutes: 60
strategy:
matrix:
Expand All @@ -58,10 +56,6 @@ jobs:
num_generated_cases: 1
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Image Setup
run: |
apt update
apt install -y libssl-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/rocm-nightly-upstream-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Pulls the latest changes from upstream into main and opens a PR to merge
# them into rocm-main.

name: ROCm Nightly Upstream Sync
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1-5'
jobs:
sync-main:
runs-on: ubuntu-latest
steps:
- run: gh repo sync rocm/jax -b main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
open-sync-pr:
runs-on: ubuntu-latest
steps:
- run: |
gh pr create --repo $GITHUB_REPOSITORY --head main --base rocm-main --title "CI: $(date +%x) upstream sync" --body "Daily sync with upstream"
2 changes: 1 addition & 1 deletion .github/workflows/upstream-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

jobs:
upstream-dev:
runs-on: ubuntu-20.04-16core
runs-on: ROCM-Ubuntu
permissions:
contents: read
checks: write # for upload-artifact
Expand Down

0 comments on commit 3d063fa

Please sign in to comment.