Skip to content

Commit 3124466

Browse files
gmagogsfmfacebook-github-bot
authored andcommitted
executorch/profiler/test
Reviewed By: avikchaudhuri Differential Revision: D67384075
1 parent b0bf9aa commit 3124466

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

profiler/test/test_profiler_e2e.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ def setUpClass(cls) -> None:
5252
# The serialized program file. This must live longer than cls.module,
5353
# because the C++ pybindings will have a pointer to it. But none of the
5454
# tests should need to touch it.
55-
cls.__buffer: bytes = to_edge(export(model, inputs)).to_executorch().buffer
55+
cls.__buffer: bytes = (
56+
to_edge(export(model, inputs, strict=True)).to_executorch().buffer
57+
)
5658

5759
cls.module = _load_for_executorch_from_buffer(cls.__buffer)
5860

0 commit comments

Comments
 (0)