deepseek-ai

    deepseek-ai/DeepEP

    DeepEP: an efficient expert-parallel communication library

    Cuda
    MIT
    10.4K stars
    1.5K forks
    109 GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    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).

    Excerpt from the deepseek-ai/DeepEP README on GitHub (MIT license). © its authors.Read the full README on GitHub

    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

    deepseek-ai/DeepEP compared with Cuda repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    deepseek-ai/DeepEP10.4K—35416 days ago
    deepseek-ai/DeepGEMM9.2K—46106 days ago
    flashinfer-ai/flashinfer6.8K—601 day ago
    MoonshotAI/FlashKDA1.3K—8—
    Peer median6.8K—46—

    Also by deepseek-ai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description