Commit 438f12d
Rewrite some decomps to allow producing aten ops (#93099)
This introduces a new stop to the decomposition train.
Before reaching prims.view_of, it will stop at aten.alias. Export path wants to get off the train at aten ops.
Pull Request resolved: #93099
Approved by: https://github.com/ngimel1 parent 332d55d commit 438f12d
File tree
3 files changed
+7
-6
lines changed- test/expect
- torch
- _prims_common
- _refs
3 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
563 | 562 | | |
564 | 563 | | |
565 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
| 3908 | + | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
3908 | 3913 | | |
3909 | 3914 | | |
3910 | 3915 | | |
3911 | 3916 | | |
3912 | 3917 | | |
3913 | | - | |
| 3918 | + | |
3914 | 3919 | | |
3915 | 3920 | | |
3916 | 3921 | | |
| |||
0 commit comments