[DispatchCreation] Refactor and add low-parallelism split reduction parameter set #24293
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 · 276 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.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #24293"
general
weight: 0.35
yzhang93
Introduce a
low-parallelismflag that selects a split reduction parameter set tuned for targets with limited concurrent workgroup parallelism (e.g. RDNA-class GPUs), distinct from the existing high-parallelism default (CDNA-class). The matmul and convolution limit-parallel-loops helpers are restructured into a single top-down output size ladder with reduction size sub-rules in each band.Representative benchmark results:
RDNA4 (RX 9070 XT) conv:
| Speedup | Baseline (us) | This PR (us) | Saved (us) | Shape |
|--------:|--------------:|-------------:|-----------:|-------|
| 2.21x | 6234.3 | 2825.4 | 3408.9 | -n 32 -c 256 -H 25 -W 25 -k 2376 -y 3 -x 3 -F 4 |
| 1.54x | 6537.7 | 4234.0 | 2303.7 | -n 32 -c 256 -H 25 -W 25 -k 2376 -y 3 -x 3 -F 2 |
| 1.24x | 10359.2 | 8330.5 | 2028.6 | -n 12 -c 224 -H 470 -W 725 -k 224 -u 2 -v 2 -g 4 -F 4 |
| 1.62x | 5210.9 | 3220.0 | 1990.9 | -n 5 -c 224 -H 470 -W 725 -k 224 -u 2 -v 2 -g 4 -F 4 |
| 1.43x | 3660.4 | 2568.0 | 1092.4 | -n 4 -c 224 -H 470 -W 725 -k 224 -u 2 -v 2 -g 4 -F 4 |
RDNA4 1x1 conv:
| Speedup | Baseline (us) | This PR (us) | Saved (us) | Shape |
|--------:|--------------:|-------------:|-----------:|-------|
| 4.12x | 45.2 | 11.0 | 34.2 | -n 16 -c 64 -H 24 -W 16 -k 192 -F 4 |
| 2.27x | 61.3 | 27.0 | 34.3 | -n 16 -c 96 -H 48 -W 32 -k 96 -F 4 |
| 2.30x | 30.9 | 13.4 | 17.5 | -n 16 -c 48 -H 24 -W 16 -k 192 -F 4 |
CDNA4 (MI355) conv:
| Speedup | Baseline (us) | This PR (us) | Saved (us) | Shape |
|--------:|--------------:|-------------:|-----------:|-------|
| 2.60x | 48.7 | 18.7 | 30.0 | -n 16 -c 96 -H 48 -W 32 -k 96 -y 3 -x 1 -F 4 |
| 1.81x | 4198.3 | 2319.7 | 1878.6 | -n 12 -c 224 -H 470 -W 725 -k 224 -u 2 -v 2 -g 4 -F 4 |
| 1.71x | 3287.0 | 1924.0 | 1363.0 | -n 10 -c 224 -H 470 -W 725 -k 224 -u 2 -v 2 -g 4 -F 4 |
| 1.49x | 3218.2 | 2160.6 | 1057.6 | -n 12 -c 224 -H 235 -W 363 -k 224 -g 4 -F 4 |
CDNA4 1x1 conv:
| Speedup | Baseline (us) | This PR (us) | Saved (us) | Shape |
|--------:|--------------:|-------------:|-----------:|-------|
| 2.54x | 1499.0 | 589.5 | 909.5 | -n 10 -c 448 -H 118 -W 182 -k 896 -F 4 |
| 2.06x | 1703.2 | 826.4 | 876.8 | -n 12 -c 448 -H 118 -W 182 -k 896 -F 4 |