Scripts: pr_check compares smoke runs only on the same GPU (#2232) #2235
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2235
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2235"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Creaa on GitHub · 2026-11-25 10:56 UTC · original
Creaa:scripts/pr-check-same-gpu→main· +116 −14 · 2 files · 2 commits · openStacked on #2230; only the top commit (
5d1b0a0) belongs here.pr_check.pymatched the PR'sxcl-smokeblock with a main block ontitleandsecondsonly. Thegpu:line was neither required nor compared, so a PR run on one GPU could be held against main on another, and the 80 % frames and 125 % peak-commit limits then compare two machines. Fixes the GPU part of #2232; recording the driver and debug/release in the block needssmoke.ps1to write them and is left for a follow-up.What is in it
scripts/pr_check.py:gpujoinsSMOKE_FIELDS(a block without it is incomplete, as withouttitle); the baseline is a main block with the PR's title, time and GPU (compared without case and extra whitespace, as #2232 suggests); when main blocks of that title and time exist only on other GPUs, the check says "the main and PR regression runs are not on the same GPU (… against …): run both on one machine".smoke.ps1already writesgpu:, so blocks it made are unaffected.scripts/test_pr_check.py:test_runs_on_different_gpus_are_not_compared(main only on another GPU is refused even when the PR's numbers would pass against it; with main blocks on both GPUs the one on the PR's GPU is used; the same name in other case or spacing matches; a block withoutgpu:is incomplete); the existing fixtures get agpu:line andtest_blocks_with_only_commit_lines_failchecks for it too.Tested
python -m unittest discover -s scripts -p "test_pr_check.py": 16 tests, OK. Withpr_check.pyfrom #2230's head the GPU test and the extended field test fail; without the case/whitespace step only the GPU test fails.Regression run
scripts/changes, not the runtime.Not tested
driver:,cpu:,windows:andbuild:lines in the block (needssmoke.ps1), comparing driver and build, and an explicit way to mark an intended GPU mismatch.PR_SMOKE_FIELDSfrom #2219 is not on main yet; whichever lands second addsgputo it.gpu:line would now be asked for it; blocks fromsmoke.ps1have it.AI use
🤖 Generated with Claude Code
@raylitebull on GitHub · 2026-11-25 11:03 UTC · original
Code review on
7a5b2a2(scripts/pr_check.py,scripts/test_pr_check.py):"gpu"toSMOKE_FIELDSand normalizinggpu_name(casefold()+ collapsed whitespace) insame_runcleanly ensurespr_check.pynever comparesframes shownorpeak commitacross mismatched GPUs, while preserving#2230'smain_baselinedistance ordering.45600104173). (Note: if#2230merges first, this PR will need a quick rebase to drop the shared#2230hunks.)@RavenCurseBurg on GitHub · 2026-11-25 14:05 UTC · original · edited 2026-11-25 14:11 UTC
Verified
5d1b0a0fa7a9b86cbeba9ccafe8ec2aa08023296viapython -B scripts/pr_check.py --local --body <body> --files <files> --head <sha>from a temporary Git repo with two main commits one commit apart. I varied the adapter name, frames and block order in synthetic input. All six CLI cases matched expectations.RTX 4060 Tiblock and an olderRTX 4060block selected the older matching GPU in both paste orders. Mixed case, extra spaces and a tab in its name still matched.gpudiagnostic.python -B -m unittest discover -s scripts -p test_pr_check.pypassed all 16 tests on Windows 11 26100.9711, i7-13700, RTX 4060, Python 3.14.3. No physical adapter comparisons, retail runs or Rust suite. OpenAI Codex (GPT-6) ran the fixtures and wrote this report.@DavidM1911 on GitHub · 2026-11-25 16:41 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 2 real failures, deterministic (also fail--test-threads=1):Same pair of failures across this batch of PRs — looks like a shared feature area with two broken assertions. Needs fixes before merge.
— Devin
@Creaa on GitHub · 2026-11-25 16:46 UTC · original
These two are the
mainbreakage from #2242 (fixed by #2245, merged before this PR was rebased), not this PR: head5d1b0a0is onmain06c9f55and has the fix (pso.rsreads.dxil[67]), and CI passed on it. A localmainolder than #2245 shows them for every PR in the batch.AI use: Claude Code (Claude Opus 5.5) checked this and drafted the reply.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.