-
Notifications
You must be signed in to change notification settings - Fork 103
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
TL/MLX5: fix memtype in bcast reliability #1022
Conversation
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.
I understand it is a fix, but I am surprised we didn't catch that bug before. It seems that we are not testing mcast bcast cuda memory at all, is it correct? If so, can you please add a test?
@samnordmann you are correct, it was a shortcoming from my side. Reliablity protocol kicks when a packet is dropped and it does not happen in normal scenarios. |
Can you please add a test, covering both Host and CUDA memtype, checking that the reliability is not boggy? |
@samnordmann OK I will open a separate PR soon |
@MamziB no need for a separate PR, just push the commit here |
@janjust I have added the gtest before but it fails the github ucc tests for some unknown reasons. I rather open a new PR so that it does not affect this PR as I would like this PR to go in ASAP. I will open a PR today for that gtest changes. |
I don't think this PR will go in until the test is in, open the other PR, but then this PR will be predicated on the test going in. |
I opened #1023 for testing mcast |
great, thanks -now the hard part, figuring out why the other is failing |
@samnordmann @Sergei-Lebedev Here is the test |
Thank you, but shouldn't we also test the reliability protocol in case of dropped packets? The present PR fixes a bug that we cannot catch nor reproduce, so how can we ensure that it is effectively fixed? I don't want to block the PR if there are some time considerations though, so let me know what you guys think |
@samnordmann Sure, I will update the other PR to force the bcast to have dropped packets |
ff20b59
to
e1979b1
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.
Thanks!
@janjust can you please let me know if you have comments on this? |
@MamziB not specifically on this PR, but I'm still curious why the other PR, the test is not failing, I haven't investigated it yet. |
@janjust thanks Tommy. Since I am preparing a PR which is gonna be based on this PR, can we merge this PR so that we can proceed? |
Head branch was pushed to by a user without write access
3e87fd9
to
e81d9a8
Compare
e81d9a8
to
d53725a
Compare
@Sergei-Lebedev i rebased it |
TL/MLX5: fix memtype in bcast reliability