Skip to content

Update third_party/kineto submodule to 0c8ede0 - #179579

Closed
scotts wants to merge 1 commit into
pytorch:mainfrom
scotts:release_2026_04_07_0c8ede0
Closed

scotts wants to merge 1 commit into
pytorch:mainfrom
scotts:release_2026_04_07_0c8ede0

Conversation

@scotts

@scotts scotts commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Includes the following commits:

Authored with Claude.

@pytorch-bot

pytorch-bot Bot commented Apr 7, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 4 New Failures, 23 Pending, 1 Unrelated Failure

As of commit 0994baf with merge base 486f952 (image):

NEW FAILURES - The following jobs have failed:

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 the topic: not user facing topic category label Apr 7, 2026
@scotts scotts added the ciflow/rocm-mi355 Trigger "default" config CI on ROCm MI355 runners label Apr 7, 2026
@scotts

scotts commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

@pytorchbot rebase

1 similar comment
@scotts

scotts commented Apr 8, 2026

Copy link
Copy Markdown
Contributor 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

Successfully rebased release_2026_04_07_0c8ede0 onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout release_2026_04_07_0c8ede0 && git pull --rebase)

@pytorchmergebot
pytorchmergebot force-pushed the release_2026_04_07_0c8ede0 branch from 3920064 to 645a49f Compare April 8, 2026 15:02
@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

Tried to rebase and push PR #179579, but it was already up to date. Try rebasing against main by issuing:
@pytorchbot rebase -b main

@scotts
scotts marked this pull request as ready for review April 9, 2026 13:33
@scotts

scotts commented Apr 9, 2026 •

Copy link
Copy Markdown
Contributor Author

We're confident that this PR is not causing new failures but rather revealing existing failures.

The only Kineto commit in this version bump is pytorch/kineto#1329. That PR removes code that would insert its own exit handler when using AMD's rocprofiler and always issue _exit(0). This was a hack to get around a segfault on exit in AMD's rocprofiler library. We removed it because it was masking real failures elsewhere. On PyTorch CI, it was likely doing the same. That is, the clean _exit(0) was causing some tests to erroneously pass.

We need to land this change, and let the failing tests get correctly classified as failing, so they can get triaged and fixed.

@scotts

scotts commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -i

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 9, 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-mi355 / test (distributed, 1, 3, linux.rocm.gpu.gfx950.2)

Details for Dev Infra team Raised by workflow job

@scotts

scotts commented Apr 9, 2026

Copy link
Copy Markdown
Contributor 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

Includes the following commits:

- remove the rocprofiler early exit hack (pytorch/kineto#1329) 0c8ede0

Authored with Claude.
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased release_2026_04_07_0c8ede0 onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout release_2026_04_07_0c8ede0 && git pull --rebase)

@scotts

scotts commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 0 checks:

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: trunk / linux-jammy-rocm-py3.10-mi355 / test (distributed, 1, 3, linux.rocm.gpu.gfx950.2)

Details for Dev Infra team Raised by workflow job

@scotts

scotts commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "This PR is not causing test failures, but revealing them. We need it to land because the code it is removing is masking real failures in CI. Please see the actual PR for more."

@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

ethanwee1 added a commit to ROCm/TheRock that referenced this pull request Apr 28, 2026
Removes the `has_junit_failures()` helper, its call site in `main()`,
and the now-unused `xml.etree.ElementTree` import from
`external-builds/pytorch/run_pytorch_tests_full.py`.

Testing: https://github.com/ROCm/TheRock/actions/runs/25009689609

### Background

`has_junit_failures()` was originally added as a safety net after the
kineto submodule bump (pytorch/pytorch#179579) caused our nightly
PyTorch UT runs to show green signals while real test failures were
occurring. After that bump, profiler/inductor failures were recorded
correctly in the JUnit XML reports under `test/test-reports/`, but
PyTorch's `run_test.py` (invoked with `--keep-going`) was returning exit
code 0, so our workflow had no way to know they had happened. The helper
scanned every JUnit XML and overrode `return_code` to 1 whenever any
`<testsuite>` reported `failures > 0` or `errors > 0`, restoring an
accurate red/green signal.

### Why remove it now

PyTorch's `run_test.py` already retries failing tests by re-running the
failing test files in a fresh subprocess; tests that fail during the
normal in-process test-file execution but then pass on that retry are
still counted as `failures when we should not be considering them as
such, making it currently too strict. Removing the override and going
back to trusting `run_test.py`'s exit code.
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
Includes the following commits:

- remove the rocprofiler early exit hack (pytorch/kineto#1329) 0c8ede0

Authored with Claude.
Pull Request resolved: pytorch#179579
Approved by: https://github.com/ryanzhang22
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
Includes the following commits:

- remove the rocprofiler early exit hack (pytorch/kineto#1329) 0c8ede0

Authored with Claude.
Pull Request resolved: pytorch#179579
Approved by: https://github.com/ryanzhang22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm-mi355 Trigger "default" config CI on ROCm MI355 runners ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants