[nccl symm mem] don't use arg for mempool, correctly use symmetric registration in hooks#161238
[nccl symm mem] don't use arg for mempool, correctly use symmetric registration in hooks#161238
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161238
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 4e06b19 with merge base 1de4540 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| memPool_ = std::make_unique<c10::cuda::MemPool>(allocator); | ||
| // Register so that we call ncclCommRegister on all new allocations | ||
| registerMemPool(memPool_.get()); | ||
| registerMemPool(memPool_.get(), false); |
There was a problem hiding this comment.
Falling into positional boolean trap. Would an enum make more sense?
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
0ccc6b9 to
951d38c
Compare
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
@pytorchbot rebase -b main |
|
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
|
Successfully rebased |
951d38c to
4e06b19
Compare
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…gistration in hooks (pytorch#161238) Per title Pull Request resolved: pytorch#161238 Approved by: https://github.com/kwen2501, https://github.com/syed-ahmed
Per title
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta