deepseek-ai/DeepEP
DeepEP: an efficient expert-parallel communication library
What it solves
DeepEP is a communication library that addresses the high-throughput and low-latency bottlenecks of expert-parallel machine learning workloads, such as routing tokens and exchanging weights in Mixture-of-Experts (MoE) models across GPUs.
How it works
It provides specialized GPU communication kernels compiled at runtime via DeepJIT. It unifies operations into an EPBuffer interface for dispatch and combine steps, supports experimental bucket collectives for pipeline and data parallelism, and utilizes NVLink and RDMA networks for data transfer.
Who it’s for
It is designed for machine learning engineers and researchers building, training, or serving large-scale Mixture-of-Experts models on NVIDIA or HUAWEI Ascend hardware.
Highlights
- JIT-compiled communication kernels via DeepJIT.
- Unified
EPBufferinterface for high-throughput and low-latency MoE dispatch and combine. - Support for FP8 dispatch and NVLink weight and gradient exchange for redundant experts.
- Experimental support for bucket collectives, pipeline parallelism, context parallelism, and Engram remote memory access.
Related
- Project
- Project
- Project
- Project
- Dispatch