Skip to main content

Unapologetically SM120-only CuTe DSL kernels for NVFP4 GEMM and MoE.

Project description

b12x is an SM120/SM121 CuTe DSL kernel library for (primarily) NVFP4 LLM inference.

It is intentionally narrow. This is not a generic CUDA kernel collection or a full model-serving stack. It does not intend to target any other GPU architectures, including SM100. It is a focused package for a small number of high-performance kernels plus the runtime glue needed to launch them cleanly from sglang/vllm.

Currently supported kernels:

  • NVFP4 fused MoE GEMM
  • NVFP4 dense GEMM
  • BF16/FP8 paged attention
  • Sparse MLA attention (for DSA/NSA only).
pip install b12x

Ask your friendly neighborhood AI agent for further information on how to use this library.

Project details


Download files

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

Source Distribution

b12x-0.15.2.tar.gz (532.2 kB view details)

Uploaded Source

Built Distribution

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

b12x-0.15.2-py3-none-any.whl (589.2 kB view details)

Uploaded Python 3

File details

Details for the file b12x-0.15.2.tar.gz.

File metadata

  • Download URL: b12x-0.15.2.tar.gz
  • Upload date:
  • Size: 532.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for b12x-0.15.2.tar.gz
Algorithm Hash digest
SHA256 e59cb76013a2f9ab85dbcfb389952837337741651879af2b390f4b42c8726ae6
MD5 c79afcac288541816c22bcbc34392a46
BLAKE2b-256 484973b4472437be3c45c41c54f3385bd2be0c44d58df5a8754b9c9686b44b9f

See more details on using hashes here.

File details

Details for the file b12x-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: b12x-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 589.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for b12x-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d1d9970fc6c581533c48bfe7904a60d29620517cdb338cede25624bc0da2643
MD5 1a0a9b97f114e0dbd084180f9a054c4b
BLAKE2b-256 c307c2fa32a817f60d16de1fbce93713dde6d44401c38186c7b30885000258b4

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