pytorch
893aa5df - Promote "Skipping frame" message to INFO log level (#95968)

Commit
1 year ago
Promote "Skipping frame" message to INFO log level (#95968) 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: https://github.com/pytorch/pytorch/pull/95968 Approved by: https://github.com/albanD, https://github.com/janeyx99
Author
Committer
Parents
Loading