Skip to content

Commit ee7e29f

Browse files
authored
Propagate core_aten_exceptions to quantize_and_export_to_executorch and export_to_executorch.
Differential Revision: D76860649 Pull Request resolved: #11772
1 parent 5531caf commit ee7e29f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backends/cadence/aot/compiler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def quantize_and_export_to_edge(
278278
dump_graphs: bool = False,
279279
constant_methods: Optional[dict[str, object]] = None,
280280
calibration_data: Optional[list[tuple[object, ...]]] = None,
281+
core_aten_exceptions: Optional[list[torch._ops.OpOverload]] = None,
281282
) -> EdgeProgramManager:
282283
"""
283284
Trace, quantize and lower a model/inputs pair to edge IR.
@@ -294,6 +295,7 @@ def quantize_and_export_to_edge(
294295
quantized_model,
295296
dump_graphs=dump_graphs,
296297
constant_methods=constant_methods,
298+
core_aten_exceptions=core_aten_exceptions,
297299
)
298300

299301

0 commit comments

Comments
 (0)