[KongchangAI]
ProductBNB

bitsandbytes

An open-source library for quantization and acceleration of deep neural networks. It supports 8-bit and 4-bit quantization such as NF4 and is commonly used for large-model inference under low GPU memory.

Timeline (last 90 days)

Oct 12

On an RTX 3060, the developer's hand-written Triton fused W4A16 GEMV kernel targeting batch-1 decoding runs at about 25.5 tok/s, matching the roughly 25.7 tok/s of the bitsandbytes NF4 quantization scheme.

Unverified50%
Oct 12

The self-developed W4 kernel's perplexity (probe ppl) is 15.76, better than bitsandbytes NF4's 18.98.

Unverified50%
Oct 12

In the same test, the bf16 baseline exceeded the self-developed W4 kernel (25.5 tok/s) and bitsandbytes NF4 (25.7 tok/s) at 31.3 tok/s, reaching 29.8% of the theoretical roofline.

Unverified50%
Oct 6

Pascal架构对应CUDA计算能力6.x,而vLLM、bitsandbytes等现代推理框架已将最低支持版本提升至7.0,部分功能要求8.0以上

Unverified50%
Oct 5

Mainstream quantization toolchains include llama.cpp (GGUF format) and bitsandbytes.

Unverified50%
Aug 27

常见的量化工具包括GPTQ、AWQ和bitsandbytes

Unverified50%
Aug 26

flash-attention、xformers、bitsandbytes等高性能加速库通常只提供Linux预编译wheel,在Windows上需要从源码编译

Unverified50%

All Facts (9)

Source Articles