← Back to Pull requests

test(miopen)[ALMIOPEN-1926]: re-enable Full/GPU_LstmMSRnn_FP32 after #14169 #15031

Closed
unknown closed this pull request without merging on Nov 06, 2026 19:39 UTC
View on GitHub
unknown unknown commented on Nov 04, 2026 03:27 UTC
Author

JIRA ID : ALMIOPEN-1926

Motivation

#14169 (merged 2026-10-26, cec66d06) fixed the data race in RNNDescriptor::RNNForwardMS that made bias-enabled
Full/GPU_LstmMSRnn_FP32.TestFloat cases fail intermittently. Every quarantine of this family still in the tree predates that fix:

| Where | Pattern | Added by | Data it was based on |
|---|---|---|---|
| Jenkins MIOPEN_TEST_GFX94X negative filter | Full/GPU_LstmMSRnn_FP32 | #13107 | Jenkins gfx942, 2026-08-24..10-23 |
| comprehensive.exclude, full.exclude | Full/GPU_LstmMSRnn_FP32.TestFloat/1095 | #13107 | Jenkins per-index filter |
| exclude_gpu_gfx94X | Full/GPU_LstmMSRnn_FP32
| #13107 | Jenkins gfx942 (above) |
| exclude_gpu_gfx110X | Full/GPU_LstmMSRnn_FP32 | #13107 | Windows gfx110X runs of 10-15/10-16 |
| exclude_gpu_gfx115X | Full/GPU_LstmMSRnn_FP32
| #13107 | Windows gfx1151 run of 10-20 |

The #14169 author planned this cleanup as a follow-up once the fix was confirmed. While these quarantines stay, a regression in the
LSTM multi-stream forward pass (reachable from miopenRNNForward, miopenRNNForwardTraining and miopenRNNForwardInference) goes
untested on gfx942, gfx110X and gfx1151.

Technical Details

  • projects/miopen/test/gtest/test_categories.yaml:

  • - remove /1095 from the comprehensive and full excludes;
    - remove Full/GPU_LstmMSRnn_FP32 from exclude_gpu_gfx110X and exclude_gpu_gfx115X;
    - remove the exclude_gpu_gfx94X key. Its only pattern was this family, so gfx94X goes back to the base suites (-LE ex_gpu),
    as before #13107. That's 21 suites instead of 25.
  • projects/miopen/test/gtest/CMakeLists.txt: remove the Jenkins MIOPEN_TEST_GFX94X block, which only held this filter.

  • Kept: exclude_gpu_gfx115X_windows Full/GPU_GRU_Base_FP16…biasMode_1_. GRU doesn't use the multi-stream LSTM forward that

  • #14169 changed, so the fix doesn't cover that flake.
  • Kept: standard.exclude Full/GPU_LstmMSRnn_*. That's tier placement (the Full/ cases run in comprehensive), not a quarantine.
  • Test Plan

    1. parse_test_categories.py: rc 0, 21 suites.
    2. yaml_select.py diff --old git:origin/develop, using the 69,069 case names from miopen_gtest --gtest_list_tests of the post-fix build:

    | GPU / OS | standard | comprehensive / full |
    |---|---|---|
    | gfx942 Linux | 0 | +1,536 Full/GPU_LstmMSRnn_FP32 |
    | gfx1100 Windows | 0 | +1,536 |
    | gfx1151 Windows / Linux | 0 | +1,536 |
    | gfx1201 Linux, gfx950 Linux | 0 | +1 (/1095; they already ran the rest) |

    3. Local A/B stress on gfx942 (MI300X). Same method as #14169. The pre-fix build is TheRock CI artifacts of rl run 39358709264
    (2026-10-20); the post-fix build is rl run 41582846076 (develop 9953cb5 + PR #14882). Two modes: (A) one process with
    GPU_MAX_HW_QUEUES=16; (B) 4 gtest shards sharing one GPU, as Jenkins does. Rounds alternate pre/post, each with a fresh user db
    and kernel cache. Script: /scratch/users/aalabsi/tmp/lstm_ab/ab.sh.
    4. CI on this PR, labels test:miopen + test_filter:comprehensive + ci:gfx1151. This runs
    comprehensive (including all 1,536 Full/GPU_LstmMSRnn_FP32 cases) on Linux gfx94X, Windows gfx110X and Windows/Linux gfx1151.
    These are the lanes that failed before. Read every attempt.
    5. Jenkins PR: the gfx942 stages run the family again now that the filter is gone.

    Test Result

    Local A/B stress, gfx942 (MI300X, banff-cyxtera-s70-4), Slurm jobs 68262769 (3 rounds) and 68262798 (20 rounds),
    23 rounds per build per mode, pre/post alternating. Each round runs all 1,536 cases: 1,152 execute and 384 skip by design at
    rnn_seq_api.cpp:61 in both builds.

    | Build | Mode A: 1 process, GPU_MAX_HW_QUEUES=16 | Mode B: 4 shards on 1 GPU (Jenkins-like) |
    |---|---|---|
    | pre-fix (rl run 39358709264, 2026-10-20) | 0 failures / 26,496 | 150 failures / 26,496 (0.57%), in 23 of 23 rounds, 113 distinct indices, all at rnn_seq_api.hpp:272 (the ALMIOPEN-1926 signature) |
    | post-fix (rl run 41582846076, develop 9953cb5) | 0 / 26,496 | 0 / 26,496, in 0 of 23 rounds |

    At the pre-fix rate, 26,496 post-fix executions would give about 150 failures. Seeing 0 by chance is effectively impossible
    (p ≈ e^-150). Mode A didn't reproduce on this machine for either build; #14169 also needed mode B or many passes. A round takes
    77–81 s for both builds, so the fix costs no measurable test time. Logs:
    /scratch/users/aalabsi/tmp/lstm_ab/results-68262769/, …/results-68262798/.

    Jenkins develop, gfx942 (QE dashboard): 20 failures / 11,719 executions from 2026-09-01 to 10-26; 0 / 1,144 from 10-27 to 10-30,
    after which #13107 filtered the whole family. gfx90a: 0 / 11,615 before and 0 / 1,872 after; it was never quarantined.

    CI on this PR: pending. Windows gfx110X and gfx1151 are the open question: no Windows run of this family exists after the fix,
    and the stress test above covers gfx942 only.

    Submission Checklist

  • Every removed entry cites ALMIOPEN-1926 and is covered by #14169

  • YAML parses; selection diff shows only the intended cases

  • gfx942 A/B: pre-fix fails under stress (150 / 26,496), post-fix doesn't (0 / 26,496)

  • PR CI comprehensive: Windows gfx110X / gfx1151 and Linux gfx94X run Full/GPU_LstmMSRnn_FP32 with 0 failures in every attempt

  • Jenkins gfx942 PR stages green with the filter removed

  • Remove the test_filter:comprehensive label before merge

  • Close ALMIOPEN-1926, or narrow it to the GRU FP16 flake
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: JonathanLichtnerAMD Review duration: 3852m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #15031"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 52% (MEDIUM) · Higher = larger blast radius
    52%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 22.5% · Safe to merge
    22.5%