We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56b0074 commit a506e18Copy full SHA for a506e18
backends/cadence/aot/compiler.py
@@ -59,7 +59,7 @@ def trace(
59
dump_graphs: bool = False,
60
) -> ExportedProgram:
61
"""
62
- Trace the model with export_for_training and return an ExportedProgram.
+ Trace the model with export and return an ExportedProgram.
63
64
65
# Make the model inference mode by calling model.eval()
@@ -83,7 +83,7 @@ def trace(
83
remove_decompositions(decomp_table, ops_to_keep)
84
85
# Export with dynamo
86
- program = torch.export.export_for_training(
+ program = torch.export.export(
87
model, inputs, strict=True
88
).run_decompositions(decomp_table)
89
0 commit comments