Skip to content

Commit

Permalink
executorch/build/packaging (#7386)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #7386

Reviewed By: avikchaudhuri, ydwu4

Differential Revision: D67381635
  • Loading branch information
gmagogsfm authored and facebook-github-bot committed Dec 19, 2024
1 parent c337bef commit 967a064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/packaging/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def export_linear_model() -> bytes:

# Export the pytorch model and process for ExecuTorch.
print("Exporting program...")
exported_program = export(LinearModel(), example_inputs)
exported_program = export(LinearModel(), example_inputs, strict=True)
print("Lowering to edge...")
edge_program = to_edge(exported_program)
print("Creating ExecuTorch program...")
Expand Down

0 comments on commit 967a064

Please sign in to comment.