SIGN IN SIGN UP

More robust DCE pass (#4565)

Summary:
X-link: https://github.com/pytorch/pytorch/pull/132764

Pull Request resolved: https://github.com/pytorch/executorch/pull/4565

- make default DCE pass check schema,

- mark Proxy dump as NotImplemented for better error msg

- Remove Proxy from tensors when dumping models, as Proxy cannot be dumped.

More details in https://docs.google.com/document/d/1G5vmTXjzxoyVGRI2kpA1gQukK_Glyg2NrE0Oh6Nlg9A/edit?usp=sharing.

Reviewed By: angelayi

Differential Revision: D60319175

fbshipit-source-id: d9815ca07e1caaa49bb6a82836765030a67a4270
S
Shangdi Yu committed
9d9cda09d05af12bba94cc7be631747c8ae22b9d
Parent: 20cb298
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/6/2024, 10:20:55 PM