Fix lift_constant_tensor_pass to make sure constants are not inserted in the state dict (#2558)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/2558 Currently in `lift_tensor_constant_pass` the lifted constants are being placed in the state dict which is the wrong place for them. They should be inserted in the `constants` section of the `ExportedProgram` which this diff addresses. Reviewed By: angelayi Differential Revision: D55175415 fbshipit-source-id: afe7f4df94f89de6d0c43dab824c498567a6b21f
T
Tarun Karuturi committed
a624345ca4ff800b322f859fb4200c014d32199a
Parent: 57e3449
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 3/29/2024, 2:44:35 AM