Fix norm and add redistribute function to DistributedArray#184
Fix norm and add redistribute function to DistributedArray#184rohanbabbar04 wants to merge 9 commits intomainfrom
Conversation
Use ncp instead of np Add engine and fix recvbuf in sendrecv Add nccl sendrecv Return recvbuf in _sendrecv for nccl
f15bdc7 to
2058f30
Compare
|
While fixing norm, I think it would be better to have a The above was written as the norm calculated along an axis which is not the distributed axis would lead to issues, one fix which could remove it completely is to use |
|
@rohanbabbar04 thanks! I did check when I created the issue and apparently we never even tested the I had a quick look at the PR; before I review this in more details, please:
|
Minor fix, add docs for axis=None Minor fix
799998f to
6ce38c3
Compare
Quick fix
9c50784 to
95974e0
Compare
|
Thanks @mrava87 for the review. Here are the responses to your comments.
|
Fixes #177
axis=Noneas default.redistribute.