fix(test): build the pytest skip marker from a single concrete GPU target #9749
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 221 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.323
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9749"
general
weight: 0.35
geomin12
JIRA ID : AIHPBLAS-5490
Motivation
pytest_runner.pybuildsnot skip-<arch>fromAMDGPU_FAMILIESviaextract_gpu_arch()(gfx\w+), which yields a family token (gfx125X, matches no marker) or drops the stepping (gfx1250-strict→gfx1250). SoAMDGPU_TARGETS=gfx1250-strictgives(gfx1250-strict) and not skip-gfx1250, deselecting every gfx1250-strict TensileLite config (all carryskip-gfx1250). A gfx1250-strict emulation run selected 1 of ~97.Technical Details
resolve_skip_arch(): a loneAMDGPU_TARGETSentry replaces the family token; multi-target families (gfx120X-all) keep it, sinceconfigMarks()already skips per detected arch. No family → no term (unchanged).extract_gpu_arch()keeps-strict(gfx\w+(?:-strict)?, as in ROCm/TheRock#8944), so the target-lessgfx1250-strictfamily stops falling back togfx1250.-dcgpu/-allunchanged.configMarks()already skipped are now deselected.AMDGPU_TARGETS.| AMDGPU_FAMILIES | AMDGPU_TARGETS | before | after |
|---|---|---|---|
| gfx1250 | gfx1250-strict | skip-gfx1250 | skip-gfx1250-strict |
| gfx1250-strict | (empty) | skip-gfx1250 | skip-gfx1250-strict |
| gfx125X-dcgpu | gfx1250 | skip-gfx125X | skip-gfx1250 |
| gfx94X-dcgpu | gfx942 | skip-gfx94X | skip-gfx942 |
| gfx120X-all | gfx1200,gfx1201 | skip-gfx120X | skip-gfx120X |
Test Plan
python -m pytest build_tools/github_actions/tests/pytest_runner_test.pyTest Result
Submission Checklist
🤖 Generated with Claude Code