← Back to Pull requests

feat(ci): add tensilelite-rocjitsu CPU emulation test for gfx1250 #10154

Open
unknown opened this pull request with 435 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 19, 2026 22:53 UTC
Author

JIRA ID : AIHPBLAS-5692

Motivation


Run the TensileLite gfx1250 common GEMM tests under the rocjitsu emulator on a CPU runner for rocm-libraries PRs that touch TensileLite, in TheRock's test matrix as asked in the ROCm/rocm-libraries#10534 review. The emulator covers non-strict gfx1250, which the gfx1250-strict hardware runners can't.

Merge after ROCm/rocm-libraries#16384 (launcher), ROCm/rocm-libraries#16456 (rocjitsu-quick, rocjitsu_slow) and ROCm/TheRock#9914 (bin/rocjitsu in the rocjitsu artifact).

Technical Details


  • fetch_test_configurations.py: tensilelite-rocjitsu, modeled on miopen-dbsync:

  • - linux_cpu_runner, --blas --tests --rocjitsu, include_family gfx1250 (strict never matches), skipped with the emulation stage (like hipblaslt-rocjitsu-race).
    - test_types standard/comprehensive/full; no ASAN variants; expect_failure while qualified.
    - 3 shards, timeout_minutes 100 (shards take ~40 min; the launcher caps each test at 45 min and the suite at 90): TEST_CATEGORY=rocjitsu-quick python <artifact>/Tests/emulation/run_rocjitsu.py -- python pytest_runner.py; the launcher's plugin picks the shard.
  • Opt-in ignore_test_type_for_family for linux_cpu_runner components (only this job). gfx125X's test_type_for_family: quick is for its scarce GPU runners but applied to every component, so a standard+ CPU job never ran on gfx125X. hipfile stays quick (test added).

  • Runs as root: the client segfaults under emulation as non-root. ROCm/TheRock#10058 already keeps --user 0:0 for linux_cpu_runner jobs on Apptainer families; a test pins it for this job.

  • Selection: the tensilelite alias and test:tensilelite group include the job (projects/hipblaslt/tensilelite, shared/{origami,stinkytofu,mxdatagenerator}); pytest_runner.py maps it to the TensileLite install tree.

  • Fixed the stale comment that CPU-only components run on aws-linux-scale-rocm-prod (they use the "medium" pool).
  • Test Plan


  • build_tools/github_actions/tests/, test_tools/tests/ (selection, launcher command, shards, strict/other-family/quick/ASAN exclusion, root container options; merged with main after ROCm/TheRock#10058); also with ROCm/TheRock#9914 applied first: one test expectation conflicts, resolved as the union of both job lists.

  • pre-commit run on the changed files.

  • End to end in the CI image: develop CI artifacts + bin/rocjitsu from ROCm/TheRock#9914's CI run → run_rocjitsu.py → this branch's pytest_runner.py → gfx1250 configs.
  • Test Result


  • 243 passed after merging main; 223 with ROCm/TheRock#9914 applied (before that merge).

  • End to end with rocjitsu 0.3.0: 12 gfx1250 configs pass as root; as non-root the client segfaults.

  • End to end in rocm-libraries CI (run 44880164450: rocm-libraries develop + the stack, TheRock = its pin + ROCm/TheRock#9914 + this PR, workflow_dispatch with ci:build:gfx125x): the gfx125X matrix scheduled 3 tensilelite-rocjitsu shards on az-linux-scale-rocm-medium-prod (32 cores, 125 GiB; 5 workers × 6 threads).

  • - 279 configs: 259 passed, 0 failed, 17 xfailed (*_xfail.yaml), 3 skipped.
    - pytest took 42, 40 and 39.5 min per shard (jobs 41–43 min; the step limit was 150 then).

    Submission Checklist


  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • 🤖 Generated with Claude Code

    Diff: 435 lines (+326 / -109) across 5 files Reviewer: geomin12 Review duration: 16243m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.45) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 435 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%
    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
    Diff Size diff_size
    0.364
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #10154"
    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: 45.2% (MEDIUM) · Higher = larger blast radius
    45.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: 24.1% · Safe to merge
    24.1%
    Repository