Skip to content

Commit 1801dac

Browse files
mcremon-metafacebook-github-bot
authored andcommitted
Remove strictness in export calls (#10552)
Summary: The new PT default has been to do non-strict export for a little while now. We have explicit strict because the PT compiler team preserved the current behavior at the time, but we should be able to remove it and match the default. It might also make more models go through. Differential Revision: D73859317
1 parent 97047c0 commit 1801dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/cadence/aot/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def trace(
8888

8989
# Export with dynamo
9090
program = torch.export.export_for_training(
91-
model, inputs, strict=True
91+
model, inputs
9292
).run_decompositions(decomp_table)
9393

9494
if dump_graphs:

0 commit comments

Comments
 (0)