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

CUDA 12.9 wheels are published separately in the SGLang wheel repository. Install the matching PyTorch CUDA 12.9 build first, then install the wheel from the cu129 index or release URL.

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.

Low-latency and internode transports require an IBGDA-capable host. This can be provided either by the NVIDIA driver configuration or by GDRCopy (libgdrapi.so plus a usable /dev/gdrdrv). See the NVSHMEM setup guide for both supported configurations.

Wheel release workflow

Wheels are built and published by SGLang's Release sgl-deep-ep workflow. Before starting a release, merge the required implementation changes into the three platform branches (sgl-deepep-x86, sgl-deepep-arm, and sgl-deepep-cu12-arm) and merge the packaging overlay into sgl-deepep-packaging.

Run the workflow manually with:

  • version: the public package version, without a leading v;
  • target: cu129, cu130, or all;
  • packaging-ref: the packaging overlay branch, tag, or commit (normally sgl-deepep-packaging).

The CUDA 12.9 matrix builds CPython 3.10 and 3.12 wheels. The CUDA 13.0 matrix builds CPython 3.10, 3.11, 3.12, and 3.13 wheels. Both matrices build for x86_64 and aarch64.

For each selected CUDA target, the workflow uploads CUDA-tagged wheels to the corresponding cu129 or 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fdbdcefcfef7d12d6d63d51888acc7d13e2d9c750f5259a51a076a657ad566bc
MD5 5bbb9b6b7498adf85950e1a6571c1b1e
BLAKE2b-256 6b5660f700bc145492074c4f57b5a1fb9430dd2c9339829bb882a1d325b03d26

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9ce789df37cdf2651ae8919e9b29c08c2fae76ad1216fb64fc883bd15309c2c7
MD5 be616e3ae3b88dcbcdcce1f1ad324b22
BLAKE2b-256 0647c2f387c2b7a2a36bff70a645c9bce592a4260f2d9f0d69e759ccefe0c9a4

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09dbcbec968a01ddd78e9d71e538826b0a84c44aa6528e1ab75868aeccf52986
MD5 946dd5c1fdf90d0d5756bef910f31ca0
BLAKE2b-256 48f2375417521248a3798fdc20cee880b9967cc0783a40f414d8bb8083f0aee4

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad3d8bee8b893528eb0ab7b018b6d40fa852dd9c6d7cee0a9c4b89a8f9b02bf9
MD5 4ac0f47a9e78241fb466db6823fa0a73
BLAKE2b-256 1c97c3ccd5fbd76e2f0488f3ca8ae5164b3276b58396bdfaf49f68c2ddf0dd1e

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 378d9cb85485a4f9be2a8cd27ce71d20d9ac61042d63564eef3605166ed6e60f
MD5 538d34d8695f0d51d3a639dfeb4f1332
BLAKE2b-256 8f4f25280946ad214e740c69c60d8b7ee479d5bbdc15ca1bf3d3fc259c449030

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a7b892d5d34c7d88732642405f9d7b74150265f7668501c3cd28e62abd24cff3
MD5 34b520fcac54699099ba0fb6b19f4493
BLAKE2b-256 0885fb31ab37ea2cbfc2081e48b39ca3160b27367e6aea147d05c8fea79afdae

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6e689f40c619e6b24095b88338318544058db9b463614c47ea9094cda5f33cd
MD5 f5d25e08a2eeeae64bd44dbbfd317034
BLAKE2b-256 5db6b246b68118cafae9fc48db2e61a657d2ce94cc507d5dc151740dd102ba6f

See more details on using hashes here.

File details

Details for the file sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sgl_deep_ep-0.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c962205c637b6f0753acd99d37d0321b7e88297c573e9e7e2935dd7924a07291
MD5 0db04af361e3548906ac3249bcf494e7
BLAKE2b-256 122d6ddb67058f872cdf6a9f87ed2ec36a6cf0f7e91fa229dd2eb2b6086fe81f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page