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.10.1.tar.gz (407.4 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.10.1-py3-none-any.whl (460.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for b12x-0.10.1.tar.gz
Algorithm Hash digest
SHA256 b8bc8166e6e908339dc76775a101530a71307d61d1a54c55906ed7371db27372
MD5 573923eca1b76a568543c9edf7b5f2fc
BLAKE2b-256 eeb3f9d3e3a1a0a4f887d4b88c3584d946400a47d1f382736a1a79de66e9ca40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: b12x-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 460.3 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.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 672d41ba670142db10b3e7222bc7eb1c4709d3e0dc17f2099cbe619731322d84
MD5 5b22cdd6f75c87efa6bb089c54fc64c2
BLAKE2b-256 8d32f6695ddcd574a83be55471362b12723b44b74ea216fe205666134241747d

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