You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#sdy. Add two special factor types (reduction, and need_replication) in OpShardingRule.
The sharding rule with the special factor types looks like
```
{sdy.sharding_rule = #sdy.op_sharding_rule<([i, j, k, l])->([i, k, l]) {i=2, j=3, k=5, l=7} reduction={j} need_replication={i, l}, custom>}
```
The indices of special factors are sorted, unique and cannot overlap. The index should be vaild `0 <= i < num_factors`.
PiperOrigin-RevId: 707234719
0 commit comments