Skip to content

Commit 03050f3

Browse files
gmagogsfmfacebook-github-bot
authored andcommitted
executorch/extension/training/pybindings/test (#7390)
Summary: Pull Request resolved: #7390 Reviewed By: avikchaudhuri, ydwu4 Differential Revision: D67383993
1 parent c337bef commit 03050f3

File tree

1 file changed

+1
-1
lines changed
  • extension/training/pybindings/test

1 file changed

+1
-1
lines changed

extension/training/pybindings/test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_random_inputs(self):
3333

3434
def test(self):
3535
m = self.ModuleSimpleTrain()
36-
ep = torch.export.export(m, m.get_random_inputs())
36+
ep = torch.export.export(m, m.get_random_inputs(), strict=True)
3737
ep = _export_forward_backward(ep)
3838
ep = to_edge(ep)
3939
ep = ep.to_executorch()

0 commit comments

Comments
 (0)