We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0bf9aa commit 3124466Copy full SHA for 3124466
profiler/test/test_profiler_e2e.py
@@ -52,7 +52,9 @@ def setUpClass(cls) -> None:
52
# The serialized program file. This must live longer than cls.module,
53
# because the C++ pybindings will have a pointer to it. But none of the
54
# tests should need to touch it.
55
- cls.__buffer: bytes = to_edge(export(model, inputs)).to_executorch().buffer
+ cls.__buffer: bytes = (
56
+ to_edge(export(model, inputs, strict=True)).to_executorch().buffer
57
+ )
58
59
cls.module = _load_for_executorch_from_buffer(cls.__buffer)
60
0 commit comments