-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Promote "Skipping frame" message to INFO log level #95968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyang@meta.com> [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/95968
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit dc2ab4f: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: d838473 Pull Request resolved: #95968
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol nice
@pytorchbot merge -r master |
@pytorchbot successfully started a rebase job. Check the current status here |
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
Successfully rebased |
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: cf7739c Pull Request resolved: #95968
Merge startedYour 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 |
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch/pytorch#95968 Approved by: https://github.com/albanD, https://github.com/janeyx99
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch/pytorch#95968 Approved by: https://github.com/albanD, https://github.com/janeyx99
Without this, when you skip frame because of a graph break, at INFO logging level all you see is: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Step 1: torchdynamo start tracing forward_pass ``` With this promotion, you now see: ``` [INFO] Step 1: torchdynamo start tracing run_n_iterations [INFO] Skipping frame because there is a graph break in a for/while loop [INFO] Step 1: torchdynamo start tracing forward_pass ``` This is MUCH more useful, while only adding a single log message per already existing INFO log message. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#95968 Approved by: https://github.com/albanD, https://github.com/janeyx99
Stack from ghstack (oldest at bottom):
Without this, when you skip frame because of a graph break, at INFO logging level all you see is:
With this promotion, you now see:
This is MUCH more useful, while only adding a single log message per
already existing INFO log message.
Signed-off-by: Edward Z. Yang ezyang@meta.com
cc @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire