(:Project)
quadbit
quadbit is a deployable sparse FP4 stack for Nvidia RTX Blackwell GPUs, the SM120 cards RTX PRO 6000 and RTX 5090.
- Built by
- me
- Since
- June 2026
- Language
- Python
- Licence
- MIT
The corner it fills
Dense NVFP4 on Blackwell is well served. FlashInfer, vLLM and SGLang ship fast dense kernels, and I do not try to beat them there. I say so in the README. Their dense kernels are 1.35 to 2.2 times faster than mine.
quadbit works on what those stacks leave out, a deployed sparse FP4 path. When a weight can be 2:4 pruned, my sparse kernel is the fastest way to run an FP4 matrix multiply on SM120 in the measurements I publish.
Measured on an RTX PRO 6000
Against FlashInfer's best dense FP4 kernel on Llama-3-8B prefill shapes, the quadbit sparse kernel is 1.07 times faster on attention at 4096, 1.16 times on the feed-forward up projection, 1.29 times on the down projection and 1.38 times on a square 8192 multiply.
The cost is accuracy. Sparse needs recovery training and stays about 1.56 perplexity behind dense on the 8B model, so it is a speed result and nothing more.
How I built the kernels
SM120 has no tcgen05, so the kernels use warp level mma.sync and mma.sp. I derived the instruction, scale and metadata layouts by probing the hardware and verifying each result, not from documentation.
Questions people ask
Who created quadbit?
I did, in June 2026.
Is quadbit faster than dense NVFP4 kernels?
Not for dense work, and I say so in the README. FlashInfer's dense kernels beat my dense kernel by 1.35 to 2.2 times. My result is the sparse kernel, which beats the best dense FP4 kernel on every Llama-3-8B prefill shape I measured when the weight can be 2:4 pruned.