Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DTensor] Replaced neg dim normalization with assert in helper (#114141)
This is a replacement for #113922. I think we can still leave the check for negative shard dimension in `compute_local_shape_and_global_offset` and replace the normalization logic with an assert. This should provide us a stack trace to see which user-facing API did not normalize the dim as expected. Pull Request resolved: #114141 Approved by: https://github.com/wanchaol ghstack dependencies: #113919, #113924, #114134, #113925, #113930
- Loading branch information