pytorch
8fd866c6 - Add frame summary to for/while loop backedge log message (#100045)

Commit
1 year ago
Add frame summary to for/while loop backedge log message (#100045) This PR adds the frame summary to the log message, e.g.: ``` [2023-04-26 00:11:21,035] torch._dynamo.symbolic_convert: [INFO] Skipping frame because there is a graph break in a for/while loop <FrameSummary file /fsx/users/andgu/work/transformers/src/transformers/models/t5/modeling_t5.py, line 1086 in <resume in forward>> ``` Note that the line cited by the frame summary may not be the for/loop itself but rather a line inside the for/while loop. Pull Request resolved: https://github.com/pytorch/pytorch/pull/100045 Approved by: https://github.com/anijain2305
Author
Committer
Parents
Loading