Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Quantization Python Packages

Python packages with the GitHub topic quantization. Sorted by monthly downloads, with stars and forks.
OpenNMT
ctranslate2

Fast inference engine for Transformer models

27M 5K 565
SYSTRAN
faster-whisper

Faster Whisper transcription with CTranslate2

22M 27K 2K
vllm-project
compressed-tensors

A safetensors extension to efficiently store sparse quantized tensors on disk

4.5M 337 159
bitsandbytes-foundation
bitsandbytes

Accessible large language models via k-bit quantization for PyTorch.

3.6M 9K 957
pytorch
torchao

PyTorch native quantization for training and inference

2.1M 3K 703
huggingface
optimum

๐Ÿš€ Accelerate inference and training of ๐Ÿค— Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

1.2M 4K 723
openvinotoolkit
nncf

Neural Network Compression Framework for enhanced OpenVINOโ„ข inference

407K 1K 322
huggingface
optimum-quanto

A pytorch quantization backend for optimum

319K 1K 106
intel
auto-round

PTQ-Level Efficiency, QAT-Level Accuracy | ่ฎญ็ปƒๅŽ้‡ๅŒ–็š„ๆ•ˆ็އ๏ผŒ้‡ๅŒ–ๆ„Ÿ็Ÿฅ่ฎญ็ปƒ็š„็ฒพๅบฆ

273K 2K 204
natasha
navec

Compact high quality word embeddings for Russian language

92K 221 19
thu-ml
sageattention

[ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-to-end metrics across language, image, and video models.

91K 4K 568
PINTO0309
onnx2tf

A tool for converting ONNX files to LiteRT/TFLite/TensorFlow, PyTorch native code (nn.Module), TorchScript (.pt), state_dict (.pt), Exported Program (.pt2), and Dynamo ONNX. It also supports direct conversion from LiteRT to PyTorch.

74K 1K 106
ModelCloud
gptqmodel

LLM model quantization (compression) toolkit with HW acceleration support for Nvidia CUDA, AMD ROCm, Intel XPU, Tenstorrent, Huawei Ascent NPU, and Intel/AMD/Apple CPU via HF, vLLM, and SGLang.

57K 1K 224
vllm-project
llmcompressor

State-of-the-art LLM compression, built for production inference with vLLM

54K 4K 748
tensorflow
tensorflow-model-optimization

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

50K 2K 350
RyanCodrai
turbovec

A vector index built on TurboQuant, written in Rust with Python bindings

41K 18K 1K
Brightcells
pngquant

A Python Wrapper of Pngquant

36K 34 8
fastmachinelearning
qonnx

QONNX: Arbitrary-Precision Quantized Neural Networks in ONNX

31K 197 63
Ki6an
fastt5

โšก boost inference speed of T5 models by 5x & reduce the model size by 3x.

29K 586 76
Sahil170595
chimeraforge

PyPI capacity-planning CLI for LLM deployment. pip install chimeraforge.

26K 2 2
intel
auto-round-nightly

PTQ-Level Efficiency, QAT-Level Accuracy | ่ฎญ็ปƒๅŽ้‡ๅŒ–็š„ๆ•ˆ็އ๏ผŒ้‡ๅŒ–ๆ„Ÿ็Ÿฅ่ฎญ็ปƒ็š„็ฒพๅบฆ

26K 2K 204
VectorDB-NTU
rabitqlib

Official library for RaBitQ vector quantization and approximate nearest-neighbor search, in C++ and Python.

22K 297 79
intel
neural-compressor

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

22K 3K 339
hiyouga
llamafactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

21K 76K 9K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology