Skip to content

[ROCm] Bump trunk ROCm version to 10.1 - #196753

Closed
zjliu-amd wants to merge 11 commits into
pytorch:mainfrom
ROCm:zjliu-amd/rocm-10.1-rc-bump
Closed

zjliu-amd wants to merge 11 commits into
pytorch:mainfrom
ROCm:zjliu-amd/rocm-10.1-rc-bump

Conversation

@pytorch-bot

pytorch-bot Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/196753

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 14 Unrelated Failures, 1 Unclassified Failure

As of commit b76f7c0 with merge base 0d1d601 (image):

NEW FAILURE - The following job has failed:

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

  • linux-binary-manywheel / libtorch-rocm10_1-shared-with-deps-release-extract (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    Pod mt-l-x86iavx512-16-128-s2xx7-runner-q7wxf-workflow: phase=Pending, conditions=[PodReadyToStartContainers=True, Initialized=True, Ready=False, ContainersReady=False, PodScheduled=True], waiting=[job: ErrImagePull] (51s/7200s)

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added ciflow/docker module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Sep 11, 2026
@pytorch-bot

pytorch-bot Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@jithunnair-amd jithunnair-amd added ciflow/trunk Trigger trunk jobs on your pull request ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/rocm-mi200 Trigger "default" config CI on ROCm MI200 ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/inductor-rocm-mi200 Trigger "inductor" config CI on ROCm MI200 labels Sep 11, 2026
@jithunnair-amd jithunnair-amd added keep-going Don't stop on first failure, keep running tests until the end ci-no-td Do not run TD on this PR labels Sep 11, 2026
@zjliu-amd
zjliu-amd force-pushed the zjliu-amd/rocm-10.1-rc-bump branch from b285e55 to b049599 Compare September 18, 2026 03:32
@zjliu-amd
zjliu-amd force-pushed the zjliu-amd/rocm-10.1-rc-bump branch 3 times, most recently from 8587416 to 16946f8 Compare September 30, 2026 20:02
@zjliu-amd
zjliu-amd marked this pull request as ready for review October 5, 2026 18:33
@zjliu-amd
zjliu-amd requested a review from a team as a code owner October 5, 2026 18:33
@github-actions github-actions Bot added bot-triaged This is a label only to be used by the auto triage bot triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Oct 5, 2026
@jeffdaily jeffdaily added the autorevert: disable Disable autorevert for a specific PR label Oct 5, 2026

@ethanwee1 ethanwee1 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to add the ciflow/binaries label since we are also upgrading the nightly wheel versions in this PR. Otherwise that will be untested if we merge before checking if the nightlies build fine.

@jithunnair-amd jithunnair-amd added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Oct 5, 2026
@zjliu-amd

Copy link
Copy Markdown
Contributor Author

The wheel tests failed because the docker image wasn't published to docker hub therefore the test workflow can't download. Only the runs on certain branches publish the built docker: https://github.com/pytorch/pytorch/blob/main/.github/workflows/build-manywheel-images.yml#L24

@jithunnair-amd

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -f "Lint clean; Failing ROCm workflows unrelated to ROCm10.1 upgrade; Binary test workflows failures due to public docker images not being available (required this PR to merge)"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pragupta pushed a commit to ROCm/pytorch that referenced this pull request Oct 27, 2026
… (#3882)

Partial cherry-pick of c489527 ("[ROCm] Bump trunk ROCm version to
10.1"): only the
test/distributed/_composable/fsdp/test_fully_shard_overlap.py hunk.

ROCm 10.1 removes high priority queue, which reduces the total number of
queues from 8 (4 high + 4 normal) to 4 (4 normal), causing some streams
can't overlap.

(cherry picked from commit c489527)

Co-authored-by: Z Liu <[email protected]>
Co-authored-by: Cursor <[email protected]>
pytorchmergebot pushed a commit that referenced this pull request Oct 30, 2026
…0195)

## Linked issue or supporting maintainer

Supported by @jeffdaily
Fixes #198909
Fixes #198910

## BC-breaking?

No

## Summary (human written only)

On gfx950, inductor's CK addmm kernels intermittently return wrong results, which made `test_max_autotune_addmm` flaky on MI350 (#198909, #198910) and led the ROCm 10.1 bump (#196753) to skip the whole family. This adds `-fno-associative-math` to the CK compile flags for gfx950 only (scoped with `-Xarch_`), with no measurable performance change, and removes the 10.1 skip. On MI355X (ROCm 10.0) with a fresh inductor cache per run, `pytest test/inductor/test_ck_backend.py -k test_max_autotune_addmm` went from 4/4 runs failing to 20/20 passing.

## Agent details (if applicable)

Claude helped investigate the failures, write the change, and draft this description; I reviewed all of it.

Pull Request resolved: #200195
Approved by: https://github.com/jeffdaily

Co-authored-by: Jeff Daily <[email protected]>
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Nov 4, 2026
… (#3882)

Partial cherry-pick of c489527 ("[ROCm] Bump trunk ROCm version to
10.1"): only the
test/distributed/_composable/fsdp/test_fully_shard_overlap.py hunk.

ROCm 10.1 removes high priority queue, which reduces the total number of
queues from 8 (4 high + 4 normal) to 4 (4 normal), causing some streams
can't overlap.

(cherry picked from commit c489527)

Co-authored-by: Z Liu <[email protected]>
Co-authored-by: Cursor <[email protected]>
dominikjastrzebskix pushed a commit to dominikjastrzebskix/pytorch that referenced this pull request Nov 5, 2026
…orch#200195)

## Linked issue or supporting maintainer

Supported by @jeffdaily
Fixes pytorch#198909
Fixes pytorch#198910

## BC-breaking?

No

## Summary (human written only)

On gfx950, inductor's CK addmm kernels intermittently return wrong results, which made `test_max_autotune_addmm` flaky on MI350 (pytorch#198909, pytorch#198910) and led the ROCm 10.1 bump (pytorch#196753) to skip the whole family. This adds `-fno-associative-math` to the CK compile flags for gfx950 only (scoped with `-Xarch_`), with no measurable performance change, and removes the 10.1 skip. On MI355X (ROCm 10.0) with a fresh inductor cache per run, `pytest test/inductor/test_ck_backend.py -k test_max_autotune_addmm` went from 4/4 runs failing to 20/20 passing.

## Agent details (if applicable)

Claude helped investigate the failures, write the change, and draft this description; I reviewed all of it.

Pull Request resolved: pytorch#200195
Approved by: https://github.com/jeffdaily

Co-authored-by: Jeff Daily <[email protected]>
dominikjastrzebskix pushed a commit to dominikjastrzebskix/pytorch that referenced this pull request Nov 9, 2026
…orch#200195)

## Linked issue or supporting maintainer

Supported by @jeffdaily
Fixes pytorch#198909
Fixes pytorch#198910

## BC-breaking?

No

## Summary (human written only)

On gfx950, inductor's CK addmm kernels intermittently return wrong results, which made `test_max_autotune_addmm` flaky on MI350 (pytorch#198909, pytorch#198910) and led the ROCm 10.1 bump (pytorch#196753) to skip the whole family. This adds `-fno-associative-math` to the CK compile flags for gfx950 only (scoped with `-Xarch_`), with no measurable performance change, and removes the 10.1 skip. On MI355X (ROCm 10.0) with a fresh inductor cache per run, `pytest test/inductor/test_ck_backend.py -k test_max_autotune_addmm` went from 4/4 runs failing to 20/20 passing.

## Agent details (if applicable)

Claude helped investigate the failures, write the change, and draft this description; I reviewed all of it.

Pull Request resolved: pytorch#200195
Approved by: https://github.com/jeffdaily

Co-authored-by: Jeff Daily <[email protected]>
pytorchmergebot pushed a commit that referenced this pull request Nov 19, 2026
## Linked issue or supporting maintainer

Fixes #168404
Fixes #168405
Fixes #168406
Fixes #168407

## BC-breaking?

No

## Summary (human written only)

The MI200 skips on `test_2d_mlp_with_nd_mesh` and `test_train_parity_2d_mlp` (added in #164390)
were covering a GPU-side RCCL deadlock in the ROCm 10.0 user-space stack, not a PyTorch bug
(ROCm/rccl#2191). With ROCm 10.1, which trunk CI now uses (#196753), both tests pass on gfx90a,
so this removes the skips. `test_fully_shard_training_overlap` is unchanged: its ROCm >= 10.1 skip
is still needed because of the reduced hardware-queue count, not because of this hang.

## Agent details (if applicable)

> AI-generated (Claude, via Cursor), reviewed by the submitter.
>
> - **Root cause:** the hang is on the GPU with the ROCm 10.0 user-space stack. RCCL kernels run concurrently on several communicators (FSDP2's `priority=-1` streams plus TP on the current stream) and deadlock. All GPUs stay 100% busy while the host threads, including RCCL's proxy threads, sit idle. It matches ROCm/rccl#2191.
> - **Not PyTorch:** torch 2.15 and 2.16 behave identically on ROCm 10.0, and the same stream pattern without RCCL never stalls.
> - **Fixed in ROCm 10.1:** trunk already runs ROCm 10.1 (#196753). The fix holds with `DEBUG_HIP_IGNORE_STREAM_PRIORITY=0` or `DEBUG_CLR_AQL_BARRIER_OPT=0`, so neither of those 10.1 default changes is the fix. ROCr 10.1 alone does not fix it, which leaves CLR and/or RCCL. The exact commit was not isolated.
> - **Test plan (8x MI250X, with the skips removed):**
>   - ROCm 10.1: `test_2d_mlp_with_nd_mesh` 7/7 pass, plus 3/3 with `DEBUG_HIP_IGNORE_STREAM_PRIORITY=0`; `test_train_parity_2d_mlp` 3/3 pass.
>   - ROCm 10.0: `test_2d_mlp_with_nd_mesh` fails 5/5 at the 300s timeout.
> - **Rejected workarounds:** forcing normal priority in FSDP2 on ROCm, or setting `DEBUG_HIP_IGNORE_STREAM_PRIORITY=1` or `GPU_MAX_HW_QUEUES=16`.
> - **Lint:** not run locally (no `spin`/`lintrunner` in the environment).

Pull Request resolved: #205508
Approved by: https://github.com/jeffdaily

Co-authored-by: Cursor <[email protected]>
Co-authored-by: Jeff Daily <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorevert: disable Disable autorevert for a specific PR bot-triaged This is a label only to be used by the auto triage bot ci-no-td Do not run TD on this PR ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/docker ciflow/inductor ciflow/inductor-rocm-mi200 Trigger "inductor" config CI on ROCm MI200 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/rocm-mi200 Trigger "default" config CI on ROCm MI200 ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged module: dynamo module: inductor module: rocm AMD GPU support for Pytorch open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants