We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef10f34 commit 245e158Copy full SHA for 245e158
test/integration/test_integration.py
@@ -2029,7 +2029,9 @@ def forward(self, x):
2029
# we can re-enable this after non-functional IR is enabled in export
2030
# model = torch.export.export(model, example_inputs).module()
2031
if TORCH_VERSION_AT_LEAST_2_5:
2032
- model = torch.export.export_for_training(model, example_inputs).module()
+ model = torch.export.export_for_training(
2033
+ model, example_inputs, strict=True
2034
+ ).module()
2035
else:
2036
model = torch._export.capture_pre_autograd_graph(model, example_inputs)
2037
after_export = model(x)
0 commit comments