Skip to content

Commit

Permalink
log recompile reason to dynamo_compile (#146117)
Browse files Browse the repository at this point in the history
Summary:
X-link: pytorch/pytorch#146117
Approved by: https://github.com/bobrenjc93

Reviewed By: atalman

Differential Revision: D69088149

fbshipit-source-id: 2ad883a38578dd351e5226a9cc18058c46a2fb79
  • Loading branch information
xmfan authored and facebook-github-bot committed Feb 4, 2025
1 parent 76d4920 commit 3f02dd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userbenchmark/dynamo/dynamobench/_dynamo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@ class CompilationMetrics:
tensorify_float_success: Optional[bool] = None
tensorify_float_failure: Optional[set[str]] = None
guard_latency_us: Optional[float] = None
recompile_reason: Optional[str] = None

@classmethod
def create(cls, metrics: dict[str, Any]):
Expand Down

0 comments on commit 3f02dd7

Please sign in to comment.