Skip to main content

sgl-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 leading v;
  • deepep-ref: the branch, tag, or commit containing both the implementation and sgl_deep_ep/ (normally sgl-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 GH_PAT_FOR_WHL_RELEASE and SGL_DEEP_EP_PYPI_TOKEN repository secrets.

After the workflow completes, check that every expected Python and architecture artifact was published, install the appropriate wheel in a clean environment, and verify both import deep_ep and a multi-GPU DeepEP or SGLang workload.

Building from a checkout

Initialize the submodules and install the build dependencies, including the target CUDA PyTorch build, NCCL 2.30.7, NVSHMEM, ninja, setuptools, and wheel. The release container in SGLang's docker/sgl-deep-ep.Dockerfile provides these dependencies for manylinux builds. Then run:

git clone --recursive --branch sgl-deepep https://github.com/sgl-project/DeepEP.git
cd DeepEP
SGL_DEEP_EP_VERSION=0.1.3 bash sgl_deep_ep/build_sgl_deep_ep.sh dist 13.0 x86_64

The arguments are the output directory, CUDA version (13.0 or 13.4), and CPU architecture (x86_64 or aarch64). Use the CUDA version and architecture of the build environment. The script reads implementation and packaging from its own checkout, stages a temporary copy, and leaves the source unchanged. SGL_DEEP_EP_VERSION overrides sgl_deep_ep/VERSION; the wheel version includes the corresponding +cu130 or +cu134 suffix. PYTHON_BIN selects the build interpreter and MAX_JOBS controls parallelism.

This produces a native Linux wheel. The SGLang release build script applies auditwheel repair for manylinux and creates the public-version PyPI wheel. The CUDA 13.4 image also uses this entry point; the release workflow currently publishes CUDA 13.0 wheels only.

Metadata

Release files for sgl-deep-ep 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for sgl-deep-ep 0.1.3
File Actions
sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Total release size: 94.4 MB

Release files / sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.8 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f8f4290b19c45d36b22c8cc0834246646f168fae0deacfe05902af054463b8cf
BLAKE2b-256 checksum
How to use checksums
612225179b2cf2046ad052dfa67db0122d4224fa0215ca1f01b5d5151956d202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL sgl_deep_ep-0.1.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 15.6 MB
Tags CPython 3.13 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3f677e9b4c29b0a89e54c56ee555e917676b961e4a2ad2eb50d07f16570a12ba
BLAKE2b-256 checksum
How to use checksums
de3bf4ee497ffa9e4485645c1efcab14dc879ed3395a3a1ad03df8caf847152e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.8 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
491a2f9e2f079fe215f540bf4edb2a737f7b3fe73d7cf3f25a540e17b42eda37
BLAKE2b-256 checksum
How to use checksums
3e988b670d1fcb44dc6e6fe5253c9e3eded2a123d0efd52902cf1547d5f4c2cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL sgl_deep_ep-0.1.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 15.6 MB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1be8595dab665bd1b90a44aba4097c90a0ad5e2c259ca0d3883cd6c2c58e6375
BLAKE2b-256 checksum
How to use checksums
a3ba3dabce953f151008e2eb65d453e5ce5a18efeac6eb885da29fabd2bfc478
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.8 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c08cdee26d7a44a43f4e264bd9d138cdfbf3260fb1422a0772d5f3b9ac49721d
BLAKE2b-256 checksum
How to use checksums
b606b8e59ec755439a3ee9cbfe2fe354ab2cf9742b57a440a12db3f57fc847e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL sgl_deep_ep-0.1.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 15.7 MB
Tags CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
981fb0a1c3d01cc8609d02eab2c1ec24467c8f51b17e1ad6411cffbf19923664
BLAKE2b-256 checksum
How to use checksums
707d78e1d90f71ef2fb8909ec0f0aecfb6c658bf250009a30ff12f0b1dae567a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for sgl-deep-ep 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page