[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)

Nov 14

The GGUF format mainly targets the llama.cpp ecosystem, GPTQ and AWQ are common in GPU inference stacks, and bitsandbytes provides an online quantization solution integrated with Hugging Face Transformers.

Unverified50%
Nov 14

8-bit Adam (such as the bitsandbytes library) uses block-wise dynamic quantization to compress first- and second-order moments from FP32 to INT8, significantly reducing memory while maintaining convergence.

Unverified50%
Nov 4

Common quantization schemes in the community include GPTQ, AWQ, GGUF (llama.cpp ecosystem), and bitsandbytes' NF4, among others, with different schemes making different trade-offs between accuracy loss and throughput.

Unverified50%
Oct 20

Unsloth's 3bit quantization is not a standard bitsandbytes configuration; it usually refers to its own asymmetric quantization scheme, which can compress 7B-class model weights to about 3GB.

Unverified50%
Oct 18

According to the Transformers bitsandbytes documentation, quantized linear layers and other modules are handled separately, and weight storage and compute dtype are two different things.

Unverified50%
Oct 18

Different quantization formats (GGUF, AWQ, GPTQ, bitsandbytes) have different metadata overhead and layouts, and peak memory during loading may also differ.

Unverified50%
Oct 15

On the Python side, single-prompt model.generate speeds up Llama and Qwen3 models by up to 2.7x at 32K context; with bitsandbytes 4-bit models, generating 2 to 4 prompts at a time speeds up by up to 2.8x on some NVIDIA GPUs.

Expired50%
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.

Expired50%
Oct 12

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

Expired50%
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.

Expired50%

4 more timeline events

All Facts (12)

Unverified

The Transformers framework natively supports mainstream quantization solutions including bitsandbytes, GPTQ, and AWQ.

90%
Unverified

Transformers库集成了GPTQ、AWQ、bitsandbytes等量化技术和Flash Attention加速方案

90%
Unverified

The GGUF format mainly targets the llama.cpp ecosystem, GPTQ and AWQ are common in GPU inference stacks, and bitsandbytes provides an online quantization solution integrated with Hugging Face Transformers.

50%
Unverified

8-bit Adam (such as the bitsandbytes library) uses block-wise dynamic quantization to compress first- and second-order moments from FP32 to INT8, significantly reducing memory while maintaining convergence.

50%
Unverified

Common quantization schemes in the community include GPTQ, AWQ, GGUF (llama.cpp ecosystem), and bitsandbytes' NF4, among others, with different schemes making different trade-offs between accuracy loss and throughput.

50%
Unverified

Unsloth's 3bit quantization is not a standard bitsandbytes configuration; it usually refers to its own asymmetric quantization scheme, which can compress 7B-class model weights to about 3GB.

50%
Unverified

According to the Transformers bitsandbytes documentation, quantized linear layers and other modules are handled separately, and weight storage and compute dtype are two different things.

50%
Unverified

Different quantization formats (GGUF, AWQ, GPTQ, bitsandbytes) have different metadata overhead and layouts, and peak memory during loading may also differ.

50%
Unverified

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

50%
Unverified

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

50%
Unverified

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

50%
Unverified

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

50%

Source Articles