Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Sep 26, 2024
1 parent 6b4787f commit dfe4ca4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/nn/models/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ def test_compile_graph_break(
**model_kwargs,
)
explanation = torch._dynamo.explain(model)(tf)
assert explanation.graph_break_count == expected_graph_breaks
graph_breaks = explanation.graph_break_count
assert graph_breaks == expected_graph_breaks

0 comments on commit dfe4ca4

Please sign in to comment.