← Back to Pull requests

ci(gfx1250): 600 s TensileLite timeout and only the CMake modules the build uses #16785

Open
unknown opened this pull request with 430 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 26, 2026 01:57 UTC
Author

JIRA ID : N/A (closes the remaining items of ROCm/rocm-libraries#13832)

Motivation

ROCm/rocm-libraries#13832 collected follow-ups from the review of ROCm/rocm-libraries#13771 for the gfx1250-strict hardware workflow. Two of them are still open.

First, the TensileLite common tests run with a 1200 s per-test timeout. It was raised from 600 s for a single slow config, decouple_pgr_tdm_fuse_gfx1250.yaml, and it now applies to all of them. A hung or deadlocked config therefore holds a pytest worker for 20 minutes instead of 10, and 600 s no longer catches a config that slowed down.

Second, the workflow runs for any change under the repository's root cmake/ directory. Most of those files never reach this build (ClangTidy.cmake, the toolchain files), yet each such PR occupies a gfx1250 runner for up to 10 hours.

Technical Details

Timeout: the tensilelite command of .github/scripts/gfx1250_blas_tests.py defaults to 600 s again. The decouple config is the only one that needed more. On gfx1250 hardware on 11-24 (non-strict), before ROCm/rocm-libraries#16706 trimmed its sweep, it took 412 s, and the next slowest common config took 59 s. Durations come from the result lines' timestamps per pytest-xdist worker; the gfx1250-strict job's own log can't show them yet. ROCm/rocm-libraries#16706 (merged 11-26) trimmed the decouple config's sweep and runs it on gfx1250-strict again.

Path rules: .github/gfx1250-hw-ci-paths.toml replaces cmake/* with the two root modules the build includes. shared/stinkytofu and TensileLite's rocisa include cmake/modules/default_amdclang.cmake, and the standalone TensileLite client build (the TensileLite step) includes cmake/modules/fetch_rocm_cmake.cmake. hipBLASLt itself uses its own copy under projects/hipblaslt/cmake. ROCm/rocm-libraries#13832 suggested shared_third_party.cmake instead of fetch_rocm_cmake.cmake, but nothing in this build includes the former today.

The path rules file came from ROCm/rocm-libraries#16290 (merged 11-27); this PR is rebased on develop after it.

Test Plan

  • Gate unit tests (including the check that every rule matches a tracked file) and the script's unit tests.

  • The gate's decision for each root CMake file.

  • The decouple config's time in this PR's gfx1250-strict run, from the live log timestamps that ROCm/rocm-libraries#15424 added.
  • Test Result

  • 18 gate tests and 21 script tests pass; pre-commit clean.

  • Gate decisions: default_amdclang.cmake and fetch_rocm_cmake.cmake run the job; ClangTidy.cmake and cmake/toolchains/rocm-clang.cmake skip it.

  • Decouple config on gfx1250-strict at 600 s: passed in about 70 s (09:12:30 start to 09:13:40 PASSED) in the hardware run on d26c35c, the first to include ROCm/rocm-libraries#16706 (job). The slowest common config in that run took at most 193 s (spmm_fp16_ml1.yaml, the gap between its worker's results). TensileLite common: 235 passed, 5 skipped, 16 xfailed.
  • Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
  • Risk level

    Low. A config that now takes 600-1200 s on gfx1250-strict would fail where it passed; the measurement after ROCm/rocm-libraries#16706 checks the only known candidate.

    🤖 Generated with Claude Code

    Diff: 430 lines (+322 / -108) across 5 files Reviewer: geomin12 Review duration: 7419m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.45) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 430 lines diff across 5 files
    0.45
    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%
    42%
    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
    Diff Size diff_size
    0.363
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #16785"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% 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: 45.1% (MEDIUM) · Higher = larger blast radius
    45.1%
    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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 25.8% · Safe to merge
    25.8%