Skip to content

Commit 4e5c688

Browse files
committed
Update
[ghstack-poisoned]
2 parents 23bd919 + 3f2c188 commit 4e5c688

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/xnnpack/aot_compiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
logging.info("Quantizing Model...")
9393
# TODO(T165162973): This pass shall eventually be folded into quantizer
9494
model = quantize(model, example_inputs)
95+
ep = torch.export.export_for_training(model, example_inputs)
9596

9697
edge = to_edge_transform_and_lower(
9798
ep,

0 commit comments

Comments
 (0)