bitsandbytes

Library providing 8-bit optimizers and 4-bit quantization for memory-efficient LLM training and loading.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

QLoRA fine-tuning on consumer GPUs exists largely because of bitsandbytes, the library that supplies 8-bit optimizers and low-bit quantization to the PyTorch ecosystem. Its block-wise quantized 8-bit optimizers match 32-bit optimizer performance while sharply cutting optimizer state memory, LLM.int8() halves the memory needed to load a model for inference, and 4-bit quantization underpins QLoRA, where low-rank adapter weights train on top of a frozen quantized base model. Hugging Face Transformers integrates it directly, which is why nearly every consumer-GPU fine-tuning workflow lists it as a dependency. Originally CUDA-only (SM60 and newer), the multi-backend effort now covers AMD ROCm on CDNA and RDNA architectures, Intel Arc and Data Center GPU Max, Intel Gaudi 2 and 3, Apple silicon on macOS 14 and later, and AVX2-capable x86 CPUs. Requirements are Python 3.10+ and PyTorch 2.4+, installed with pip install bitsandbytes. Maintained by the bitsandbytes foundation with Hugging Face support, the project is MIT licensed with about 8.4k GitHub stars.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Jul 29, 2026

Related Tools

Framework for generating synthetic data and AI feedback through composable LLM pipelines.

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Subject-driven fine-tuning technique for personalizing diffusion models.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

Video model fine-tuning toolkit by Hugging Face Diffusers team.

Open SourceSelf HostedOfflineGPU 16GB+
Advanced
0.0 (0)

Efficient LLM quantization preserving important weight channels.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

All-in-one Stable Diffusion fine-tuning tool with intuitive GUI.

Open SourceSelf HostedOfflineGPU 8GB+
Easy
0.0 (0)

No-code tool by Hugging Face for training ML models automatically.

Open SourceSelf HostedOfflineGPU 8GB+
Beginner
0.0 (0)
Browse all Model Training & Fine-Tuning tools