Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion profiler/test/test_profiler_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def setUpClass(cls) -> None:
# The serialized program file. This must live longer than cls.module,
# because the C++ pybindings will have a pointer to it. But none of the
# tests should need to touch it.
cls.__buffer: bytes = to_edge(export(model, inputs)).to_executorch().buffer
cls.__buffer: bytes = (
to_edge(export(model, inputs, strict=True)).to_executorch().buffer
)

cls.module = _load_for_executorch_from_buffer(cls.__buffer)

Expand Down
Loading