diff --git a/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp b/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp index 98a272468a84d..5c728e0ee0658 100644 --- a/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp +++ b/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp @@ -251,12 +251,6 @@ void map_block( 0, reinterpret_cast(handle), 0ULL)); - C10_CUDA_CHECK(hipMemMap( - *ptr, - size, - 0, - reinterpret_cast(handle), - 0ULL)); hipMemAccessDesc desc; desc.location.type = hipMemLocationTypeDevice;