You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #12630
Some operators require preservation because they are intended to be consumed by a backend. These operators can contain view and mutation, as they won't be part of the graph after to_backend.
If there are still view and mutation ops after to_backend, verification should throw an error.
This diff:
1. Removes verification check from _generated_edge_program, which is called by to_edge and to_edge_transform_and_lower.
2. to_edge: run verification for aten dialect (before to_edge) and edge dialect (after to_edge).
3. to_edge_transform_and_lower: only run the edge verification.
Reviewed By: metascroy
Differential Revision: D78535519
0 commit comments