Skip to content

Commit 0103b07

Browse files
ethansfngfacebook-github-bot
authored andcommitted
Replace HintBasedSymShapeEvalPass with ConstraintBasedSymShapeEvalPass
Summary: HintBasedSymShapeEvalPass will be deprecated soon Differential Revision: D84643270
1 parent 1a5eaec commit 0103b07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/cadence/aot/compiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
ExecutorchProgramManager,
3939
)
4040
from executorch.exir.passes import ToOutVarPass
41-
from executorch.exir.passes.sym_shape_eval_pass import HintBasedSymShapeEvalPass
41+
from executorch.exir.passes.sym_shape_eval_pass import ConstraintBasedSymShapeEvalPass
4242
from executorch.exir.program._program import to_edge
4343

4444
from torch.export.exported_program import ExportedProgram
@@ -460,7 +460,7 @@ def _lower_ep_to_cadence_gen_etrecord(
460460
emit_stacktrace=False,
461461
to_out_var_pass=ToOutVarPass(),
462462
extract_delegate_segments=False,
463-
sym_shape_eval_pass=HintBasedSymShapeEvalPass(),
463+
sym_shape_eval_pass=ConstraintBasedSymShapeEvalPass(),
464464
),
465465
)
466466

0 commit comments

Comments
 (0)