// local-llm · microsoft/BitNet

BitNet

BitNetは、microsoftが公開しているオープンソースのローカルLLMプロジェクトです(GitHub: microsoft/BitNet)。GitHubスターは41,232、フォークは3,837で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年7月27日です。

BitNet — Microsoft's official inference framework for 1-bit large language models, running fast on ordinary CPUs, MIT

★ 41.2k スター⑂ 3.8k フォークMIT更新 2026年7月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
microsoft/BitNet
GitHubスター
41,232
フォーク
3,837
ライセンス
MIT
GitHubでの最終更新
2026年7月27日
カテゴリ
ローカルLLM
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clone recursively and create the environment

    Clone with submodules, create the recommended conda environment, and install the Python requirements.

  2. Download a 1-bit model

    Fetch the official BitNet b1.58 2B GGUF weights from Hugging Face into a local models directory.

  3. Set up the environment and run

    Point setup_env.py at the downloaded model with the i2_s quantisation and run inference locally.

// 機能

選ばれる理由

1-bit weights, CPU-speed inference

Ternarised weights (-1, 0, 1) shrink the model so far that capable LLMs run fast on ordinary CPUs instead of needing a GPU.

Official Microsoft framework

The reference implementation for BitNet models, with the technical report (arXiv 2502.11880) behind the 1-bit approach.

GPU kernels too

A GPU kernel path exists alongside the CPU-first design for machines that do have a graphics card.

A growing 1-bit family

The same project line now includes 1-bit embeddings and a 1-bit speech-recognition engine (VibeASR.cpp), not just chat models.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone and install dependencies

    The README build route: recursive clone, conda environment, requirements.

    git clone --recursive https://github.com/microsoft/BitNet.git
    conda create -n bitnet-cpp python=3.10
    conda activate bitnet-cpp
    pip install -r requirements.txt
  2. Download the model

    The official 2B model weights from Hugging Face.

    huggingface-cli download microsoft/BitNet-b1.58-2B-4T-gguf --local-dir models/BitNet-b1.58-2B-4T
  3. Set up and run inference

    Prepare the model directory for inference with the i2_s quantisation.

    python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who makes BitNet?

Microsoft, as the official inference framework for its 1-bit LLM research.

Is BitNet free?

Yes — MIT licensed, and the model weights are distributed on Hugging Face under their own terms.

What does 1-bit actually mean?

Model weights are ternarised to just three values (-1, 0, 1) instead of 16-bit floats, which slashes memory and lets CPUs run the model fast.

Do I need a GPU?

No — CPU inference is the point of the framework, though a GPU kernel path exists for machines that have one.

How do I get started?

Clone recursively, set up the conda environment, download the BitNet-b1.58-2B-4T GGUF weights, and run setup_env.py against them.

// さらに探索

似ているツール

ローカルLLM

FastChat

An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.

★ 39.6k スターApache-2.0
ガイドを見る →
ローカルLLM

llm

Access large language models from the command-line

★ 12.6k スターApache-2.0
ガイドを見る →
ローカルLLM

Strata

Strata — one-click Qwen3.8-Flash-Next inference on consumer hardware: chat, code and images, locally, no account, MIT

★ 33.3k スターMIT
ガイドを見る →
ローカルLLM

vllm-omni

vLLM-Omni — efficient inference for omni-modality models: image, audio, video, diffusion and policies.

★ 7.1k スターApache-2.0
ガイドを見る →
ローカルLLM

omlx

A fast LLM inference server for Apple Silicon, managed from the macOS menu bar

★ 22.6k スターApache-2.0
ガイドを見る →
ローカルLLM

MNN

Alibaba's lightweight, blazing-fast inference engine for on-device LLMs and edge AI.

★ 16.2k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: ローカルLLM

LibreAIカタログに掲載されたローカルLLMプロジェクトの中で最もスターの多いもの — BitNetが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る local-llm

さらに見る: ローカルLLM

カタログの中でBitNetとスター数が近いローカルLLMプロジェクト — 前後の棚もそのまま見て回れます。

BitNetを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。