KEMBAR78
[caffe2] Make all get_backtrace() implementations lazy by ot · Pull Request #125750 · pytorch/pytorch · GitHub
Skip to content

Conversation

@ot
Copy link
Contributor

@ot ot commented May 8, 2024

Summary: #125682 (D56586844) added support for lazy symbolization to Error and adopted it for internal use cases; this commit adopts it for get_backtrace() as well.

Test Plan: Sandcastle and GH CI.

Differential Revision: D56881683

@pytorch-bot
Copy link

pytorch-bot bot commented May 8, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (26 Unrelated Failures)

As of commit c8f7d65 with merge base 320af5e (image):

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

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56881683

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56881683

Summary:

pytorch#125682 (D56586844) added support for lazy symbolization to `Error` and adopted it for internal use cases; this commit adopts it for `get_backtrace()` as well.

Test Plan: Sandcastle and GH CI.

Differential Revision: D56881683
@ot ot force-pushed the export-D56881683 branch from 79fbe6d to c8f7d65 Compare May 8, 2024 10:46
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56881683

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 10, 2024
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
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

@facebook-github-bot
Copy link
Contributor

@pytorchbot revert -m="Diff reverted internally" -c="ghfirst"

This Pull Request has been reverted by a revert inside Meta. To re-land this change, please open another pull request, assign the same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).)

@pytorchmergebot
Copy link
Collaborator

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

pytorchmergebot added a commit that referenced this pull request May 10, 2024
…)"

This reverts commit cc4da72.

Reverted #125750 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally ([comment](#125750 (comment)))
@pytorchmergebot
Copy link
Collaborator

@ot your PR has been successfully reverted.

pytorchmergebot pushed a commit that referenced this pull request May 13, 2024
…6064)

Summary:

#125682 (D56586844) added support for lazy symbolization to `Error` and adopted it for internal use cases; this commit adopts it for `get_backtrace()` as well.

Test Plan:
Sandcastle and GH CI.

NOTE: This is a resubmit of D56881683, a spurious copypasted line in the Android implementation broke the build, but this was not surfaced by diff tests.

Reproed the breakage with
```
$ fbpython scripts/build_android_app/build_android_app.py --buck-config-files='@//fbandroid/mode/have_libgflags @//fbandroid/mode/static_linking @//xplat/langtech/mobile/android_opt_buck_config_with_et_boltnn' --build-target='fbsource//xplat/langtech/mobile:transcribe_binAndroid-android-arm64'
```
Verified that the fixed diff builds successfully.

Differential Revision: D57275456

Pull Request resolved: #126064
Approved by: https://github.com/ezyang
tinglvv pushed a commit to tinglvv/pytorch that referenced this pull request May 14, 2024
tinglvv pushed a commit to tinglvv/pytorch that referenced this pull request May 14, 2024
… (pytorch#126064)

Summary:

pytorch#125682 (D56586844) added support for lazy symbolization to `Error` and adopted it for internal use cases; this commit adopts it for `get_backtrace()` as well.

Test Plan:
Sandcastle and GH CI.

NOTE: This is a resubmit of D56881683, a spurious copypasted line in the Android implementation broke the build, but this was not surfaced by diff tests.

Reproed the breakage with
```
$ fbpython scripts/build_android_app/build_android_app.py --buck-config-files='@//fbandroid/mode/have_libgflags @//fbandroid/mode/static_linking @//xplat/langtech/mobile/android_opt_buck_config_with_et_boltnn' --build-target='fbsource//xplat/langtech/mobile:transcribe_binAndroid-android-arm64'
```
Verified that the fixed diff builds successfully.

Differential Revision: D57275456

Pull Request resolved: pytorch#126064
Approved by: https://github.com/ezyang
@ppwwyyxx
Copy link
Collaborator

Any updates on this?

@ot
Copy link
Contributor Author

ot commented Jun 25, 2024

This was re-submitted and merged as #126064, I'll close this one.

@ot ot closed this Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged Reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants