Open-source optimization toolkit for training and running transformer models efficiently.
- Pricing
- Free
- Category
- Model Efficiency
- Compliance
- Not stated
Model Efficiency
k-bit quantization library for PyTorch that cuts LLM memory use for inference and training.
bitsandbytes enables accessible large language models through k-bit quantization for PyTorch, with three main features for reducing memory consumption. Its 8-bit optimizers use block-wise quantization to maintain 32-bit performance at a small fraction of the memory cost; LLM.int8() enables 8-bit language model inference with only half the required memory and without performance degradation by quantizing most features to 8 bits and treating outliers with 16-bit matrix multiplication; and QLoRA enables 4-bit model training by inserting a small set of trainable low-rank adaptation weights. The library provides quantization primitives through Linear8bitLt and Linear4bit and 8-bit optimizers through its optim module, supports Linux, Windows and macOS on CPUs and NVIDIA, AMD and Intel accelerators, and is MIT licensed.
Open-source optimization toolkit for training and running transformer models efficiently.
C/C++ LLM inference with 1.5- to 8-bit quantization and broad hardware backend support.
Open-source library for quantizing and compressing LLMs for efficient vLLM deployment.