AGENT SKILL

microsoft--bitnet

BitNet.cpp — official inference framework cho 1-bit LLMs: 1.37x-6.17x speedup, -55-82% energy. Chạy 100B model trên single CPU 5-7 tok/s. ARM + x86.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 13
Forks
2

01 前言 Front Matter

name
microsoft--bitnet
description
BitNet.cpp — official inference framework cho 1-bit LLMs: 1.37x-6.17x speedup, -55-82% energy. Chạy 100B model trên single CPU 5-7 tok/s. ARM + x86.
allowed-tools
Bash, Read, Write
user-invocable
true

03 SKILL.md 正文

BitNet.cpp: inference framework cho 1.58-bit quantized LLMs — lossless, fast, energy-efficient. Chạy model 100B trên CPU thông thường.

Install

git clone https://github.com/microsoft/BitNet
cd BitNet
pip install -r requirements.txt
# Build: cmake + make

Usage

# Inference
python run_inference.py \
  -m models/BitNet-b1.58-2B-4T \
  -p "What is AI?" \
  -cnv

# Benchmark
python benchmark.py -m models/BitNet-b1.58-2B-4T --threads 4

# Convert SafeTensors → BitNet format
python convert_safetensors.py --input model.safetensors

Performance

ARM CPUs:  1.37x – 5.07x speedup | -55% – 70% energy
x86 CPUs:  2.37x – 6.17x speedup | -72% – 82% energy

100B model trên single CPU: 5-7 tokens/second

Supported Models

Microsoft:
  BitNet-b1.58-2B-4T (2.4B params) — official flagship

Community:
  BitNet 0.7B – 3.3B
  Llama3-8B-1.58
  Falcon3 1B – 10B
  Falcon-E 1B – 3B

Kernels: I2_S, TL1, TL2 (platform-specific)

Khi nào dùng

  • Muốn chạy LLM local trên CPU không có GPU
  • Edge deployment: embedded systems, IoT
  • Energy-constrained environments
  • Research: 1-bit quantization effects

Khi KHÔNG dùng

  • Cần full-precision quality → dùng llama.cpp với GGUF
  • Cần model lớn hơn (70B+) → hardware constraints vẫn áp dụng

Source

https://github.com/microsoft/BitNet · MIT · official inference framework

04 同仓库更多 Skills

Horonomos-laps
Horonomos-laps/Yana-AI

openai--sentry--sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ito-basket-compare

Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-network-traffic-baselining

Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

detecting-evasion-techniques-in-endpoint-logs

Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-microsegmentation-with-guardicore

Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ramdisk-tmpfs-patterns

暂无简介

★ 13