Skip to content

Commit

Permalink
[xnnpack] Reexport after quantize in aot_compiler (#7714)
Browse files Browse the repository at this point in the history
  • Loading branch information
digantdesai authored Jan 17, 2025
1 parent 1b7b10e commit 2f0518d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/xnnpack/aot_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
logging.info("Quantizing Model...")
# TODO(T165162973): This pass shall eventually be folded into quantizer
model = quantize(model, example_inputs)
ep = torch.export.export_for_training(model, example_inputs)

edge = to_edge_transform_and_lower(
ep,
Expand Down

0 comments on commit 2f0518d

Please sign in to comment.