KEMBAR78
Make pattern-matcher failure diagnostics lazy (again) and added an error message if format string is too long by Chillee · Pull Request #112923 · pytorch/pytorch · GitHub
Skip to content

Conversation

…ror message if format string is too long

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 3, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9eb601b with merge base 94f3df2 (image):
💚 Looks good so far! There are no failures yet. 💚

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

self.format_string = format_string
# We want to construct error messages lazily instead of eagerly, as
# constructing them eagerly can significantly worsen compile times.
if len(format_string) > 500:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

…added an error message if format string is too long"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler

[ghstack-poisoned]
@Chillee
Copy link
Collaborator Author

Chillee commented Nov 3, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 3, 2023
@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: This PR needs a release notes: label
If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Details for Dev Infra team Raised by workflow job

@Chillee
Copy link
Collaborator Author

Chillee commented Nov 4, 2023

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Nov 4, 2023
@Chillee
Copy link
Collaborator Author

Chillee commented Nov 4, 2023

@pytorchbot merge

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

xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
…ror message if format string is too long (pytorch#112923)

Pull Request resolved: pytorch#112923
Approved by: https://github.com/eellison
ghstack dependencies: pytorch#112476
@facebook-github-bot facebook-github-bot deleted the gh/chillee/240/head branch November 7, 2023 15:24
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
…ror message if format string is too long (pytorch#112923)

Pull Request resolved: pytorch#112923
Approved by: https://github.com/eellison
ghstack dependencies: pytorch#112476
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.

3 participants