#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.

Stars
1.6k
License
custom license
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+85
6 May 2026: 1,517 stars13 May 2026: 1,519 stars20 May 2026: 1,523 stars27 May 2026: 1,527 stars3 Jun 2026: 1,528 stars10 Jun 2026: 1,529 stars17 Jun 2026: 1,532 stars24 Jun 2026: 1,534 stars1 Jul 2026: 1,535 stars8 Jul 2026: 1,538 stars15 Jul 2026: 1,545 stars22 Jul 2026: 1,548 stars29 Jul 2026: 1,551 stars5 Aug 2026: 1,553 stars12 Aug 2026: 1,557 stars19 Aug 2026: 1,559 stars26 Aug 2026: 1,561 stars2 Sept 2026: 1,563 stars9 Sept 2026: 1,565 stars16 Sept 2026: 1,571 stars23 Sept 2026: 1,574 stars30 Sept 2026: 1,578 stars7 Oct 2026: 1,581 stars14 Oct 2026: 1,582 stars21 Oct 2026: 1,588 stars28 Oct 2026: 1,590 stars4 Nov 2026: 1,593 stars11 Nov 2026: 1,595 stars18 Nov 2026: 1,600 stars25 Nov 2026: 1,602 stars

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
Also in ML frameworks and libraries
RankProjectScore
#187vizdoomDoom-based environment for training reinforcement learning agents from screen pixels2.1k starsno license59 out of 100
#188responsible-ai-toolboxDashboards for debugging model errors, fairness and explanations in Jupyter1.9k starsMIT59 out of 100
#190tensorboardWeb dashboards for inspecting TensorFlow training runs, graphs and embeddings7.3k starsApache-2.058 out of 100
#191botorchBayesian optimization library built on PyTorch and GPyTorch3.7k starsMIT58 out of 100
#192optimumHugging Face toolkit for exporting and running models on specific accelerators3.5k starsApache-2.058 out of 100