For a toolkit for quantizing large language models, the strongest matches are ggerganov/ggml (ggml is a low-level tensor library and inference engine), artidoro/qlora (QLoRA is a quantization-aware fine-tuning framework that reduces model) and ggerganov/llama.cpp (llama). axolotl-ai-cloud/axolotl and ggml-org/llama.cpp round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
These open-source libraries and frameworks enable efficient model compression to run large language models locally.
ggml is a low-level C++ tensor library and machine learning inference engine designed for performing mathematical operations on multi-dimensional arrays across diverse hardware platforms. It provides a foundational toolset for executing machine learning models and calculating mathematical gradients through an automatic differentiation library. The project features a quantized tensor framework that converts floating-point weights into integer representations to reduce memory usage and increase inference speed. It utilizes a custom binary format for model serialization to ensure rapid loading a
ggml is a low-level tensor library and inference engine that provides a quantized tensor framework (Q4, Q5, Q8, etc.) used by tools like llama.cpp to quantize and run LLMs on smaller GPUs, but it focuses on its own quantization formats rather than offering multiple methods like GPTQ or AWQ, and it lacks direct Hugging Face integration, making it a lower-level building block rather than a ready-to-use LLM quantization toolkit.
This project is a quantized fine-tuning framework for large language models. It implements a low-rank adaptation library and a four-bit quantizer to reduce the GPU memory requirements needed to train large models. The framework utilizes four-bit quantization and low-rank adapters to enable model training on consumer-grade hardware. It further reduces the memory footprint through double quantization and a paged optimizer that offloads states to system RAM. The system supports distributed training across multiple GPUs to handle larger parameter scales and includes utilities for custom dataset
QLoRA is a quantization-aware fine-tuning framework that reduces model memory via 4-bit NormalFloat quantization and double quantization, making it a valid quantization toolkit—though it primarily targets training rather than standalone inference quantization, and covers only one method (4-bit) rather than offering multiple options like GPTQ or AWQ.
llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across various hardware architectures. It provides the core components for local model execution, including a dedicated model quantizer for compressing weights into the GGUF format and a system for generating text embeddings for semantic search. The project distinguishes itself through specialized memory and execution optimizations, such as block-wise weight quantization to reduce memory footprints and memory-mapped model loading. It supports structured text generation by using formal
llama.cpp is a C++ inference engine with a dedicated quantizer that converts LLMs into the compact GGUF format, supporting 4-bit and 8-bit quantization and GPU acceleration via CUDA/ROCm, but it uses its own quantization scheme rather than methods like GPTQ or AWQ.
Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large language models. It functions as a comprehensive orchestrator for distributed training, enabling users to manage complex workflows across multi-node and multi-GPU environments. By utilizing structured configuration files, the platform streamlines the setup of training parameters, dataset paths, and hardware distribution strategies. The project distinguishes itself through its support for diverse training methodologies, including full-parameter tuning, parameter-efficient adaptation,
Axolotl is a configuration-driven framework that supports fine-tuning, evaluation, and quantization of LLMs, so it can serve as a quantization tool, but its primary focus is on distributed training and fine-tuning workflows rather than being a dedicated quantization library.
Llama.cpp is an inference engine designed for the local execution of text-based and multimodal language models on consumer hardware. It provides a core environment for running models that process both text and image inputs, utilizing hardware-accelerated backends to optimize performance across diverse CPU and GPU architectures. The project distinguishes itself by offering a lightweight HTTP server that adheres to standard API specifications, enabling chat completion, embeddings, and reranking services. It includes a suite of tools for model quantization and conversion, which reduces memory us
llama.cpp is a local inference engine that includes its own quantization tools for reducing LLM memory usage, supporting multiple bit widths and GPU acceleration, though it uses its own quantisation methods rather than GPTQ or AWQ, making it a fitting but narrower answer for this search.
ipex-llm is an acceleration library and inference engine designed to optimize the execution and finetuning of large language models on Intel GPUs and NPUs. It provides a HuggingFace compatible model backend and a dedicated quantization toolkit for converting model weights into low-bit precision formats. The project facilitates distributed inference by splitting large model workloads across multiple accelerators using pipeline and tensor parallelism. It enables the deployment of models on Intel Arc, Flex, and Max GPUs to increase throughput and reduce latency. The library covers a broad range
ipex-llm is a dedicated quantization toolkit and inference engine for LLMs on Intel hardware, with HuggingFace integration and low-bit precision support—it fits the search for a model compression library, though it is tailored to Intel GPUs/NPUs and may not cover all requested quantization methods (GPTQ, AWQ).
vLLM is a high-throughput inference engine designed for the efficient serving and execution of large language models. It functions as a production-ready distributed model server, providing standard API protocols for online serving while also supporting offline batch processing. The system is built to maximize token generation speed and memory efficiency, enabling both large-scale cloud deployments and local execution on personal hardware. The project distinguishes itself through advanced memory management and request scheduling techniques, most notably its use of non-contiguous key-value cach
vLLM is a high-throughput inference engine for LLMs, not a quantization toolkit; while it can serve quantized models, it does not itself perform the quantization to reduce memory footprint, making it a neighboring tool rather than the quantization library this visitor is after.
ccv is a computer vision library written in C designed for high-performance visual analysis. It serves as a framework for image classification, object detection, and the identification of faces, pedestrians, and vehicles. The library distinguishes itself through hardware-accelerated vision and deep learning inference optimizations. It utilizes a quantized tensor processor to transform floating-point data into eight-bit integers and implements integer-quantized attention mechanisms to reduce memory bandwidth and increase data throughput. The project covers a broad range of capabilities, inclu
ccv is a computer vision library that
gpt-fast is a PyTorch transformer inference engine designed for text generation using a native tensor library implementation. It provides a runtime for executing large language models without the need for external C++ extensions. The project implements speculative decoding to accelerate generation by using a small draft model for token prediction and a larger model for verification. It further optimizes performance through a compiled prefill stage and a multi-GPU tensor parallelism library that shards linear layers across multiple graphics processing units. Memory efficiency is managed throu
gpt-fast is an inference engine that runs quantized models, not a toolkit for performing quantization itself — it lacks support for the multiple quantization methods (GPTQ, AWQ, QAT) and calibration dataset handling that a true quantization library would provide.
CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di
CTranslate2 is an inference engine and runtime that includes quantization for efficient Transformer model deployment, but its primary purpose is optimized inference rather than being a dedicated quantization toolkit supporting multiple methods like GPTQ or AWQ.
BitNet is a quantized inference engine designed to execute highly compressed language models by performing arithmetic on low-precision, bit-level weight data. It functions as a model optimization toolkit and a high-performance kernel library, enabling the execution of large language models on consumer hardware by reducing memory footprints and increasing processing speeds. The project distinguishes itself through hardware-specific kernel optimizations that leverage native processor instructions to accelerate matrix multiplication. By utilizing packed integer arithmetic and memory-aligned weig
BitNet is a quantized inference engine that runs highly compressed models on consumer hardware, but it is not a general-purpose quantization toolkit covering multiple methods like GPTQ or AWQ or offering calibration dataset handling — it is more a runtime for already-quantized models rather than a tool to quantize them yourself.
This project is a comprehensive toolkit designed for the full lifecycle management of large language and multimodal models. It functions as a unified orchestrator that handles the entire development process, ranging from dataset preparation and supervised fine-tuning to advanced reinforcement learning alignment and production-ready inference deployment. The platform distinguishes itself through a specialized reinforcement learning library that supports complex optimization algorithms, including group relative policy optimization and leave-one-out techniques, to improve model instruction-follo
ms-swift is a comprehensive LLM training and deployment framework covering fine-tuning and alignment, but it is not purpose-built for quantization or model compression—missing dedicated support for GPTQ, AWQ, bitsandbytes, or similar methods that this search requires.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| ggerganov/ggml | 14.8K | C++ | MIT | |
| artidoro/qlora | 10.9K | Jupyter Notebook | MIT | |
| ggerganov/llama.cpp | 116.9K | C++ | MIT | |
| axolotl-ai-cloud/axolotl | 12.1K | Python | Apache-2.0 | |
| ggml-org/llama.cpp | 116.8K | C++ | MIT | |
| intel-analytics/ipex-llm | 8.8K | Python | Apache-2.0 | |
| vllm-project/vllm | 83K | Python | Apache-2.0 | |
| liuliu/ccv | 7.2K | C++ | NOASSERTION | |
| meta-pytorch/gpt-fast | 6.2K | Python | BSD-3-Clause | |
| opennmt/ctranslate2 | 4.3K | C++ | mit |