{"adoption": {"forks": 248, "observed_at": "2026-08-28T04:05:05.004751+00:00", "stars": 1567}, "canonical_url": "https://ross.abutalabs.com/products/brevitas", "card": {"archived": false, "artifact_type": "library", "description": "Brevitas: neural network quantization in PyTorch", "domain": ["deep-learning", "machine-learning", "gpu-computing", "hardware"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training", "gpu-computing"], "health_score": 100, "homepage": "https://xilinx.github.io/brevitas/", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["Xilinx/brevitas"], "name": "Xilinx/brevitas", "platform": ["python", "windows"], "pushed_at": "2026-08-26T12:12:47+00:00", "repo": "Xilinx/brevitas", "stars": 1567, "tags": ["quantization", "quantization-aware-training", "post-training-quantization", "pytorch", "fpga", "xilinx", "neural-networks", "model-compression", "low-precision", "linux", "macos", "gpu"], "topics": ["quantization", "pytorch", "brevitas", "fpga", "neural-networks", "hardware-acceleration", "xilinx", "deep-learning", "ptq", "qat"], "urls": [], "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"], "what_it_is": "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.", "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)"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/brevitas", "repo": "Xilinx/brevitas", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.004751+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:58:59.668441+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "edf53afffaef8e1cabd593e67247ad20c9c79e83e92f1799d56a4e8111393ab0", "fetched_at": "2026-08-28T04:05:05.004751+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Xilinx/brevitas"}, {"content_hash": "4e4eb1f851c806c6648aae1b9074f5ab1b24fb520dc86dfb6d82b4b98cf7f5c5", "fetched_at": "2026-08-29T11:28:54.524790+00:00", "kind": "homepage", "missing": false, "url": "https://xilinx.github.io/brevitas/"}, {"content_hash": "c242a2f5c9ad513e48704eab5ee2cdf7c1c8c5d0eb68262e435e4e30d7adec82", "fetched_at": "2026-08-29T11:28:54.527130+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/brevitas/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 75}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2976, "days_push": 7, "days_rel": 8, "gap_med": 161.0, "n_releases_24m": 5}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}