#335335th of 433 in ML frameworks and libraries

optimum-quanto

PyTorch quantization library for Hugging Face LLMs and diffusers models

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.1k
License
Apache-2.0
Last commit
Nov 2026
Last release
Mar 2025
Language
Python
Stars, last 29 weeks+27
8 May 2026: 1,029 stars15 May 2026: 1,030 stars22 May 2026: 1,032 stars29 May 2026: 1,033 stars5 Jun 2026: 1,033 stars12 Jun 2026: 1,033 stars19 Jun 2026: 1,034 stars26 Jun 2026: 1,036 stars3 Jul 2026: 1,038 stars10 Jul 2026: 1,039 stars17 Jul 2026: 1,040 stars24 Jul 2026: 1,042 stars31 Jul 2026: 1,045 stars7 Aug 2026: 1,048 stars14 Aug 2026: 1,048 stars21 Aug 2026: 1,048 stars28 Aug 2026: 1,050 stars4 Sept 2026: 1,050 stars11 Sept 2026: 1,050 stars18 Sept 2026: 1,050 stars25 Sept 2026: 1,050 stars2 Oct 2026: 1,050 stars9 Oct 2026: 1,052 stars16 Oct 2026: 1,052 stars23 Oct 2026: 1,052 stars30 Oct 2026: 1,054 stars6 Nov 2026: 1,055 stars13 Nov 2026: 1,055 stars20 Nov 2026: 1,055 stars27 Nov 2026: 1,056 stars

1,029 on 8 May 20261,056 on 27 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Optimum Quanto quantizes PyTorch models to int2, int4, int8 or float8 weights, and int8 or float8 activations, in eager mode. It has helpers to quantize, save and reload Hugging Face LLMs and diffusers submodels, plus a low-level API with calibration, quantization-aware training and safetensors serialization. The project is in maintenance mode, and the README points to bitsandbytes or torchAO for active development.

Who it is for: Engineers shrinking PyTorch, LLM or diffusion models for lower memory use

Strengths

  • Works in eager mode, so non-traceable models can be quantized
  • Supports int2/int4/int8/float8 weights and int8/float8 activations
  • Saves to safetensors; reloads via from_pretrained or requantize
  • Covers both transformers LLMs and diffusers pipeline components

Weaknesses

  • Maintenance mode: only minor fixes accepted, no major new features expected
  • No torch.compile (dynamo) compatibility yet
  • Accelerated matmul kernels exist only for some dtype combinations on CUDA
  • Mixed destination types in one tensor are not supported

What it needs

  • GPU optional
  • Needs PyTorch, transformers, diffusers, safetensors
  • Models: Hugging Face transformers LLMs, diffusers (e.g. PixArt transformer), vanilla PyTorch models, safetensors

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#333ampligraphTensorFlow 2 library for knowledge graph embeddings and link prediction2.2k starsApache-2.036 out of 100
#334openmldbSQL feature platform giving consistent ML features for training and inference1.7k starsApache-2.036 out of 100
#336bertvizInteractive attention visualizer for Transformer models in Jupyter and Colab Live demo ↗ (opens in a new tab)8.2k starsApache-2.035 out of 100
#337robosuiteMuJoCo-based robot learning simulator with benchmark manipulation tasks2.7k starscustom license35 out of 100
#338habitat-labPython library for training embodied AI agents in simulated indoor scenes Live demo ↗ (opens in a new tab)3.2k starsMIT34 out of 100