← Back to Pull requests

[release/2.15] Carry-forward ROCm cherry-picks from release/2.14 #3842

Closed
unknown closed this pull request without merging on Nov 04, 2026 21:30 UTC
View on GitHub
unknown unknown commented on Oct 18, 2026 22:43 UTC
Author

Processed Commits List


Spreadsheet with each commit evaluated for cherry-pick & resolution (drop/include) with reasoning:

pr3842-commit-outcomes.xlsx

Summary

Carry-forward of ROCm-specific commits from release/2.14 onto release/2.15, the 2.15 analog of PR #3594 (2.13 -> 2.14) and PR #3503.

Analyzes the full delta at release/2.14's tip (2e66fe8) against release/2.15 (e326e9a): 110 commits in release/2.14 not in release/2.15 (70 ROCm-only, 40 from upstream release/2.14), each either dropped (already in 2.15, 2.14-only, or not needed), held for a team decision, or cherry-picked here.

The IFU workflow (plain git merge of 2.14 into 2.15) was not used: it would bring all 110 commits, including 2.14's version/pins/related_commits and upstream 2.14 release-only branch changes.

Method

Same rules as the release/2.13 cherry-pick process:

  • Drop - already in 2.15: patch-id equivalence (git cherry), the commit's own upstream PR already in 2.15, title match, or content already present/superseded in 2.15 (verified during cherry-pick).

  • Drop - 2.14-only: version bump, related_commits, dependency/requirements pins, release-line CD/build changes.

  • Carry-forward: ROCm-specific fixes, and upstream fixes that landed on main after the 2.15 branch cut, not present in 2.15 in any form.
  • Conflicts were resolved keeping 2.15's newer logic.

    Commits carried forward (18)

    | Source | Notes |
    |--------|-------|
    | Skip ROCm-failing tests in test_cuda/test_nn (#3504) | conflict resolved: dropped the test_lazy_call_reentrant skip (2.15 refactored the test and raised its timeout 15s -> 60s); kept the graph-capture and linear_cross_entropy skips; common_nn.py imports merged from both sides |
    | skip test_hip_device_count (rocprofiler-sdk) | clean |
    | skip flaky test_Embedding_discontiguous_cuda | clean |
    | Skip test_is_pinned_no_context on python 3.14+ | clean |
    | Skip FSDP overlap tests (#3671) | conflict resolved: kept 2.15's MI200 comment/decorator, added the ROCm 10.1 skip above it |
    | Fix two Inductor default-shard test failures (#3655) | conflict resolved: test_codecache half already in 2.15; kept 2.15's imports plus skipIfRocmVersionAtLeast |
    | Skip test_timeout_with_communicator_cleanup (#3700) | clean |
    | Skip test_ddp_optimizer_cudagraph on ROCm (#3708) | conflict resolved: import line only |
    | Skip FSDP overlap test (#3732) | conflict resolved: 2.15 removed the MI200 skip upstream, so only the ROCm 10.1 skip is added |
    | Fix test_dataloader tests for python 3.14 (#3740) | clean |
    | [c10d] Fix null deref in ProcessGroupNCCL nocolor split without a parent comm (#200680) (#3795) | clean; upstream merged to main 2026-10-12, missed the 2.15 cut |
    | [c10d][test] Abort nccl_pg in monitored_barrier allreduce-hang tests (#200682) | clean; upstream merged to main 2026-10-13, missed the 2.15 cut |
    | [CUDA] Limit allowed peak-memory for OOM tests on UVM systems (#193641) (#3805) | clean; missed the 2.15 cut |
    | Fix shrink_group(SHRINK_ABORT) hang (#194775) (#3809) | clean; missed the 2.15 cut |
    | Prevent CK from building on gfx1250-strict (#3825) | clean |
    | Build test_warp_softmax_64bit_indexing grad reference from device forward (#200807) | clean; missed the 2.15 cut |
    | test_extra_cuda_context: count device processes via amdsmi (#200937) (#3834) | conflict resolved: kept 2.15's store.barrier("work_deleted", ...), then the amdsmi (ROCm) / pynvml branch |
    | Keep FSDP/HSDP/TP tests within the RCCL /dev/shm budget (#200632) (#3808) | clean; upstream merged to main 2026-10-12, missed the 2.15 cut |

    Held for team decision

    | Commit | Question |
    |--------|----------|
    | AOTriton pin (#3720) | 2.14 is on AOTriton 0.14.50tp, 2.15 is on 0.14.2b. Needs the AOTriton owner to confirm which version 2.15 ships; 2.14's pin is not carried blindly. |

    Reviewed and excluded (not needed for 2.15)

    | Commit | Reason |
    |--------|--------|
    | Upstream 2.14 release-only branch changes (#193018) | Release engineering for 2.14 (version, CD, binary matrix). |
    | Revert ideep to 2.13 | 2.14 release decision; 2.15 keeps its own ideep. |
    | #3707 and its revert #3783 | The pair cancels out. |
    | Skip flaky test_reentrant_parent_error_on_cpu | DISABLED issue pytorch/pytorch#86735 closed 2026-09-14, and 2.15 rewrote the test for torch.accelerator. |

    Dropped as already in 2.15 (verified during cherry-pick)

  • Build rocSHMEM for the requested gfx target (#3583): empty cherry-pick, already in 2.15.

  • Skip profiler check for foreach tests on ROCm (#3262): 2.15 has the upstream fix (ROCm emits the _foreach_mta_launch marker).

  • Fixed gfx1250_preferred_backend test (#3546): 2.15 already adds gfx1250 and checks every visible device.

  • c10d nccl2 teardown fix (#3810): upstream #200371 was closed unmerged; 2.15 carries upstream's replacement (_wait_for_rank_zero store sync, then destroy).

  • Import SDPAParams in test_transformers to fix lint (#194970): 2.14-only lint fix; 2.15 already imports SDPAParams (from #193039).
  • Remaining commits drop as 2.14-only (version/pins/related_commits/CD) or as already in 2.15 by patch-id / upstream PR / title. Every "upstream PR already in 2.15" drop was re-checked against the commit's own upstream PR, which is how #3808 was caught and carried forward.

    Test plan

  • TheRock dev build (build only, test_level=none) on the carry-forward branch, ROCm 10.2.0a20261013, all green:

  • - Linux gfx94X-dcgpu py3.11 https://github.com/ROCm/TheRock/actions/runs/39171461026
    - Linux gfx94X-dcgpu py3.12 https://github.com/ROCm/TheRock/actions/runs/39172673554
    - Linux gfx94X-dcgpu py3.13 https://github.com/ROCm/TheRock/actions/runs/39172717816
    - Linux gfx94X-dcgpu py3.14 https://github.com/ROCm/TheRock/actions/runs/39172719739
    - Windows gfx1151 py3.12 https://github.com/ROCm/TheRock/actions/runs/39172721684
  • GPU tests: pending. With release_type=dev the test job installs ROCm only from the dev index, which doesn't carry the nightly 10.2.0a2026xxxx packages, so the install step fails independently of this branch.
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: pruthvistony Review duration: 24406m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). 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%
    60%
    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 #3842"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 20.5% · Safe to merge
    20.5%
    Repository