What problem does it solve? Large language models like Llama 2-70B require 140GB of GPU memory in FP16, making them impossible to run on consumer hardware or single GPUs. GPTQ compresses these models to 4-bit precision, reducing memory by 4× with under 2% perplexity degradation while accelerating inference 3-4×. ## Core Features & Use Cases - Post-Training Quantization: Quantize any supported model (Llama, Mistral, Qwen, DeepSeek) to 4-bit using calibration data and group-wise quantization with configurable group sizes. - Multiple Kernel Backends: Run quantized models with ExLlamaV2, Marlin (Ampere+ GPUs), or Triton backends for optimized inference speed. - QLoRA Fine-Tuning: Combine GPTQ models with PEFT LoRA adapters to fine-tune 70B models on a single A100 80GB GPU. - Use Case: Deploy Llama 2-70B on a single A100 by loading a pre-quantized GPTQ model from HuggingFace, or quantize your own fine-tuned model with 128 C4 calibration samples for production serving via vLLM. ## Quick Start Quantize my Llama 2-7B model to 4-bit using GPTQ with group size 128 and C4 calibration data, then save it for deployment.