Skip to main content

dew-cutlass

CUTLASS's grouped GEMMs for JAX, built for Dew: NVIDIA's CUDA kernels (BSD-3) as a library with no Python ABI that registers XLA FFI targets with JAX. Dew's mixture-of-experts layers run them on NVIDIA GPUs where the accuracy gate and the timings show them the better route.

There is one wheel for each CUDA major of your jax, for Linux x86_64 and aarch64 and any Python from 3.11:

pip install dew-cutlass-cu12   # jax with jax-cuda12-plugin
pip install dew-cutlass-cu13   # jax with jax-cuda13-plugin

The wheel ships no CUDA runtime: it needs a CUDA build of JAX of the same major in the same environment (jax[cuda12] or jax[cuda13]), whose libcudart it loads. It holds code for sm80 (every compute capability 8.x: CUTLASS 2's grouped kernel, cp.async and mma.sync), sm90a (H100, H200: CUTLASS 3's pointer-array warp-specialized kernel) and sm100a (B200: CUTLASS 3's pointer-array tcgen05 kernel, its MMA across a pair of multiprocessors); dew_cutlass.ARCHITECTURES names what the installed build holds, dew_cutlass.KERNELS states each kernel it instantiates (tile, stages, consumer threads, cluster and instruction family, read from the compiled types), and a call on any other GPU answers an error naming its capability.

Two FFI targets, each dispatching on the device's compute capability:

  • dew_cutlass_grouped_gemm: x [M, K] and w [G, K, N] (or [G, N, K] with transpose_w), bf16 or f16, the rows of x grouped by group_sizes (s32 [G], counts); out [M, N], bf16, f16 or f32. Rows past the groups' sum are zero.
  • dew_cutlass_grouped_gemm_k: x [M, K] and dy [M, N], grouped along M by group_sizes; out [G, K, N], f32 or bf16: each group's rows of x, transposed, times its rows of dy.

Building: sh build.sh with the CUDA toolkit (12.8 or newer) on PATH, cmake 3.24 or newer and ninja; the release workflow builds in NVIDIA's rockylinux8 CUDA images (.github/workflows/cutlass.yml).

Metadata

Release files for dew-cutlass-cu13 0.2.4

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 dew-cutlass-cu13 0.2.4
File Interpreter ABI Platform Actions
dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_x86_64.whl
dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_aarch64.whl

Total release size: 918.4 kB

Release files / dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_x86_64.whl

Download URL dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_x86_64.whl
Size 462.7 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
26ee20657c7040ac7202e4d387084dd76cf14b3fc59a7853bffa6402a9afc536
BLAKE2b-256 checksum
How to use checksums
ffcc1d22c4fc462eee413872ac64ca14a8d87ace8de8a1b72df5e3e8377bb880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_aarch64.whl

Download URL dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_aarch64.whl
Size 455.6 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c01d41fc071eb6cbe18f489612704ea37ea093b4126ed2648d8f0145217150ab
BLAKE2b-256 checksum
How to use checksums
4430d15eeb0697545a5539a7146e30431b1a2636144f9cf0abb327ef6ee7eb93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for dew-cutlass-cu13 0.2.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dew_cutlass_cu13-0.2.4-py3-none-manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

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