Actively maintained. Last release 10 days ago. A safe choice.
pip install sgl-deep-epsgl-deep-ep
sgl-deep-ep is SGLang's binary distribution of
DeepEP. The distribution name is
sgl-deep-ep, while the Python import remains compatible with DeepEP:
import deep_ep
Installation
The PyPI package targets CUDA 13 and installs with:
pip install sgl-deep-ep
Each wheel is specific to a CPython version, CPU architecture, and CUDA major.
The package checks these constraints when deep_ep is imported.
Host prerequisites
The wheel contains DeepEP's Python code and CUDA extension. It does not and cannot provision the host kernel or RDMA stack. Every host must provide:
- a compatible NVIDIA driver and CUDA runtime;
- the RDMA/NVLink environment required by the selected DeepEP transport.
At import time, the package checks the supported platform, PyTorch and CUDA
versions, and CUDA driver/device availability. Failures raise an actionable
ImportError. Transport-specific prerequisites are validated when DeepEP
initializes the selected transport.
CUDA 13 wheels use DeepEP v2 and its NCCL Gin transport. Release and runtime
images pin nvidia-nccl-cu13==2.30.7. NVSHMEM remains a build and runtime
dependency because the current v2 extension still links the legacy DeepEP methods.
Wheel release workflow
Wheels are built and published by SGLang's
Release sgl-deep-ep workflow.
Implementation and packaging are maintained together on sgl-deepep.
Before starting a release, merge both kinds of changes into that branch:
- CUDA 13, x86_64 and aarch64:
sgl-deepep(DeepEP v2)
Run the workflow manually with:
version: the public package version, without a leadingv;deepep-ref: the branch, tag, or commit containing both the implementation andsgl_deep_ep/(normallysgl-deepep; use a commit for a reproducible release).
For each selected CUDA target, the workflow uploads CUDA-tagged wheels to the cu130 index in
sgl-project/whl. CUDA 13.0 wheels are also
published to PyPI as sgl-deep-ep, without a CUDA suffix in the package name.
Publishing requires the and
repository secrets.