#104104th of 129 in Model serving
bitnet
Inference framework for 1.58-bit ternary LLMs on CPU and GPU
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts bitnet on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.bitnet is on your watch list. Its new releases and problems show there.
- Stars
- 42.5k
- License
- MIT
- Last commit
- Jul 2026
- Language
- C++
35,911 on 24 Mar 202642,532 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- BitNet: Inference framework for 1-bit LLMs (opens in a new tab) (370 points, Mar 2026)
- Microsoft BitNet: inference framework for 1-bit LLMs (opens in a new tab) (173 points, Oct 2024)
Overview
bitnet.cpp is Microsoft's llama.cpp-based inference framework with optimized I2_S, TL1 and TL2 kernels for ternary BitNet b1.58 models on x86 and ARM CPUs, plus a GPU kernel. It runs GGUF models through Python scripts for setup, chat and benchmarking. The README reports 1.37x to 6.17x CPU speedups over full-precision baselines.
Who it is for: Engineers running or benchmarking 1-bit LLMs on CPUs or edge devices
Strengths
- Reports 2.37x-6.17x speedups on x86 and 1.37x-5.07x on ARM versus full precision
- Runs a 100B BitNet b1.58 model on one CPU at 5-7 tokens per second (per README)
- Supports official 2B-4T and embedding models plus Falcon3, Falcon-E and Llama3-8B ternary variants
- Includes an end-to-end benchmark script and a dummy-model generator
Weaknesses
- Only ternary 1-bit models are supported; ordinary GGUF models are out of scope
- No HTTP server or OpenAI-compatible API described; usage is via run_inference.py CLI
- Kernel support is uneven across models; embedding models have no ARM support
- Build needs clang>=18, cmake>=3.22 and Python>=3.10; no Docker or release builds
What it needs
- GPU optional
- Needs python>=3.10, cmake>=3.22, clang>=18, conda, huggingface-cli
- Models: BitNet-b1.58-2B-4T, BitNet-embedding-0.6B, BitNet-embedding-270M, bitnet_b1_58-large, bitnet_b1_58-3B
Also in Model serving
See all 129| Rank | Project | Score |
|---|---|---|
| #102 | chituLLM inference engine for NVIDIA and Chinese accelerators, from CPU to clusters | 57 out of 100 |
| #103 | omeKubernetes operator that deploys and manages LLM serving with SGLang and vLLM | 56 out of 100 |
| #105 | OpenLLMCLI that serves open LLMs as OpenAI-compatible APIs with a built-in chat UI | 54 out of 100 |
| #106 | metarankRanking service that reranks search and recommendation results from click signals | 54 out of 100 |
| #107 | llm-scalerIntel-maintained vLLM and ComfyUI images for text, image and video on Arc Pro GPUs | 54 out of 100 |