Skip to content

Commit c271568

Browse files
BoyuanFengfacebook-github-bot
authored andcommitted
add log for skip reasons
Summary: X-link: pytorch/pytorch#148797 Add skip reasons to dynamo_compile so we can know popular skip reasons for cudagraph Reviewed By: masnesral Differential Revision: D70820791 fbshipit-source-id: 296583e847c50af716ed747dc9a82adf1bc1ac19
1 parent 737798b commit c271568

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
@@ -1231,6 +1231,7 @@ class CompilationMetrics:
12311231
num_graph_breaks: Optional[int] = None
12321232
triton_kernel_compile_times_us: Optional[str] = None
12331233
ir_count: Optional[int] = None
1234+
cudagraph_skip_reason: Optional[str] = None
12341235

12351236
@classmethod
12361237
def create(cls, metrics: dict[str, Any]):

0 commit comments

Comments
 (0)