Fixes typo in nccl_window_registration test (#157293)

As mentioned here: https://github.com/pytorch/pytorch/pull/155134#discussion_r2175605192

Pull Request resolved: https://github.com/pytorch/pytorch/pull/157293
Approved by: https://github.com/Skylion007
This commit is contained in:
Syed Tousif Ahmed 2025-07-09 11:01:13 +00:00 committed by PyTorch MergeBot
parent 924fc52e18
commit f5bbaa2253

View File

@ -3182,7 +3182,7 @@ class NcclRegistrationTest(MultiProcessTestCase):
# Use NCCL memory allocator
# enable symmetric memory usage in NCCL
pool = torch.cuda.MemPool(backend.mem_allocator, symm_mem=True)
pool = torch.cuda.MemPool(backend.mem_allocator, symmetric=True)
# allocate memory with ncclMemAlloc
# note: symmetric kernels are not available for dtypes like torch.int64