fix nccl comm double free bug (#23344)
As nccl comm is not created by CUDADeviceContext, it should be destroyed by the creator as the best practice of RAII.
Showing
想要评论请 注册 或 登录
As nccl comm is not created by CUDADeviceContext, it should be destroyed by the creator as the best practice of RAII.