Written by Jakub Rusinowski · Last updated July 10, 2026
Traditional LLMs use 16-bit floating point numbers (FP16) for their weights. This requires massive amounts of VRAM and heavy matrix multiplication operations, which GPUs excel at but CPUs struggle wit
Traditional LLMs use 16-bit floating point numbers (FP16) for their weights. This requires massive amounts of VRAM and heavy matrix multiplication operations, which GPUs excel at but CPUs struggle with.
BitNet b1.58 is a research breakthrough from Microsoft that changes the game.
Instead of thousands of possible values for every weight in the neural network, BitNet constrains weights to just three values: {-1, 0, 1}.
Mathematically, this is about 1.58 bits (log2(3)).
Why is this a big deal? 1. No Matrix Multiplication: The heavy 'MatMul' operations become simple Addition/Subtraction. 2. Extreme Efficiency: It uses significantly less memory and energy. 3. CPU Speed: Because it relies on addition rather than float multiplication, it runs incredibly fast on standard CPUs (like your laptop processor), reducing the need for expensive NVIDIA GPUs.
While standard Ollama doesn't fully support the custom kernels for 1-bit inference yet, you can run it using the specialized bitnet.cpp inference engine (based on llama.cpp).
You will need git, cmake, and a C++ compiler (clang or gcc).
# 1. Clone the repo
git clone --recursive https://github.com/microsoft/BitNet.git
cd BitNet
# 2. Build via Python setup (Easiest)
pip install -r requirements.txt
python setup.py install
Download the quantized b1.58 GGUF or specialized format from Hugging Face.
# Example using huggingface-cli
huggingface-cli download 1bitLLM/bitnet_b1_58-3B --local-dir models/bitnet-3b
# Run using the python wrapper
python run_inference.py --model models/bitnet-3b --prompt "Explain quantum computing"
BitNet proves that we don't need high-precision math for intelligence. This paves the way for running powerful AI on phones, watches, and IoT devices efficiently.