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

15M 5K 547
SYSTRAN
faster-whisper

Faster Whisper transcription with CTranslate2

10.7M 26K 2K
vllm-project
compressed-tensors

A safetensors extension to efficiently store sparse quantized tensors on disk

4.1M 329 132
bitsandbytes-foundation
bitsandbytes

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

3.6M 9K 938
pytorch
torchao

PyTorch native quantization for training and inference

2.2M 3K 646
huggingface
optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

1.5M 4K 703
openvinotoolkit
nncf

Neural Network Compression Framework for enhanced OpenVINO™ inference

410K 1K 308
intel
auto-round

A simple and effective post training quantization toolkit for high-accuracy low-bit LLM inference|简洁且高效的后训练量化工具包

404K 2K 184
huggingface
optimum-quanto

A pytorch quantization backend for optimum

248K 1K 93
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.

89K 4K 527
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.

82K 998 106
natasha
navec

Compact high quality word embeddings for Russian language

76K 220 19
tensorflow
tensorflow-model-optimization

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

52K 2K 348
rajveer43
veloxquant-mlx

Fast KV-cache quantization for Apple Silicon (MLX) — 43 research-adapted compression methods with Metal kernels

44K 27 8
RyanCodrai
turbovec

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

43K 17K 1K
ModelCloud
gptqmodel

LLM model quantization (compression) toolkit with HW acceleration support for Nvidia, AMD, Intel GPU and Intel/AMD/Apple CPU via HF, vLLM, and SGLang.

39K 1K 210
vllm-project
llmcompressor

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

34K 4K 685
Ki6an
fastt5

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

31K 586 76
raws-labs
tigris-ml

Ahead-of-time compiler that fits ML models on embedded devices with hard memory budgets.

30K 7 0
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

28K 3K 327
lucidrains
discrete-key-value-bottleneck-pytorch

Implementation of Discrete Key / Value Bottleneck, in Pytorch

27K 88 3
fastmachinelearning
qonnx

QONNX: Arbitrary-Precision Quantized Neural Networks in ONNX

26K 194 61
PanQiWei
auto-gptq

An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.

25K 5K 547
intel
intel-extension-for-pytorch

A Python package for extending the official PyTorch that can easily obtain performance on Intel platform

23K 2K 323
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology