Skip to content

[rocjitsu] Add CI workflow (TheRock tarball approach) - #6499

Closed
newling wants to merge 6 commits into
ROCm:developfrom
newling:rocjitsu-ci-therock
Closed

[rocjitsu] Add CI workflow (TheRock tarball approach)#6499
newling wants to merge 6 commits into
ROCm:developfrom
newling:rocjitsu-ci-therock

Conversation

@newling

@newling newling commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Workflow that

  1. Downloads an all architectures wheel from TheRock (~10 GB -- 2x larger than apt installing rocm, but arguably cleaner).
  2. Builds (about 10 minutes, more than half of total workflow time)
  3. Runs all tests (except the one large matmul test that takes 2+ minutes)

@github-actions github-actions Bot added the github actions Pull requests that update GitHub Actions code label May 27, 2026
@newling
newling force-pushed the rocjitsu-ci-therock branch 2 times, most recently from 7086151 to 12b2675 Compare May 27, 2026 23:29
Comment thread .github/workflows/rocjitsu-ci.yml
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
@newling newling changed the title [WIP][rocjitsu] Add CI workflow (TheRock tarball approach) [rocjitsu] Add CI workflow (TheRock tarball approach) May 27, 2026
@newling
newling force-pushed the rocjitsu-ci-therock branch from 12b2675 to 6b8cac6 Compare May 27, 2026 23:58
@newling
newling marked this pull request as ready for review May 27, 2026 23:59
@newling
newling requested a review from a team as a code owner May 27, 2026 23:59
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
Comment thread .github/workflows/rocjitsu-ci.yml
Comment thread .github/workflows/rocjitsu-ci.yml
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
@newling
newling force-pushed the rocjitsu-ci-therock branch from 6b8cac6 to 1a72c76 Compare May 28, 2026 17:21
@newling
newling requested review from atgutier and kuhar May 28, 2026 21:22
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
@newling
newling force-pushed the rocjitsu-ci-therock branch from ff7120b to 0d5ef9c Compare May 29, 2026 05:35
@atgutier

Copy link
Copy Markdown
Contributor

@ROCm/rocm-systems-reviewers can you give this a review?

Comment thread .github/workflows/rocjitsu-ci.yml Outdated
Comment thread .github/workflows/rocjitsu-ci.yml Outdated
@newling
newling force-pushed the rocjitsu-ci-therock branch from 78531a3 to 468f5f1 Compare May 29, 2026 23:48
@newling
newling requested a review from jbonnell-amd May 31, 2026 19:15
@amd-arosa

Copy link
Copy Markdown
Contributor

I'm curious what this does that isn't already handled with the rock cli.

already configured the build matrix to only build emulation stuff iff emulation stuff is modified.

also, I got us some compute assigned as well for therock ci, so we will be able to run the dbt tests as well using therock ci. give us a lot of benefits using their infra.

@newling

newling commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

I'm curious what this does that isn't already handled with the rock cli.

Well, there is currently no testing of rocjitsu in CI. i.e. no unit tests of rocjitsu are run on PRs / merges. This is very bad. This PR aims to remedy that.

@amd-arosa

amd-arosa commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

no unit tests of rocjitsu are run on PRs / merges.

we just got compute to run the tests in therock, so let's run the tests properly in therock.

@newling

newling commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Just to keep reviewers updated, @amd-arosa is planning on creating a version of this PR that runs in TheRock CI

newling added 2 commits June 5, 2026 11:08
Before this PR, the TheRock CI builds rocjitsu (as part of
THEROCK_ENABLE_EMULATION) but does not run its tests — rocjitsu
is not in repos-config.json. The only rocjitsu-specific CI is
pre-commit formatting.

After this PR, every PR touching emulation/rocjitsu/ gets a
dedicated job that builds rocjitsu and runs its full ctest suite
(~450 tests), including HIP integration tests (memcpy,
vector_add, matmul). No GPU hardware needed — tests run on the
built-in CPU emulator. ROCm installed via TheRock nightly tarball.

RocminfoTest excluded (requires /dev/kfd, unavailable on CI).

Related PRs:
- ROCm#6448: alternative using ROCm apt packages
- ROCm#6479: alternative using ROCm pip packages
@newling
newling force-pushed the rocjitsu-ci-therock branch from 92c4690 to 4fd45ce Compare June 5, 2026 18:10
@newling

newling commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

We now have rocjitsu-test-corpus which largely supersedes this PR now. Closing.

@newling newling closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github actions Pull requests that update GitHub Actions code organization: ROCm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants