Commit 987b3dc
Imporve-graph-break-skip-logs (#167067)
Summary:
Fixes #150477
### Summary:
- Added frame information (function name, file, line number) to all graph break/skip messages
- Standardized message format: "torch.compile will skip tracing the frame <name> (<file> line <N>) and fall back to eager. Reason: <reason>"
### Impacts:
module: dynamo
X-link: pytorch/pytorch#167067
Approved by: https://github.com/williamwen42
Reviewed By: jeanschmidt
Differential Revision: D87036500
fbshipit-source-id: 62281bad4609b8ea3557f7139695678bed0679cb1 parent 0c70462 commit 987b3dc
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | | - | |
| 2251 | + | |
2252 | 2252 | | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
2256 | | - | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
2257 | 2260 | | |
2258 | 2261 | | |
2259 | 2262 | | |
| |||
0 commit comments