Skip to content

[c10d] Fix test test_nccl_user_buffer_registration#160497

Closed
fduwjj wants to merge 1 commit intogh/fduwjj/181/basefrom
gh/fduwjj/181/head
Closed

[c10d] Fix test test_nccl_user_buffer_registration#160497
fduwjj wants to merge 1 commit intogh/fduwjj/181/basefrom
gh/fduwjj/181/head

Conversation

@fduwjj
Copy link
Contributor

@fduwjj fduwjj commented Aug 13, 2025

Stack from ghstack (oldest at bottom):

Fixed test_nccl_user_buffer_registration due to #160145, somehow CI didn't capture it.

cc @H-Huang @awgu @wanchaol @fegin @wz337 @wconstab @d4l3k @pragupta

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160497

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit f32d02b with merge base 2d0cdee (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added oncall: distributed Add this issue/PR to distributed oncall triage queue topic: not user facing topic category labels Aug 13, 2025
fduwjj added a commit that referenced this pull request Aug 13, 2025
ghstack-source-id: 338beb3
Pull Request resolved: #160497
@fduwjj fduwjj requested review from kwen2501 and ngimel August 13, 2025 03:52
@fduwjj fduwjj added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 13, 2025
@requires_multicast_support()
def test_nccl_user_buffer_registration(self):
store = c10d.FileStore(self.file_name, self.world_size)
device = torch.device(f"cuda:{self.rank}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not for this PR, but it's better for tests to not have side-effects, so device should be a context manager

@fduwjj
Copy link
Contributor Author

fduwjj commented Aug 13, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

chuanhaozhuge pushed a commit that referenced this pull request Aug 14, 2025
Fixed `test_nccl_user_buffer_registration ` due to #160145, somehow CI didn't capture it.

Pull Request resolved: #160497
Approved by: https://github.com/ngimel
chuanhaozhuge pushed a commit that referenced this pull request Aug 18, 2025
Fixed `test_nccl_user_buffer_registration ` due to #160145, somehow CI didn't capture it.

Pull Request resolved: #160497
Approved by: https://github.com/ngimel
can-gaa-hou pushed a commit to can-gaa-hou/pytorch that referenced this pull request Aug 22, 2025
Fixed `test_nccl_user_buffer_registration ` due to pytorch#160145, somehow CI didn't capture it.

Pull Request resolved: pytorch#160497
Approved by: https://github.com/ngimel
@github-actions github-actions bot deleted the gh/fduwjj/181/head branch September 13, 2025 02:05
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
Fixed `test_nccl_user_buffer_registration ` due to pytorch#160145, somehow CI didn't capture it.

Pull Request resolved: pytorch#160497
Approved by: https://github.com/ngimel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants