bitnet

A C++ framework for preparing and running supported quantized 1-bit large language models from the command line.

Browse open issues

Pick a small issue you can reproduce, then fix it with your AI coding agent.

Share on XLicense: MIT

Overview

bitnet.cpp is a C++ inference framework for 1-bit large language models. It provides a command-line workflow to prepare and run supported quantized models. Use the setup script to specify a supported model and quantization type, then run inference by providing a model file and prompt. The repository also documents options for logging and pretuned kernel parameters.

Key features

  • Set up a supported model and choose the i2_s or tl1 quantization type.
  • Run command-line inference with a model file and prompt; logging and pretuned kernel options are documented.

Best for

Developers who want a C++ command-line workflow for inference with supported quantized 1-bit language models.

Upstream
microsoft/BitNet
Fork on GitHub
Guo-astro/bitnet
Upstream stars
41k
Category
AI agents and LLM tools
License
MIT
Forked
2026-10-10
Sync status
In syncLast synced 2026-11-08