Skip to content

[ROCm] unskip export tests on ROCm - #187164

Closed
jataylo wants to merge 1 commit into
pytorch:mainfrom
jataylo:unskip_export
Closed

jataylo wants to merge 1 commit into
pytorch:mainfrom
jataylo:unskip_export

Conversation

@jataylo

@jataylo jataylo commented Jun 12, 2026 •

Copy link
Copy Markdown
Collaborator

@jataylo jataylo 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 labels Jun 12, 2026
@pytorch-bot

pytorch-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning: Unknown label ciflow/rocm-mi355.
Currently recognized labels are

  • ciflow/b200
  • ciflow/b200-distributed
  • ciflow/b200-symm-mem
  • ciflow/binaries
  • ciflow/binaries_libtorch
  • ciflow/binaries_wheel
  • ciflow/docker
  • ciflow/dtensor
  • ciflow/dynamo
  • ciflow/h100
  • ciflow/h100-cutlass-backend
  • ciflow/h100-distributed
  • ciflow/h100-symm-mem
  • ciflow/inductor
  • ciflow/inductor-cu126
  • ciflow/inductor-micro-benchmark
  • ciflow/inductor-micro-benchmark-cpu-x86
  • ciflow/inductor-pallas
  • ciflow/inductor-perf-compare
  • ciflow/inductor-perf-test-nightly-rocm-mi300
  • ciflow/inductor-perf-test-nightly-rocm-mi350
  • ciflow/inductor-perf-test-nightly-x86-zen
  • ciflow/inductor-perf-test-nightly-xpu
  • ciflow/inductor-periodic
  • ciflow/inductor-rocm-mi200
  • ciflow/inductor-rocm-mi300
  • ciflow/mps
  • ciflow/nightly
  • ciflow/op-benchmark
  • ciflow/periodic
  • ciflow/periodic-rocm-mi200
  • ciflow/periodic-rocm-mi300
  • ciflow/pull
  • ciflow/riscv64
  • ciflow/rocm-mi200
  • ciflow/rocm-mi300
  • ciflow/rocm-navi31
  • ciflow/rocm-nightly
  • ciflow/s390
  • ciflow/slow
  • ciflow/slow-rocm-mi200
  • ciflow/torchtitan
  • ciflow/triton_binaries
  • ciflow/trunk
  • ciflow/tsan
  • ciflow/unstable
  • ciflow/vllm
  • ciflow/win-arm64
  • ciflow/xpu

Please add the new label to .github/pytorch-probot.yml

@pytorch-bot

pytorch-bot Bot commented Jun 12, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

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

As of commit 82cb79f with merge base d84328b (image):

