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.13.5.tar.gz (501.9 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.13.5-py3-none-any.whl (564.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for b12x-0.13.5.tar.gz
Algorithm Hash digest
SHA256 722d35d958b5954dc678e72aa3103c8cc59165a07de44143b73fbd9e60d1f4f5
MD5 4415977fe2c1180bbf27d67355496729
BLAKE2b-256 79c9b6f27014886e2a2ab38a1538d5e63d3ddbb12d84832458ccea93b8d8b21c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: b12x-0.13.5-py3-none-any.whl
  • Upload date:
  • Size: 564.7 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.13.5-py3-none-any.whl
Algorithm Hash digest
SHA256 780e77b68e592210e4f69e6efa16d02259b5dbacba88a23b880af5e2b20b7068
MD5 8bdb0341ce721c0255a9908ebd4e73c4
BLAKE2b-256 6cd9d1f511ea52af77fa7f57b903823707bf4d152d119af38f7c576ce5ca3ac4

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