Microsoft BitNet on GitHub
Official source code, issues, and community workflow for the BitNet inference framework
The canonical project lives at github.com/microsoft/BitNet under the MIT license. This page explains how newcomers typically interact with the repository alongside our getting started docs.
Clone and submodules
BitNet vendors or tracks dependencies such as llama.cpp-related sources. After cloning, run the submodule steps from the README so your tree matches CI. Skipping submodules is a common cause of missing headers or stale llama.cpp errors.
Build
Follow platform-specific instructions in installation and BitNet on Windows. Linux users usually need CMake, a modern C++ compiler, and optional CUDA for GPU builds.
Where to ask for help
- Bug reports: GitHub Issues with repro steps, OS, GPU model, and commit hash.
- How-to questions: Discussions or community threads linked from the repo.
- Security: Use Microsoft’s disclosure process if applicable—do not post exploit details in public issues.
Contributing
Read contributing and the upstream CONTRIBUTING.md. Pull requests should include tests or benchmark notes when touching kernels or build scripts.