Skip to content

Replace msg by args in raise_observed_exception - #169343

Closed
guilhermeleobas wants to merge 5 commits into
gh/guilhermeleobas/265/basefrom
gh/guilhermeleobas/265/head
Closed

guilhermeleobas wants to merge 5 commits into
gh/guilhermeleobas/265/basefrom
gh/guilhermeleobas/265/head

Conversation

@guilhermeleobas

@guilhermeleobas guilhermeleobas commented Dec 2, 2025 •

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

PR removes the msg argument in raise_observed_exception and replace all users of it by the existing args one

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @chauhang @amjames @Lucaskabela @jataylo

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Dec 2, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (9 Unrelated Failures)

As of commit ccb24ee with merge base 5c3874b (image):

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

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.

guilhermeleobas added a commit that referenced this pull request Dec 2, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one


ghstack-source-id: 6e5cf29
Pull-Request: #169343
@guilhermeleobas
guilhermeleobas marked this pull request as ready for review December 3, 2025 01:39

@Lucaskabela Lucaskabela 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.

Thanks for helping to simplify the logic in the raise_observed_exception fn - some minor linter errors need fixing but lgtm

@guilhermeleobas

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 4, 2025
@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

@huydhn

huydhn commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

@pytorchbot revert -m 'It looks like there is a land race here failing lint' -c weird

GH job link HUD commit link

Let's rebase and reland this

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@guilhermeleobas your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull request Dec 4, 2025
This reverts commit bc39b2b.

Reverted #169343 on behalf of https://github.com/huydhn due to It looks like there is a land race here failing lint ([comment](#169343 (comment)))
@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Dec 4, 2025
@guilhermeleobas

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

[ghstack-poisoned]
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased gh/guilhermeleobas/265/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/169343)

pytorchmergebot pushed a commit that referenced this pull request Dec 4, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one


ghstack-source-id: 5aca87e
Pull-Request: #169343
[ghstack-poisoned]
guilhermeleobas added a commit that referenced this pull request Dec 4, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

ghstack-source-id: 86d0696
Pull-Request: #169343
[ghstack-poisoned]
guilhermeleobas added a commit that referenced this pull request Dec 4, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

ghstack-source-id: a312add
Pull-Request: #169343
[ghstack-poisoned]
guilhermeleobas added a commit that referenced this pull request Dec 4, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

ghstack-source-id: c0dd840
Pull-Request: #169343
@guilhermeleobas

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

umechand-amd pushed a commit to ROCm/pytorch that referenced this pull request Dec 8, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

Pull Request resolved: pytorch#169343
Approved by: https://github.com/Lucaskabela
JacobSzwejbka pushed a commit that referenced this pull request Dec 8, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

Pull Request resolved: #169343
Approved by: https://github.com/Lucaskabela
JacobSzwejbka pushed a commit that referenced this pull request Dec 8, 2025
This reverts commit bc39b2b.

Reverted #169343 on behalf of https://github.com/huydhn due to It looks like there is a land race here failing lint ([comment](#169343 (comment)))
JacobSzwejbka pushed a commit that referenced this pull request Dec 8, 2025
PR removes the `msg` argument in `raise_observed_exception` and replace all users of it by the existing `args` one

Pull Request resolved: #169343
Approved by: https://github.com/Lucaskabela
@github-actions
github-actions Bot deleted the gh/guilhermeleobas/265/head branch January 5, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants