Add priliminary support for lifted graphs (#199)
Summary: This adds support to delegate graph exported with `enable_aot=True && _unlift=False`. This is going to be the canonical config. Main changes involve passing around ExportedProgram to look up parameters like weights instead of just doing get_attr on the graph_module. Support for unlifted graphs still exists, until we remove `_unlift` knob. Pull Request resolved: https://github.com/pytorch/executorch/pull/199 Reviewed By: mcr229 Differential Revision: D48710125 fbshipit-source-id: ce309ae11a2e0dab1cdf2e9d13af2ff1f8f6eb6b
D
Digant Desai committed
b388d3d8547c8c09dab6c027cc13406d354fc24f
Parent: 790a5cd
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 9/8/2023, 4:24:35 AM