#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.
Watch puts optimum-quanto on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.optimum-quanto is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Mar 2025
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #333 | ampligraphTensorFlow 2 library for knowledge graph embeddings and link prediction | 36 out of 100 |
| #334 | openmldbSQL feature platform giving consistent ML features for training and inference | 36 out of 100 |
| #336 | bertvizInteractive attention visualizer for Transformer models in Jupyter and Colab | 35 out of 100 |
| #337 | robosuiteMuJoCo-based robot learning simulator with benchmark manipulation tasks | 35 out of 100 |
| #338 | habitat-labPython library for training embodied AI agents in simulated indoor scenes | 34 out of 100 |