Update export examples to use the long term APIs (#641)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/641 Migrating callsites to the new api. Should be just plug and play. One difference is the new apis dont allow disabling the verfiers. This causes a problem is emformer_predict and emformer_transcribe because of the following: torch._export.verifier.SpecViolationError: Operator torch._ops.aten.split.Tensor is not Aten Canonical torch._export.verifier.SpecViolationError: Operator torch._ops.aten.unbind.int is not Aten Canonical Also added typing to a bunch of util functions so that its easier to reason about them. Reviewed By: guangy10 Differential Revision: D49972005 fbshipit-source-id: 215e1ca7ec932fbc5070a6ef837b0b34ba5edac7
J
Jacob Szwejbka committed
88a3b3bba26ddb6f9c7cff5d704ef605b1d2cff3
Parent: 5da4104
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/9/2023, 8:08:58 PM