[release/2.7] Fix test_rnn_check_device tests for P1 Jira SWDEV-542659 #2440
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 168 lines diff across 2 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.307
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2440"
general
weight: 0.35
akashveramd
This PR has fixes for P1 Jira https://ontrack-internal.amd.com/browse/SWDEV-542659.
In this Jira, there are 3 test files with failing tests.
1) distributed.test_distributed_spawn
2) test_binary_ufuncs
3) test_nn
The test files distributed.test_distributed_spawn & test_binary_ufuncs are passing with latest mainline build-
registry-sc-harbor.amd.com/framework/compute-rocm-dkms-no-npi-hipclang:16426_ubuntu22.04_py3.10_pytorch_lw_release-2.7_fe3d37a9.
The test file test_nn has 2 failing tests- test_batchnorm_3D_train_NCHW_vs_native_mixed_float16 & test_RNN_dropout_state.
The test_batchnorm_3D_train_NCHW_vs_native_mixed_float16 test is skipped from PR https://github.com/ROCm/pytorch/pull/2370.
The test_RNN_dropout_state is fixed by cherry picking upstream commit 1aa971a.
Tested on MI200 with docker image-
registry-sc-harbor.amd.com/framework/compute-rocm-dkms-no-npi-hipclang:16426_ubuntu22.04_py3.10_pytorch_lw_release-2.7_fe3d37a9.
Cherry-picked to release/2.5 branch via https://github.com/ROCm/pytorch/pull/2506
Cherry-picked to release/2.6 branch via https://github.com/ROCm/pytorch/pull/2507
Cherry-picked to release/2.8 branch via https://github.com/ROCm/pytorch/pull/2509
Cherry-picked to rocm7.0_internal_testing branch via https://github.com/ROCm/pytorch/pull/2510