Xilinx/brevitas
Some data may be outdated — see provenance labels.
Brevitas: neural network quantization in PyTorch observed · 2026-10-03
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 84
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 30.5
- age_days: 3024
- days_rel: 27
- days_push: 18
- n_releases_24m: 7
Adoption not part of the score
1582 stars · 253 forks observed · 2026-10-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Brevitas is a PyTorch library for neural network quantization supporting both post-training quantization (PTQ) and quantization-aware training (QAT). It provides quantized implementations of common PyTorch layers with fine-grained control over quantization settings, and is closely tied to Xilinx FPGA deployment flows.
Use cases
- quantize a PyTorch model to low bit-widths
- run quantization-aware training for a CNN
- apply post-training quantization to an ImageNet classifier
- prepare a neural network for FPGA deployment
- quantize weights, activations, and biases of conv and attention layers
- compress a model for hardware acceleration
When to choose
- you need PTQ or QAT in PyTorch with per-tensor quantization control
- you are targeting Xilinx/FPGA or other low-precision hardware inference
- you want quantized layers like QuantConv2d, QuantLSTM, or QuantMultiheadAttention
When to avoid
- you need a one-click quantization tool with no configuration
- your project is outside PyTorch
- you need production support from an official vendor product (Brevitas is a research project)
Facets
library · maturity active
machine-learning deep-learning llm-training gpu-computing deep-learning machine-learning gpu-computing hardware python windows quantization quantization-aware-training post-training-quantization pytorch fpga xilinx neural-networks model-compression low-precision linux macos gpu
3 sources
- readme: https://github.com/Xilinx/brevitas · fetched 2026-10-03 · edf53afffaef
- homepage: https://xilinx.github.io/brevitas/ · fetched 2026-08-29 · 4e4eb1f851c8
- registry_pypi: https://pypi.org/pypi/brevitas/json · fetched 2026-08-29 · c242a2f5c9ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Xilinx/brevitas | main | 93 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem