Independent project. Not a U.S. government website.

USASI
SoftwareRuntime

bitnet.cpp (BitNet inference framework)

Project record

Maintained by Microsoft21

bitnet.cpp is Microsoft's official inference framework for 1-bit large language models, such as BitNet b1.58, whose weights are ternary (1.58-bit). It provides optimized kernels for running these models on x86 and ARM CPUs, with a separate GPU inference kernel, and is based on llama.cpp.1Fact reviewed Oct 1, 2026

Last reviewedEntry updated Documented release Unknown

Availability and license

Overall availability

Public

Documented as available to the general public. Access conditions and license terms may still apply.12

Availability fact review: Oct 1, 2026

Availability is separate from permission: read the license before using or redistributing.

The MIT entry covers the bitnet.cpp code. The BitNet b1.58 2B4T weights are published separately on Hugging Face; that model card states that the model weights and code are released under the MIT License, and its LICENSE file names Microsoft Corporation.245Fact reviewed Oct 1, 2026

Component reuse rights

A readable or downloadable component is not automatically reusable. These indicators concern recorded license evidence, not system certification.
weights
Unknown — no complete fact-level rights review
code
Reviewed qualifying license recorded — check scope and conditions
data
Unknown — no complete fact-level rights review
documentation
Unknown — no complete fact-level rights review

No complete system-rights review is recorded for this release.

Public materials checklist

Items for a runtime under USASI rubric v0.2. Unknown means unassessed or insufficient evidence.
Public materials checklist for bitnet.cpp (BitNet inference framework)
ItemStatusNotes and evidence
Source codeIs the source code publicly readable?PublicPublic repository in Microsoft's GitHub organization.1
DocumentationIs user documentation published?PublicThe README documents requirements, building, usage, benchmarking, and checkpoint conversion, with linked guides for the GPU kernel and CPU optimizations.1
InstallationAre installation instructions or packages publicly available?PublicBuild from source with Python 3.10 or later, CMake 3.22 or later, and Clang 18 or later (Visual Studio 2022 tooling on Windows); conda is recommended. A setup script prepares a downloaded model and builds the kernels.1
Supported platformsAre supported operating systems or hardware documented?PublicThe README lists which CPU kernels (I2_S, TL1, TL2) support each model on x86 and ARM, and gives build instructions for Windows and Debian/Ubuntu. GPU inference uses a separate kernel documented in the repository.1
Release statusAre versioned releases published?PartialThe README announces bitnet.cpp 1.0 (October 17, 2024) and later kernel updates, but the GitHub repository has no published releases; it is built from the main branch.13

What it is useful for

Running ternary BitNet models locally on CPUs, including Microsoft's BitNet b1.58 2B4T language model and BitNet embedding models.14Fact reviewed Oct 1, 2026

Run and use notes

Documented facts only. No hardware or performance claims are made without a cited source and stated assumptions.
  • The BitNet b1.58 2B4T model card says its efficiency benefits require bitnet.cpp; running the model with the standard Transformers library is not expected to give speed, latency, or energy gains.4
  • The README's build example downloads the GGUF version of BitNet b1.58 2B4T from Hugging Face and prepares it with the i2_s quantization type.1

Organization context

Provenance and derivatives

bitnet.cpp is based on the llama.cpp framework, and its kernels build on the lookup-table methods of Microsoft's T-MAC project, per the README.1

U.S. eligibility

Project eligibility rests on documented governing or maintaining entities, not on contributors.

Eligible · basis: U.S.-governed project

The repository is in Microsoft's GitHub organization, the README describes bitnet.cpp as the official inference framework for 1-bit LLMs, and the LICENSE names Microsoft Corporation as copyright holder. Microsoft is headquartered in the United States (see the Microsoft record).21

Assessed Oct 1, 2026

Sources

  1. 1.
    microsoft/BitNet README (external site: raw.githubusercontent.com)

    Microsoft · Repository · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  2. 2.
    microsoft/BitNet LICENSE (MIT) (external site: raw.githubusercontent.com)

    Microsoft · License · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  3. 3.
    microsoft/BitNet releases (external site: github.com)

    Microsoft · Release notes · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  4. 4.
    microsoft/bitnet-b1.58-2B-4T model card (external site: huggingface.co)

    Microsoft · Model card · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  5. 5.
    microsoft/bitnet-b1.58-2B-4T LICENSE (MIT) (external site: huggingface.co)

    Microsoft · License · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

Support Us

Help keep USASI useful.

Optional. No USASI account required. Payment takes place on the linked provider’s website (Buy Me a Coffee).

About supporting this project