#189189th of 433 in ML frameworks and libraries
brevitas
PyTorch library for post-training quantization and quantization-aware training
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 brevitas on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.brevitas is on your watch list. Its new releases and problems show there.
- Stars
- 1.6k
- License
- custom license
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
1,517 on 6 May 20261,602 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Brevitas provides quantized versions of PyTorch layers under brevitas.nn (QuantConv2d, QuantLSTM, QuantMultiheadAttention and others) for both PTQ and QAT. Inputs, weights, bias and outputs can each be configured separately. It ships an ImageNet PTQ example that quantizes torchvision models across bit-widths and scale granularities. It is described as a research project, not an official Xilinx product.
Who it is for: ML engineers quantizing PyTorch models for efficient deployment
Strengths
- Covers both PTQ and QAT in one PyTorch library
- Separate quantization settings for inputs, weights, bias and outputs
- Quantized Conv, ConvTranspose, RNN, LSTM and multihead attention layers
- Runs on Windows, Linux and macOS; installs with pip
Weaknesses
- Explicitly a research project, not an official Xilinx product
- Newer PyTorch versions than the stated range are untested
- README gives one PTQ example, limited to ImageNet classification
- License is detected as NOASSERTION, so terms need checking in the repo
What it needs
- GPU optional
- Needs Python >= 3.10, PyTorch >= 2.5
- Models: PyTorch nn.Module, torchvision models
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 |
|---|---|---|
| #187 | vizdoomDoom-based environment for training reinforcement learning agents from screen pixels | 59 out of 100 |
| #188 | responsible-ai-toolboxDashboards for debugging model errors, fairness and explanations in Jupyter | 59 out of 100 |
| #190 | tensorboardWeb dashboards for inspecting TensorFlow training runs, graphs and embeddings | 58 out of 100 |
| #191 | botorchBayesian optimization library built on PyTorch and GPyTorch | 58 out of 100 |
| #192 | optimumHugging Face toolkit for exporting and running models on specific accelerators | 58 out of 100 |