Unskip gfx1201 mem-eff attention grad tests on PyTorch 2.13 and 2.14 #10438
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 282 lines diff across 3 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.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10438"
general
weight: 0.35
ethanwee1
Motivation
Removes the gfx1201 skips for
test_mem_efficient_attention_vs_math_ref_gradsandtest_mem_efficient_attention_attn_mask_vs_math_ref_gradsfromskip_tests/pytorch_2.13.pyandskip_tests/pytorch_2.14.py(added in #9648), so the release/2.13 and release/2.14 jobs test them again. This is the 2.13/2.14 counterpart of #10090.Related: #10001
Technical Details
scale_l1hd16/hd32 entries are the original #10001 failures: an fp32grad_valuetolerance that was too tight on Navi4. The fix is pytorch/pytorch#205199, cherry-picked as ROCm/pytorch#4106 (release/2.13) and ROCm/pytorch#4107 (release/2.14).scale0attn_mask entry (2.14, Linux) is the case reopened on #10001, which also failed on Linux release/2.13 where it was never skipped. The fix is pytorch/pytorch#207208, cherry-picked as ROCm/pytorch#4123 (release/2.13) and ROCm/pytorch#4125 (release/2.14). Thescale0hd32 entry passes on gfx1201 with and without either fix.test_transformer_encoder_layer_fwd_fake_cudaWindows skip stays.Test Plan
On a Linux gfx1201 host with torch
2.13.0+rocm10.3.0a20261130and2.14.0+rocm10.3.0a20261130, with and without the fixes applied to the wheel'stest_transformers.py:Also ran
python -m pytest tests/skip_tests_test.pyandcreate_skip_tests.py --amdgpu-family gfx1201 --platform <Linux|Windows> --pytorch-version <2.13|2.14>.Test Result
Without the fixes: 4608 tests, 2 errors (the
scale_l1hd16/hd32 cases) on both versions. With them: 4608 tests, OK, 3 of 3 runs on both versions. This host does not reproduce the CI runners' attn_maskscale0failure, so the evidence for that case is the CI logs on #10001.skip_tests_test.py: 3 passed. The generated skip lists contain no mem-eff attention case and still containtest_transformer_encoder_layer_fwd_fake_cudaon Windows.Submission Checklist