Repository navigation
[CI] [fix] revert-fast: sync submodules before focused validation - #8306
Conversation
The focused validation job checks out the target ref without submodules and aiter_revert_fast.py does not touch them either, so on the persistent self-hosted runners 3rdparty/composable_kernel keeps whatever a previous job left in the workspace. The JIT build then compiles against a stale CK: gemm_moe_ck2stages_common.cuh:6:10: fatal error: 'ck/tensor_operation/gpu/element/moe_silu.hpp' file not found although that header exists at the pinned CK commit f93c029e. Seen on linux-aiter-oci-mi300x-1 in runs 44524094512 and 44529310788, where the build died before a single test ran -- so the gate reported a red that says nothing about the change under test. Mirror the pinned-CK sync aiter-test.yaml already does for the wheel build. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
WAITING ON AUTHORPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
Summary
The focused validation job checks out the target ref without submodules
(
aiter-revert-fast.yml,actions/checkout@v4with onlyrefandpersist-credentials), and.github/scripts/aiter_revert_fast.pydoes nottouch them either. The runners are persistent, so
3rdparty/composable_kernelkeeps whatever a previous job left in the workspace and the JIT build compiles
against a stale CK.
Evidence
On
linux-aiter-oci-mi300x-1, runs 44524094512 and 44529310788:That header exists at the pinned CK commit
f93c029e, and the same buildsucceeds in
aiter-test.yaml, which syncs submodules explicitly. In both runsthe build died before a single test executed, so the gate reported a red that
says nothing about the change under test — on #8294 it masked the actual
question twice.
Change
Mirror the pinned-CK sync
aiter-test.yamlalready does for the wheel build:git submodule sync+git submodule update --init --recursive --depth 1,plus an echo of the resolved CK commit so a future stale-workspace failure is
one line to diagnose.
actionlintclean.PR Self-Review
1. What behavior does this PR change, and why is the existing behavior
insufficient? Focused validation now builds against the pinned CK instead of
a leftover workspace copy. Without it the job's result is not a function of the
commit under test.
2. What did you validate, and what remains unverified?
actionlintpassesand the YAML parses. Unverified until this runs on a real runner: that the
first sync on a long-lived workspace stays inside the 120-minute job timeout.
--depth 1 --jobs 4matches whataiter-test.yamlalready does on the samerunners.
3. Which architecture, dtype and shape boundaries select the changed kernel
path, and what invariant prevents unsupported inputs from reaching it? None —
CI configuration only, no kernel path touched.
4. For every changed
op_tests/file, what behavior does it cover and why isit not redundant? None.