#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.

Stars
42.5k
License
MIT
Last commit
Jul 2026
Language
C++
Stars, last 35 weeks+6,621
24 Mar 2026: 35,911 stars31 Mar 2026: 36,312 stars7 Apr 2026: 37,157 stars14 Apr 2026: 37,740 stars21 Apr 2026: 37,957 stars28 Apr 2026: 38,150 stars5 May 2026: 38,363 stars12 May 2026: 38,488 stars19 May 2026: 38,595 stars26 May 2026: 38,687 stars2 Jun 2026: 38,746 stars9 Jun 2026: 38,886 stars16 Jun 2026: 38,961 stars23 Jun 2026: 39,038 stars30 Jun 2026: 39,230 stars7 Jul 2026: 39,294 stars14 Jul 2026: 39,428 stars21 Jul 2026: 39,487 stars28 Jul 2026: 39,527 stars4 Aug 2026: 39,573 stars11 Aug 2026: 39,789 stars18 Aug 2026: 39,907 stars25 Aug 2026: 40,002 stars1 Sept 2026: 40,061 stars8 Sept 2026: 40,083 stars15 Sept 2026: 40,135 stars22 Sept 2026: 40,225 stars29 Sept 2026: 40,257 stars6 Oct 2026: 40,303 stars13 Oct 2026: 41,095 stars20 Oct 2026: 41,187 stars27 Oct 2026: 41,253 stars3 Nov 2026: 41,465 stars10 Nov 2026: 41,546 stars17 Nov 2026: 41,865 stars24 Nov 2026: 42,532 stars

35,911 on 24 Mar 202642,532 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

On Hacker NewsRead 29 Nov 2026 from Hacker News search.

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
Also in Model serving
RankProjectScore
#102chituLLM inference engine for NVIDIA and Chinese accelerators, from CPU to clusters3k starsApache-2.057 out of 100
#103omeKubernetes operator that deploys and manages LLM serving with SGLang and vLLM529 starsApache-2.056 out of 100
#105OpenLLMCLI that serves open LLMs as OpenAI-compatible APIs with a built-in chat UI12.6k starsApache-2.054 out of 100
#106metarankRanking service that reranks search and recommendation results from click signals Live demo ↗ (opens in a new tab)2.5k starsApache-2.054 out of 100
#107llm-scalerIntel-maintained vLLM and ComfyUI images for text, image and video on Arc Pro GPUs592 starsApache-2.054 out of 100