This PR adds a custom pluggable allocator that conditionally utilizes ncclMemAlloc and ncclMemFree for memory allocations. The buffers allocated through ncclMemAlloc can later be registered in NCCL Process Group for a subsequent utilization in Zero-Copy collective communications.
This PR adds a custom pluggable allocator that conditionally utilizes
ncclMemAlloc
andncclMemFree
for memory allocations. The buffers allocated throughncclMemAlloc
can later be registered in NCCL Process Group for a subsequent utilization in Zero-Copy collective communications.cc @crcrpar @eqy