Repository navigation
Commit 62ef2af
authored
Prevent
### Summary
After a recent change, the `edge_transform_passes` were also run by the
`EdgeProgramManagerTransformStage` as well as the
`EdgeTransformAndLowerStage`, resulting in a double application. This PR
removes them from the `EdgeProgramManagerTransformStage`.
### Test plan
`pytest export/tests/test_export_session.py`edge_transform_passes from running twice during recipe-based lowering (pytorch#23005)1 parent 888c94f commit 62ef2af
3 files changed
Lines changed: 30 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | 737 | | |
746 | 738 | | |
747 | 739 | | |
| |||
759 | 751 | | |
760 | 752 | | |
761 | 753 | | |
762 | | - | |
763 | 754 | | |
764 | 755 | | |
765 | 756 | | |
| |||
770 | 761 | | |
771 | 762 | | |
772 | 763 | | |
773 | | - | |
774 | 764 | | |
775 | 765 | | |
776 | 766 | | |
| |||
803 | 793 | | |
804 | 794 | | |
805 | 795 | | |
806 | | - | |
| 796 | + | |
807 | 797 | | |
808 | 798 | | |
809 | 799 | | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | 800 | | |
836 | 801 | | |
837 | 802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
760 | 784 | | |
761 | 785 | | |
762 | 786 | | |
| |||
0 commit comments