Repository navigation
[CI] Add Windows smoke test for JIT ops - #6242
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
🟡 Changes recommended
The workflow permits fork-authored PowerShell to execute on self-hosted runners.
1 open finding
What changed in this PR
Adds CI probes for four Windows Navi GPU runners and validates key environment properties.
Changes:
- Collects Windows, Python, Visual Studio, SDK, GPU, and ROCm metadata.
- Enforces expected Windows and Python versions.
- Registers runner labels with actionlint.
| File | Description |
|---|---|
.github/workflows/windows-navi-runner-probe.yaml |
Adds the runner probe workflow. |
.github/actionlint.yaml |
Allows the four Windows runner labels. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
| probe: | ||
| name: Probe ${{ matrix.label }} | ||
| runs-on: ${{ matrix.label }} |
165f571 to
842ef76
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The self-hosted workflow lacks a fork guard, and several hard checks can produce incorrect results.
4 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
| Add-Check ($productName -like "*$env:EXPECTED_EDITION*" -or $computerInfo.OsName -like "*$env:EXPECTED_EDITION*") ` | ||
| "Windows edition contains $env:EXPECTED_EDITION" ` | ||
| "Expected Windows edition containing '$env:EXPECTED_EDITION', got product='$productName' os='$($computerInfo.OsName)'" |
| if ($pythonVersionText -match "Python\s+([0-9]+\.[0-9]+\.[0-9]+)") { | ||
| $pythonVersion = $Matches[1] | ||
| } |
| } else { | ||
| Add-Failure "python is not on PATH" | ||
| } |
842ef76 to
9a712de
Compare
|
Thanks for putting this together — the probe answers the question that was blocking us. All four labels schedule successfully, so label access is confirmed and there's nothing further we need from DevOps on that front. LGTM, please merge. Three things from the gfx1201 log that shape what comes next: The runner has the MSVC half of the toolchain but no ROCm and no PyTorch. Both can come from the ROCm pip index in one step: pip install --index-url https://stable.repo.amd.com/rocm/whl-next/ `
--extra-index-url https://pypi.org/simple `
"torch[device-gfx1201]==2.14.0+rocm10.1.0" "rocm[devel]==10.1.0"
To save you the boilerplate, here is a skeleton for the follow-up job — structure only, not reviewed-and-ready. Please treat it as a starting point and change whatever doesn't fit; the
|
|
Correction to my last point — I had an incomplete picture of the CPU runner.
Whether ROCm/aiter can schedule onto it is therefore just a runner-group repository-access question, and that is cheapest to settle exactly the way you settled the GPU labels: add it to the probe matrix and see what happens. Please disregard my "chase it with Justin or fall back to Separately, confirming the point about tests, since it affects the skeleton's last step: #2699 touched |
9691e2d to
814e8fe
Compare
|
Nice — the One thing to fix before the next round, though. The same output shows the compiler side is empty: The install line only asks for pip install --index-url https://stable.repo.amd.com/rocm/whl-next/ `
--extra-index-url https://pypi.org/simple `
"torch[device-gfx1201]==2.14.0+rocm10.1.0" `
"rocm[devel]==10.1.0"That should also flip On timing, for whatever it's worth to the cache decision: that job installed roughly 1 GB in 2m1s with a cold cache. |
|
Two things, one of them a correction from me. Correction. I told you earlier that The practical picture is still close to what we discussed, for a different reason: those tests are argparse scripts rather than pytest units, and they all call Overlap with #6273. You and the PR author hit the same export bug independently within hours of each other. #6273 fixes four sites to your three — it also covers I have asked the author to rename the harness to On test selection more generally: I would keep |
0a2d7f4 to
a6f22c9
Compare
|
Addressed the follow-up CI notes:
Actionlint is passing on the latest push. Since this PR currently does not have |
zufayu
left a comment
There was a problem hiding this comment.
Re-approving — the review was dismissed by the new pushes.
Thanks for taking all four points. The toolchain verifier is a better version of what I suggested: printing ROCM_HOME, HIP_VERSION, IS_HIP_EXTENSION and the resolved hipconfig/hipcc paths means a future failure is diagnosable from the log alone, rather than surfacing as an AttributeError three steps later.
Two things before this merges, one of which needs an action.
The label gate references a label that does not exist. The repo has ci:all but no ci:windows; the full set is CI, ci-failure, ci:all, ci:atom, ci:atom_full, ci:extended-test, ci:gfx1250-ffm-triton, ci:infra, ci:kimi, ci:mi300x, ci:multi-gpu, ci:performance, ci:sglang, ci:triton-300x, ci:triton-355. So today the only way to trigger this job is ci:all, which runs everything. Worth creating ci:windows and adding it to the CI-guide table in the welcome comment so people can find it.
The current head has not run the Windows job. 5 passed in 316.77s came from 2a6d7127, before the gate and the install changes. On 562e8664 the job was skipped for want of the label, so three changes have not been exercised: the removal of --extra-index-url, the new verifyRocm here-string, and the gate itself. The first of those was my suggestion, and while I did check that nothing was fetched from PyPI in that step on the earlier run, that is an argument that it should work rather than evidence that it does.
Could you label this PR and let the job run once on the final revision? I would rather the first execution of this exact workflow happen here than on main.
Approving now so that the label does not have to wait on me — a labeled event does not dismiss a review, only a push does.
CK can be built on Windows, including aiter's CK submodule; it just isn't wired up on The gfx1200 run used a clean checkout of the PR head with no external |


Summary
op_tests/windows.pytest -q -s op_tests/windows.windows-gfx1201-gpu-rocmto the actionlint self-hosted runner allowlist.Validation
Windows Smoke Test / JIT op smoke (gfx1201)passed on run 38041893986.Notes
op_tests/windows/test_jit_ops_smoke.pyare already onmainvia [HIP] [JIT] [Build] Export ctypes entry points on Windows and add a JIT op smoke test #6273.