bitnet.cpp
Open-source framework from Microsoft that runs heavily compressed 1-bit language models such as BitNet b1.58 quickly and efficiently on ordinary CPUs.
What it does
bitnet.cpp is an inference framework for language models whose weights take up only about 1.58 bits. It ships optimised kernels for x86 and ARM processors and a GPU kernel. Officially supported are the BitNet b1.58 2B4T model and two embedding models with 0.6 billion and 270 million parameters; several community 1-bit models such as Falcon3 and Llama3-8B-1.58 also run. Microsoft measures CPU inference as up to six times faster, using far less energy than conventional formats.
Who it suits
Development teams and researchers who want to run language models on their own hardware without an expensive graphics card, such as servers, laptops or edge devices. You need experience with the command line, Python and build tools.
Data protection for businesses
You install bitnet.cpp yourself and the models run entirely on your machines. Your inputs do not leave your infrastructure and are not sent to Microsoft. You decide on server location and data protection yourself. There is no data processing agreement or business plan, as no cloud service is involved.
Limits
Only models in the special 1-bit format run, and the selection is small. Setup requires Python 3.10 or later, CMake 3.22 or later and clang 18 or later, plus Visual Studio 2022 on Windows. NPU support is still missing, and there is no graphical interface, only the command line and a chat mode in the terminal.