Skip to content

Commit 4f00c5d

Browse files
c00wmeta-codesync[bot]
authored andcommitted
Start recording inductor provenance to dynamo compile logging
Summary: X-link: pytorch/pytorch#162669 This stores information on where fx graphs come from, which makes it significantly easier to debug. One outstanding question 1) I only stored the kernel stack traces, do we also want the node mappings? Reviewed By: yushangdi, masnesral Differential Revision: D82037582 fbshipit-source-id: 80eca28ae5db2f42d8d032f32e0eeb80510897e2
1 parent a8b852c commit 4f00c5d

File tree

1 file changed

+1
-0
lines changed
  • userbenchmark/dynamo/dynamobench/_dynamo

1 file changed

+1
-0
lines changed

userbenchmark/dynamo/dynamobench/_dynamo/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,7 @@ class CompilationMetrics:
13761376
recompile_user_contexts: Optional[set[str]] = None
13771377
inline_inbuilt_nn_modules_candidate: Optional[bool] = False
13781378
pytorch_version: Optional[str] = None
1379+
inductor_provenance: Optional[str] = None
13791380

13801381
@classmethod
13811382
def create(cls, metrics: dict[str, Any]) -> CompilationMetrics:

0 commit comments

Comments
 (0)