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

Turns natural-language instructions into end-to-end Android automation that drives real devices and captures Logcat and screenshots. Uses a multimodal “Dynamic‑First, Coordinate‑Fallback” locator and a native MCP server for IDE integration, supporting fast Flash (3–5s/step) and verifiable Pro workflows.

Converts real repositories into verifiable, sandboxed training environments with black-box tests to train coding agents on long-horizon program reproduction. Provides Program-Env for automated environment construction and Program-Agent for a role-isolated development workflow, yielding 1,648 C/C++/Go/Rust tasks and improving benchmark performance.

GitHub
AI Agent2026

Runs a local-first AI agent runtime that drives your desktop and automates workflows — browsing, file edits, approved shell commands, document extraction, and scheduled tasks — while integrating local or cloud LLMs (llama.cpp/TurboQuant) and embedding as an HTTP service or Tauri sidecar.