Commit 9bd0830
[dynamic shapes] guard_or_false for cat, repeat (pytorch#155290)
Summary:
assumes:
- specified repeats are non-negative
- 1d cat arguments like [u0] aren't non-zero sized (replaces existing size-oblivious)
Test Plan:
test_export
Rollback Plan:
Differential Revision: D76092011
Pull Request resolved: pytorch#155290
Approved by: https://github.com/laithsakka1 parent 4609699 commit 9bd0830
File tree
3 files changed
+20
-2
lines changed- test/dynamo
- torch
- _refs
3 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
582 | 592 | | |
583 | 593 | | |
584 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4078 | 4078 | | |
4079 | 4079 | | |
4080 | 4080 | | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
4081 | 4086 | | |
4082 | 4087 | | |
4083 | 4088 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
2772 | | - | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
2773 | 2776 | | |
2774 | 2777 | | |
2775 | 2778 | | |
| |||
2830 | 2833 | | |
2831 | 2834 | | |
2832 | 2835 | | |
2833 | | - | |
| 2836 | + | |
2834 | 2837 | | |
2835 | 2838 | | |
2836 | 2839 | | |
| |||
0 commit comments