deepseek-ai/DeepEP
DeepEP: an efficient expert-parallel communication library
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
No releases in the last 90 days; the most recent was 416 days ago, with 50 contributors on GitHub.
Use Cases & Benefits
- Provides a high-throughput, low-latency communication library optimized for Mixture-of-Experts and expert parallelism on GPUs using CUDA.
- Delivers efficient all-to-all GPU kernels with support for NVLink and RDMA, enabling scalable expert parallelism with low communication overhead and SM resource control.
- Use for accelerating training and inference prefilling of large MoE models on multi-GPU clusters with NVLink and InfiniBand RDMA networks.
- Use for latency-sensitive inference decoding workloads requiring minimal communication delay via low-latency pure RDMA kernels and communication-computation overlap.
- Use for developing custom expert-parallel distributed systems that require fine-grained control over GPU communication buffers and adaptive routing on HPC networks.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
DeepEP is a communication library tailored for Mixture-of-Experts (MoE) and expert parallelism (EP). It provides high-throughput and low-latency all-to-all GPU kernels, which are also known as MoE dispatch and combine. The library also supports low-precision operations, including FP8.
To align with the group-limited gating algorithm proposed in the DeepSeek-V3 paper, DeepEP offers a set of kernels optimized for asymmetric-domain bandwidth forwarding, such as forwarding data from NVLink domain to RDMA domain. These kernels deliver high throughput, making them suitable for both training and inference prefilling tasks. Additionally, they support SM (Streaming Multiprocessors) number control.
For latency-sensitive inference decoding, DeepEP includes a set of low-latency kernels with pure RDMA to minimize delays. The library also introduces a hook-based communication-computation overlapping method that does not occupy any SM resource.
Notice: the implementation in this library may have some slight differences from the DeepSeek-V3 paper.
We test normal kernels on H800 (~160 GB/s NVLink maximum bandwidth), with each connected to a CX7 InfiniBand 400 Gb/s RDMA network card (~50 GB/s maximum bandwidth). And we follow the DeepSeek-V3/R1 pretraining setting (4096 tokens per batch, 7168 hidden, top-4 groups, top-8 experts, FP8 dispatching and BF16 combining).
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.5K+177
Open issues
324+20
Compared with peers in Cuda
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| deepseek-ai/DeepEP | 10.4K | — | 35 | 416 days ago |
| deepseek-ai/DeepGEMM | 9.2K | — | 46 | 106 days ago |
| flashinfer-ai/flashinfer | 6.8K | — | 60 | 1 day ago |
| MoonshotAI/FlashKDA | 1.3K | — | 8 | — |
| Peer median | 6.8K | — | 46 | — |
Also by deepseek-ai
Other repositories from this maintainer that GStars tracks
- Python104.7K stars
DeepSeek-V3
- C++13.3K stars
FlashMLA
FlashMLA: Efficient Multi-head Latent Attention Kernels
- Cuda9.2K stars
DeepGEMM
DeepGEMM: clean and efficient BLAS kernel library on GPU
- 6.3K stars
awesome-deepseek-agent
- Python4.8K stars
Engram
Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
Discover Repositories
Search across tracked repositories by name or description