Yanbo Liang
b4d6443bcf
[Dynamo] Log innermost user frame filename & lineno for better error aggregation (#115899)
CompilationMetrics example:
```
frame_key='1',
co_name='fn',
co_filename='/data/users/ybliang/debug/debug1.py',
co_firstlineno=58,
cache_size=0,
accumulated_cache_size=0,
guard_count=None,
graph_op_count=None,
graph_node_count=None,
graph_input_count=None,
entire_frame_compile_time_s=None,
backend_compile_time_s=None,
fail_type="<class 'torch._dynamo.exc.Unsupported'>",
fail_reason='custome dict init with args/kwargs unimplemented',
fail_user_frame_filename='/data/users/ybliang/debug/debug1.py',
fail_user_frame_lineno=61
```
where:
* ```fail_type``` and ```fail_reason``` are exceptions inside of Dynamo.
* ```fail_user_frame_filename``` and ```fail_user_frame_lineno``` are where the original user code triggered the exception.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/115899
Approved by: https://github.com/davidberard98, https://github.com/ydwu4
2023-12-15 08:24:55 +00:00
..
2023-12-06 18:50:14 +00:00
2023-11-06 20:05:13 +00:00
2023-12-14 00:41:46 +00:00
2023-12-07 00:25:01 +00:00
2023-10-11 01:35:37 +00:00
2023-12-10 06:41:51 +00:00
2023-11-08 21:17:45 +00:00
2023-11-04 19:36:27 +00:00
2023-12-11 19:35:42 +00:00
2023-09-15 23:29:14 +00:00
2023-12-12 22:41:23 +00:00
2023-11-08 05:45:00 +00:00
2023-11-08 21:17:45 +00:00
2023-12-12 01:15:54 +00:00
2023-12-15 08:24:55 +00:00
2023-06-28 14:20:37 +00:00
2023-11-18 02:48:38 +00:00
2023-12-05 21:09:25 +00:00
2023-11-08 21:17:45 +00:00
2023-12-11 19:35:42 +00:00
2023-12-15 08:24:55 +00:00
2023-07-24 21:12:05 +00:00
2023-10-26 04:54:16 +00:00
2023-12-11 19:35:42 +00:00
2023-11-04 19:37:06 +00:00
2023-04-24 06:03:26 +00:00
2023-11-16 01:54:00 +00:00
2023-12-12 22:41:23 +00:00
2023-12-09 08:58:18 +00:00
2023-12-04 19:08:36 +00:00
2023-11-28 02:40:07 +00:00
2023-12-12 21:08:41 +00:00
2023-12-10 09:31:21 +00:00
2023-12-08 08:44:32 +00:00
2023-11-15 23:08:00 +00:00
2023-12-12 00:01:51 +00:00
2023-12-12 01:15:54 +00:00
2023-11-14 20:59:40 +00:00
2023-11-15 01:53:07 +00:00
2023-12-12 00:22:20 +00:00
2023-11-18 02:48:38 +00:00
2023-12-15 08:24:55 +00:00