Commit b465a58
DTensor: add more foreach ops to supported sharding prop list (#132066)
fixes #132016.
Right now if you run an op that DTensor has no sharding prop rule, **and** that op accepts non-trivial pytrees of inputs tensors as arguments, DTensor can end up infinite looping before it has the chance to error due to not having a sharding prop rule.
This PR doesn't fix the problem, but adds rules for the culprit ops (missing foreach ops)
Pull Request resolved: #132066
Approved by: https://github.com/wanchaol1 parent c3ee07c commit b465a58
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
548 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
549 | 555 | | |
550 | 556 | | |
551 | 557 | | |
| 558 | + | |
| 559 | + | |
552 | 560 | | |
553 | 561 | | |
554 | 562 | | |
| |||
0 commit comments