You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add NCCL GPU-to-GPU collective backend for multi-GPU CUDA DDP / FSDP #10
crates/oxideon-core/src/comm.rs provides ProcessGroup with TCP collectives (all_reduce, broadcast, all_gather, reduce_scatter), from_env(), async DDP gradient sync, and FullyShardedParam (FSDP).
For multi-GPU NVIDIA training, adding a dynamically loaded NCCL backend (libnccl.so.2 / nccl.dll, matching the zero-build-dependency dynamic loading approach used in cuda_driver.rs) will enable direct GPU-to-GPU NVLink / PCIe / RDMA collectives without bouncing gradients through host RAM.
Relevant Files
crates/oxideon-core/src/comm.rs
crates/oxideon-core/src/backend/cuda_driver.rs
Acceptance Criteria
Dynamically load ncclCommInitRank, ncclAllReduce, ncclBroadcast, ncclAllGather, ncclReduceScatter, and ncclCommDestroy.
Add a ProcessGroup::nccl(...) constructor and graceful fallback to TCP when NCCL is unavailable.
Add tests validating multi-stream / multi-GPU collective parity against the TCP backend.
Activity