Commit 2e1d282
committed
[pytorch/executorch][diff_train] [ez][release blocker fix] Insert
## Context
Addresses this [release
blocker](https://github.com/orgs/pytorch/projects/99/views/1?pane=issue&itemId=104088363&issue=pytorch%7Cpytorch%7C150207)
issue. Some models cannot export because they use `linalg_vector_norm`
which is not currently an ATen operator.
I initially tried adding the op to the core decomp table, but the decomp
is not passing pytorch correctness tests. Please see
pytorch/pytorch#150241 for more details.
## Changes
Since we currently cannot include the op in PyTorch's decomp table,
instead we can insert the op into the edge decomp table directly.
This PR is a simple change to add `linalg_vector_norm` directly to the
edge decomp table.
Internal:
<< DO NOT EDIT BELOW THIS LINE >>
**GitHub Author**: Sicheng Stephen Jia <[email protected]> (Meta Employee)
**GitHub Repo**: [pytorch/executorch](https://github.com/pytorch/executorch)
**GitHub Pull Request**: [#9938](#9938)
Initially generated by: https://www.internalfb.com/intern/sandcastle/job/4503601401156690/
This was imported as part of a Diff Train.
Please review this as soon as possible. Since it is a direct copy of a commit on
GitHub, there shouldn't be much to do.
diff-train-source-id: c2e3e17
Differential Revision: [D72729066](https://our.internmc.facebook.com/intern/diff/D72729066/)
[ghstack-poisoned]linalg_vector_norm into decomp table used for Edge export (#9938)1 parent 1facfa9 commit 2e1d282
2 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
| 733 | + | |
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
738 | | - | |
| 737 | + | |
| 738 | + | |
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
752 | | - | |
753 | | - | |
| 751 | + | |
754 | 752 | | |
755 | 753 | | |
756 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
634 | 644 | | |
635 | | - | |
| 645 | + | |
636 | 646 | | |
637 | 647 | | |
638 | 648 | | |
| |||
0 commit comments