quantizing-models-bitsandbytes

Orchestra-Research/AI-Research-SKILLs/10-optimization/bitsandbytes

12.1k 0TeXResearch
PlatformUniversal

Quantizes LLMs to 8-bit or 4-bit for 50-75% memory reduction with minimal accuracy loss. Use when GPU memory is limited, need to fit larger models, or want faster inference. Supports INT8, NF4, FP4 formats, QLoRA training, and 8-bit optimizers. Works with HuggingFace Transformers.

All Skills