Xilinx/brevitas
Brevitas: neural network quantization in PyTorch observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- 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-09-03. Adoption (stars, forks) is never an input.
- gap_med: 161.0
- age_days: 2976
- days_rel: 8
- days_push: 7
- n_releases_24m: 5
Adoption not part of the score
1567 stars · 248 forks observed · 2026-08-28
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-08-28 · 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 | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem