Commit 3d777ba
Inductor respects exact strides on custom ops by default (pytorch#150511)
If a tag is not specified on a custom operator, then inductor will
assume that it needs exact strides.
Test Plan:
- tests + CI
Pull Request resolved: pytorch#150511
Approved by: https://github.com/eellison, https://github.com/shunting314
ghstack dependencies: pytorch#1481041 parent 2b37a72 commit 3d777ba
File tree
4 files changed
+4
-5
lines changed- test
- inductor
- torch
- _functorch
- _library
4 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3451 | 3451 | | |
3452 | 3452 | | |
3453 | 3453 | | |
3454 | | - | |
3455 | 3454 | | |
3456 | 3455 | | |
3457 | 3456 | | |
| |||
3465 | 3464 | | |
3466 | 3465 | | |
3467 | 3466 | | |
3468 | | - | |
3469 | 3467 | | |
3470 | 3468 | | |
3471 | 3469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3838 | 3838 | | |
3839 | 3839 | | |
3840 | 3840 | | |
| 3841 | + | |
3841 | 3842 | | |
3842 | 3843 | | |
3843 | 3844 | | |
3844 | 3845 | | |
3845 | 3846 | | |
3846 | 3847 | | |
3847 | 3848 | | |
3848 | | - | |
| 3849 | + | |
3849 | 3850 | | |
3850 | 3851 | | |
3851 | 3852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
0 commit comments