NEW FAILURE - The following job has failed:

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:

  • rocm-mi200 / linux-jammy-rocm-py3.10-mi200 / test (default, 3, 6, linux.rocm.gpu.mi210.1) (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    test/inductor/test_flex_attention.py::TestFlexAttentionCUDA::test_autocast_cuda_float32

    AI verdict: AI verdict: not related

    The commit only removes ROCm-specific skip decorators in test/export/test_hop.py for inline_asm_elementwise tests. The failing test is test/inductor/test_flex_attention.py::TestFlexAttentionCUDA::test_autocast_cuda_float32, which is in a completely different module with no shared code path.

    Full reasoning on HUD →

  • rocm-mi200 / linux-jammy-rocm-py3.10-mi200 / test (default, 4, 6, linux.rocm.gpu.mi210.1) (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    test/inductor/test_torchinductor_opinfo_properties.py::TestOpInfoPropertiesCUDA::test_batch_invariance_log1p_backend_inductor_default_cuda_float32

    AI verdict: AI verdict: not related

    The suspect commit only modifies test/export/test_hop.py to remove ROCm-specific skip decorators for export tests. The failing test is in a completely different file (test/inductor/test_torchinductor_opinfo_properties.py) testing inductor batch invariance for log1p. There is no causal connection.

    Full reasoning on HUD →

  • rocm-mi200 / linux-jammy-rocm-py3.10-mi200 / test (default, 6, 6, linux.rocm.gpu.mi210.1) (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    test/inductor/test_torchinductor.py::TritonCodeGenTests::test_respect_scaled_grouped_mm_layout_tag

    AI verdict: AI verdict: not related

    The commit only removes ROCm skip decorators from test/export/test_hop.py. The failing test test_respect_scaled_grouped_mm_layout_tag is in a completely different file (test/inductor/test_torchinductor.py) and fails because _scaled_grouped_mm requires MI300+ hardware but runs on MI210.

    Full reasoning on HUD →

FLAKY - The following job failed but was 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 module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Jun 12, 2026
@jataylo

jataylo commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Rebase failed due to Command git -C /home/runner/work/pytorch/pytorch push -f https://github.com/jataylo/pytorch.git pull/187164/head:unskip_export returned non-zero exit code 128

remote: Personal access tokens (classic) are forbidden from accessing this repository.
fatal: unable to access 'https://github.com/jataylo/pytorch.git/': The requested URL returned error: 403

Raised by https://github.com/pytorch/pytorch/actions/runs/27539517781

@jataylo
jataylo requested a review from jeffdaily June 18, 2026 12:07
@jataylo

jataylo commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Unrelated ongoing failures

@jataylo
jataylo marked this pull request as ready for review June 18, 2026 12:07
@malfet malfet added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jun 18, 2026
pytorchmergebot pushed a commit that referenced this pull request Jun 30, 2026
…188313)

## Problem

Many CI jobs are periodic or `ciflow`-label-gated and do not run on every commit, so for a given failure signal the partition may contain **no `successful` baseline** at all (the job simply never ran on the merge base). The advisor prompt currently asserts as ground truth that *"the signal transitioned from SUCCESS to FAILURE at the suspect commit"* — but with no baseline, that transition was never observed. Combined with a plausible mechanism, this drives confident `related` verdicts on failures that are actually pre-existing.

Concrete case: the Triton 3.7.1→3.8 pin re-land (#188251). Label-gated ROCm-MI200 jobs had no merge-base run, so no baseline. The advisor reasoned "Triton drives ROCm codegen → related" at confidence 0.85–0.9 on several flex_attention failures (`test_autocast_cuda_bfloat16`, `test_autocast_cuda_float32`, `test_invalid_block_size_cuda`). Those exact tests were already failing on the same MI200 shards on an unrelated, non-Triton PR (#187164) whose tree predates the pin — i.e. pre-existing ROCm noise, not pin-caused.

## Change (prompt-only)

1. Qualify the premise: the extraction is ground truth that the signal **fails** at the suspect, but a SUCCESS→FAILURE *transition* is only established when the partition includes `successful` baseline events.
2. Add **Principle 3 — A missing baseline is not a green baseline**: absence of a baseline is not evidence the suspect introduced the failure; check recent runs of the same job on trunk or neighbor PRs (via `gh` / hud.pytorch.org) before attributing; absent that evidence, a `related` resting on a plausible mechanism alone should be `unsure`.

Scoped to signals lacking a `successful` partition, so normal baselined trunk signals are unaffected.

Pull Request resolved: #188313
Approved by: https://github.com/huydhn
@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -i

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 14, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / linux-jammy-rocm-py3.10-mi350 / test (distributed, 2, 3, linux.rocm.gpu.gfx950.2)

Details for Dev Infra team Raised by workflow job

@jataylo

jataylo commented Jul 15, 2026

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

gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
…ytorch#188313)

## Problem

Many CI jobs are periodic or `ciflow`-label-gated and do not run on every commit, so for a given failure signal the partition may contain **no `successful` baseline** at all (the job simply never ran on the merge base). The advisor prompt currently asserts as ground truth that *"the signal transitioned from SUCCESS to FAILURE at the suspect commit"* — but with no baseline, that transition was never observed. Combined with a plausible mechanism, this drives confident `related` verdicts on failures that are actually pre-existing.

Concrete case: the Triton 3.7.1→3.8 pin re-land (pytorch#188251). Label-gated ROCm-MI200 jobs had no merge-base run, so no baseline. The advisor reasoned "Triton drives ROCm codegen → related" at confidence 0.85–0.9 on several flex_attention failures (`test_autocast_cuda_bfloat16`, `test_autocast_cuda_float32`, `test_invalid_block_size_cuda`). Those exact tests were already failing on the same MI200 shards on an unrelated, non-Triton PR (pytorch#187164) whose tree predates the pin — i.e. pre-existing ROCm noise, not pin-caused.

## Change (prompt-only)

1. Qualify the premise: the extraction is ground truth that the signal **fails** at the suspect, but a SUCCESS→FAILURE *transition* is only established when the partition includes `successful` baseline events.
2. Add **Principle 3 — A missing baseline is not a green baseline**: absence of a baseline is not evidence the suspect introduced the failure; check recent runs of the same job on trunk or neighbor PRs (via `gh` / hud.pytorch.org) before attributing; absent that evidence, a `related` resting on a plausible mechanism alone should be `unsure`.

Scoped to signals lacking a `successful` partition, so normal baselined trunk signals are unaffected.

Pull Request resolved: pytorch#188313
Approved by: https://github.com/huydhn
@jataylo

jataylo commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -f "Failures 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

vishalgoyal316 pushed a commit to vishalgoyal316/pytorch that referenced this pull request Jul 16, 2026
…ytorch#188313)

## Problem

Many CI jobs are periodic or `ciflow`-label-gated and do not run on every commit, so for a given failure signal the partition may contain **no `successful` baseline** at all (the job simply never ran on the merge base). The advisor prompt currently asserts as ground truth that *"the signal transitioned from SUCCESS to FAILURE at the suspect commit"* — but with no baseline, that transition was never observed. Combined with a plausible mechanism, this drives confident `related` verdicts on failures that are actually pre-existing.

Concrete case: the Triton 3.7.1→3.8 pin re-land (pytorch#188251). Label-gated ROCm-MI200 jobs had no merge-base run, so no baseline. The advisor reasoned "Triton drives ROCm codegen → related" at confidence 0.85–0.9 on several flex_attention failures (`test_autocast_cuda_bfloat16`, `test_autocast_cuda_float32`, `test_invalid_block_size_cuda`). Those exact tests were already failing on the same MI200 shards on an unrelated, non-Triton PR (pytorch#187164) whose tree predates the pin — i.e. pre-existing ROCm noise, not pin-caused.

## Change (prompt-only)

1. Qualify the premise: the extraction is ground truth that the signal **fails** at the suspect, but a SUCCESS→FAILURE *transition* is only established when the partition includes `successful` baseline events.
2. Add **Principle 3 — A missing baseline is not a green baseline**: absence of a baseline is not evidence the suspect introduced the failure; check recent runs of the same job on trunk or neighbor PRs (via `gh` / hud.pytorch.org) before attributing; absent that evidence, a `related` resting on a plausible mechanism alone should be `unsure`.

Scoped to signals lacking a `successful` partition, so normal baselined trunk signals are unaffected.

Pull Request resolved: pytorch#188313
Approved by: https://github.com/huydhn
DamJanusz pushed a commit to DamJanusz/pytorch that referenced this pull request Jul 21, 2026
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…ytorch#188313)

## Problem

Many CI jobs are periodic or `ciflow`-label-gated and do not run on every commit, so for a given failure signal the partition may contain **no `successful` baseline** at all (the job simply never ran on the merge base). The advisor prompt currently asserts as ground truth that *"the signal transitioned from SUCCESS to FAILURE at the suspect commit"* — but with no baseline, that transition was never observed. Combined with a plausible mechanism, this drives confident `related` verdicts on failures that are actually pre-existing.

Concrete case: the Triton 3.7.1→3.8 pin re-land (pytorch#188251). Label-gated ROCm-MI200 jobs had no merge-base run, so no baseline. The advisor reasoned "Triton drives ROCm codegen → related" at confidence 0.85–0.9 on several flex_attention failures (`test_autocast_cuda_bfloat16`, `test_autocast_cuda_float32`, `test_invalid_block_size_cuda`). Those exact tests were already failing on the same MI200 shards on an unrelated, non-Triton PR (pytorch#187164) whose tree predates the pin — i.e. pre-existing ROCm noise, not pin-caused.

## Change (prompt-only)

1. Qualify the premise: the extraction is ground truth that the signal **fails** at the suspect, but a SUCCESS→FAILURE *transition* is only established when the partition includes `successful` baseline events.
2. Add **Principle 3 — A missing baseline is not a green baseline**: absence of a baseline is not evidence the suspect introduced the failure; check recent runs of the same job on trunk or neighbor PRs (via `gh` / hud.pytorch.org) before attributing; absent that evidence, a `related` resting on a plausible mechanism alone should be `unsure`.

Scoped to signals lacking a `successful` partition, so normal baselined trunk signals are unaffected.

Pull Request resolved: pytorch#188313
Approved by: https://github.com/huydhn
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm-mi200 Trigger "default" config CI on ROCm MI200 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 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