-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPI example #270
MPI example #270
Conversation
I decided to drop MPI in the case of Windows for now. |
3059074
to
6784fe2
Compare
[Rebased on top of |
c01e029
to
f27bdf9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jwallwork23 I reviewed this a week ago, but just realised I had not submitted it so all my comments were marked as 'pending', apologies.
Generally looks good, but left a couple of points around best practices for you to consider.
f27bdf9
to
41de027
Compare
[Rebased on top of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing those suggestions @jwallwork23
Happy for this to be merged now.
Closes #257.
This PR creates a CPU-only example using MPI similarly to how we had the multi-GPU example set up before #268.
It's set up to run the net with different input on each MPI rank then gather the outputs to the root rank and check the outputs were correct. There's also a check that the number of MPI ranks is greater than 1 to help identify any config errors.