← Back to Pull requests

fix(ci): match include/exclude_family against the caller's AMDGPU_TARGETS #9757

Open
unknown opened this pull request with 260 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 05, 2026 11:00 UTC
Author

JIRA ID : AIHPBLAS-5490

Motivation


include_family/exclude_family match the static matrix's targets; AMDGPU_TARGETS never reaches the configure step. A caller's family_overrides can set fetch-gfx-targets (the test job fetches those), but component selection ignores them. So a gfx125x run overridden to gfx1250-strict can't select hipBLASLt or TensileLite: both exclude gfx125X-dcgpu for gfx1250 failures, and tensilelite-common doesn't include it.

Technical Details


  • test_artifacts.yml: configure step gets AMDGPU_TARGETS.

  • fetch_test_configurations.py: non-empty AMDGPU_TARGETS replaces the static fetch-gfx-targets for include/exclude/expect_failure; empty or blank falls back.

  • Unchanged for TheRock's callers: they pass ",".join(fetch-gfx-targets) (configure_multi_arch_ci.py). WSL (no wsl matrix entry) now gets the Linux targets, but its only list (expect_failure: gfx110X-all) matches by family.

  • hipblaslt, tensilelite: exclude gfx1250 instead of gfx125X-dcgpu (the family's only target, so same jobs today). tensilelite-common: include gfx1250-strict. Family-string excludes elsewhere still apply to every target.

  • Both suites pass on gfx1250-strict hardware in rocm-libraries' gfx1250_hipblaslt_tensilelite_test.yml (hipBLASLt ~69.5k tests; TensileLite common 209 passed, 0 failed).
  • | AMDGPU_FAMILIES | AMDGPU_TARGETS | hipblaslt / tensilelite / tensilelite-common |
    |---|---|---|
    | gfx125X-dcgpu | (unset) or gfx1250 | excluded (unchanged) |
    | gfx125X-dcgpu | gfx1250-strict | selected |

    Test Plan


  • python -m pytest build_tools/github_actions/tests/fetch_test_configurations_test.py, with and without the fetch_test_configurations.py change.

  • pre-commit run on the 3 files.
  • Test Result


  • 117 passed (10 new); 3 fail without the AMDGPU_TARGETS change.

  • pre-commit clean.
  • Submission Checklist


  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
  • 🤖 Generated with Claude Code

    Diff: 260 lines (+195 / -65) across 3 files Reviewer: geomin12 Review duration: 13950m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 260 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.333
    Real PR Conversation Timeline
    1 comments
    "Review active on #9757"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.2% (MEDIUM) · Higher = larger blast radius
    39.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.9% · Safe to merge
    20.9%
    Repository