Skip to content

[CI] Add CK (independent of miopen) full build and run a single sample test to TheRock#3382

Open
brockhargreaves-amd wants to merge 15 commits intomainfrom
users/brockhargreaves-amd/add-ck-to-ci-redo
Open

[CI] Add CK (independent of miopen) full build and run a single sample test to TheRock#3382
brockhargreaves-amd wants to merge 15 commits intomainfrom
users/brockhargreaves-amd/add-ck-to-ci-redo

Conversation

@brockhargreaves-amd
Copy link

Motivation

We currently only have a narrow build (small collection necessary for building miopen) of CK running on TheRock. We want a full build and testing here.

Technical Details

Changes were made to various CMake files, build topology, etc.

Test Plan

Testing done locally and waiting on CI.

Test Result

Waiting on CI.

Submission Checklist

@brockhargreaves-amd brockhargreaves-amd added the test:composablekernel For pull requests, runs full tests for only composable_kernel and other labeled projects. label Feb 12, 2026
@brockhargreaves-amd brockhargreaves-amd changed the title Add CK (independent of miopen) full build and run a single sample test to TheRock [CI] Add CK (independent of miopen) full build and run a single sample test to TheRock Feb 12, 2026
logging.basicConfig(level=logging.INFO)

cmd = [
"test_ck_tile_pooling",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, is this the only test that CK runs?

Copy link
Author

@brockhargreaves-amd brockhargreaves-amd Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will not be the only test that runs. @illsilin recommended we run the following after compiling:

"make smoke"

Which would build and run the smoke tests. However, this would require bundling the source code for the test into the artifact as well, no? If this is an easy thing to add, I'm happy to do it. But I don't think we should strive for perfect on the first PR. Oh I suppose the alternative is to just build the smoke tests as part of the build step....sorry my brain is a bit fried right now.

We're going to require more PR's later for filtering anyways, picking and choosing the appropriate tests, and striving to keep our build and runtimes short. What I want to see before we do that, is an end to end CI of CK on Strix Halo architecture, particularly for Windows.

"composablekernel": {
"job_name": "composablekernel",
"fetch_artifact_args": "--composablekernel --tests",
"timeout_minutes": 60,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you mentioned compilation takes ~ 40 mins. Is the compilation done in the test itself?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It compiled with 144 cores on an Alola node in about 48 minutes which included the unit tests. This does not include building the smoke tests.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we see how long the build is taking on TheRock, we can decide if this is going to be too disruptive. If it is, then we could consider making it a nightly. I'd rather see it run once a day completely than not at all (our current situation) or timing out.

"composablekernel": {
"job_name": "composablekernel",
"fetch_artifact_args": "--composablekernel --tests",
"timeout_minutes": 60,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

60 mins is also a long time.... are there any smoke test filters for the test? for non-build related changes, we want a test set that runs in ~ 5 mins to provide sanity

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it wasn't clear to me in the script whether or not the timeout applied to the compilation or to the test run. Is this timeout for both or for just one?

@brockhargreaves-amd
Copy link
Author

brockhargreaves-amd commented Feb 15, 2026

Hey @geomin12

  1. The test artifact wasn't being built because "test" wasn't added as a component. (Fixed)
  2. The test artifact is built now but it was empty because the tests weren't actually being built. (Fixed)
  3. There are compilation errors in the tests: They are a result of missing some macro definitions when building. I'm working with people on the CK team to resolve them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:composablekernel For pull requests, runs full tests for only composable_kernel and other labeled projects.

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

2 participants