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 c222a44 commit 06ce226Copy full SHA for 06ce226
examples/arm/aot_arm_compiler.py
@@ -288,7 +288,7 @@ def get_args():
288
model = model.eval()
289
290
# pre-autograd export. eventually this will become torch.export
291
- model = torch._export.capture_pre_autograd_graph(model, example_inputs)
+ model = torch.export.export_for_training(model, example_inputs).module()
292
293
# Quantize if required
294
if args.quantize:
0 commit comments