AIAny
AI Infra2024
Icon for item

bitnet.cpp (BitNet)

Official inference framework for 1-bit and ternary (1.58-bit) LLMs such as BitNet b1.58, with optimized CPU kernels. Delivers 1.37x-6.17x speedups and 55-82% lower energy on x86 and ARM, and runs a 100B model on a single CPU at 5-7 tokens/sec.

Introduction

Running a 100-billion-parameter language model on a single CPU at human reading speed sounds like it should need a server rack — bitnet.cpp does it on the kind of machine already on your desk. The catch is that these aren't ordinary models being squeezed: they are trained from scratch with ternary weights (-1, 0, 1), so 1.58-bit inference is lossless rather than a lossy quantization of an FP16 original.

What Sets It Apart
  • Purpose-built kernels (I2_S, TL1, TL2) operate on the ternary format directly instead of unpacking it back to int8/fp16, which is where most "low-bit" runtimes quietly give back their gains.
  • Measured 1.37x-5.07x speedups on ARM and 2.37x-6.17x on x86, with energy draw cut 55-82% — numbers that matter more for battery life and datacenter power bills than for leaderboard bragging.
  • It scales the other way too: a 100B BitNet b1.58 model runs on one CPU at 5-7 tokens/sec, roughly conversational reading pace, with no GPU in the loop.
  • Built on the llama.cpp lineage, so the conversion workflow and tooling feel familiar to anyone who has run GGUF models locally.
Who It's For

Great fit if you want local, private, GPU-free inference of ternary LLMs, or if you are studying where 1-bit models land on the accuracy/efficiency curve. Look elsewhere if you need to run standard FP16/INT4 checkpoints — bitnet.cpp only accelerates models actually trained in the BitNet ternary regime, and that pool of models is still small. The GPU path is newer and less battle-tested than the CPU one.

More Items

GitHub
AI Infra2025

Defines a vendor-neutral JSON/YAML semantic model specification and tooling to exchange metrics, dimensions, lineage and other business semantics across analytics, AI and BI platforms; includes a core spec, validators, converters (dbt, GoodData, Salesforce) and example models.

GitHub
AI Train2025

An asynchronous, high-throughput framework for large-scale reinforcement learning and agentic training that scales to 1T+ MoE models and 1000+ GPUs, with native verifiers integration, end-to-end SFT/RL/evals, and Slurm/Kubernetes deployment; requires NVIDIA GPUs.

GitHub

Runs a self-hosted meeting bot and transcription API that joins Google Meet, Teams and Zoom and streams speaker-attributed transcripts in real time. Compiles meetings into a git-backed Markdown workspace and runs sandboxed agents on your infrastructure; Apache-2.0 and air-gap capable.