Skip to content

Commit ce1e813

Browse files
gmagogsfmfacebook-github-bot
authored andcommitted
executorch/build/packaging (pytorch#7386)
Summary: Pull Request resolved: pytorch#7386 Reviewed By: avikchaudhuri, ydwu4 Differential Revision: D67381635
1 parent c337bef commit ce1e813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/packaging/smoke_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def export_linear_model() -> bytes:
6565

6666
# Export the pytorch model and process for ExecuTorch.
6767
print("Exporting program...")
68-
exported_program = export(LinearModel(), example_inputs)
68+
exported_program = export(LinearModel(), example_inputs, strict=True)
6969
print("Lowering to edge...")
7070
edge_program = to_edge(exported_program)
7171
print("Creating ExecuTorch program...")

0 commit comments

Comments
 (0)