microsoft/BitNet
Official inference framework for 1-bit LLMs
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
The project lists 16 contributors on GitHub.
Peaked at #2 in the weekly ranking the week of Jan 25, its best in the past year.
Use Cases & Benefits
- Provides an optimized inference framework for 1-bit large language models (LLMs) enabling fast and lossless execution on CPUs and GPUs.
- Delivers significant speedups and energy savings on ARM and x86 CPUs, allowing large 1-bit LLMs to run efficiently on local devices without specialized hardware.
- Use for deploying compact, energy-efficient LLM inference on edge devices or personal computers with limited computational resources.
- Use for benchmarking and evaluating performance of 1-bit quantized LLMs across different CPU architectures and kernel implementations.
- Use for researchers and developers converting and running state-of-the-art 1-bit LLMs from Hugging Face models in production or experimental setups.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Code of conduct: present
Watch-outs
- No GitHub releases; pin a commit or tag instead of a release.
General guidance from repository metadata, not legal advice. How we score
From the README
Try it out via this demo, or build and run it on your own CPU or GPU.
bitnet.cpp is the official inference framework for 1-bit LLMs (e.g., BitNet b1.58). It offers a suite of optimized kernels, that support fast and lossless inference of 1.58-bit models on CPU and GPU (NPU support will coming next).
The first release of bitnet.cpp is to support inference on CPUs. bitnet.cpp achieves speedups of 1.37x to 5.07x on ARM CPUs, with larger models experiencing greater performance gains. Additionally, it reduces energy consumption by 55.4% to 70.0%, further boosting overall efficiency. On x86 CPUs, speedups range from 2.37x to 6.17x with energy reductions between 71.9% to 82.2%. Furthermore, bitnet.cpp can run a 100B BitNet b1.58 model on a single CPU, achieving speeds comparable to human reading (5-7 tokens per second), significantly enhancing the potential for running LLMs on local devices. Please refer to the technical report for more details.
The tested models are dummy setups used in a research context to demonstrate the inference performance of bitnet.cpp.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
3.9K+179
Open issues
380+63
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 187.8K | +2.9K | 15 | — |
| DuarteSantos8/openGym | 19.7K | +2.4K | 60 | 2 days ago |
| shiyu-coder/Kronos | 47.0K | +2.3K | 16 | — |
| NationalSecurityAgency/ghidra | 98.2K | +2.3K | 64 | 14 days ago |
| microsoft/VibeVoice | 56.0K | +1.1K | 29 | — |
| microsoft/BitNet | 41.5K | — | 20 | — |
| Category median | 56.0K | +2.3K | 29 | — |
Also by microsoft
Other repositories from this maintainer that GStars tracks
- TypeScript194.4K stars
vscode
Visual Studio Code
- Python193.9K stars
markitdown
Python tool for converting files and office documents to Markdown.
- C140.1K stars
PowerToys
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
- Jupyter Notebook122.9K stars
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI
- Go111.7K stars
TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Discover Repositories
Search across tracked repositories by name or description