Memory bandwidth is the target
Packed ternary weights reduce the bytes streamed per token; compute layouts spend RAM only when the hardware path benefits.
Software system 03 / Inference
Hyphae BitNet is the foundation repository for the current celiums-bitnet runtime: one-shot generation, native HTTP serving, an experimental C ABI, and prefill/decode benchmarks.
Make supported ternary models operational on ordinary CPU servers without turning approximate kernels, uncontrolled RAM growth, or inherited engine internals into hidden product behavior.
01 / Benefits
Packed ternary weights reduce the bytes streamed per token; compute layouts spend RAM only when the hardware path benefits.
I2_S uses (D−S)ρ and Q1 uses 2P−S with integer accumulation; approximate LUT-GEMM and T-MAC stay outside strict mode.
Model load or session creation refuses to exceed the configured working-set cap instead of making the host unusable.
Supported architecture and file-type combinations are explicit; ordinary Llama/Qwen Q4 models and colliding Q2 formats are refused.
Applications use the celiums-bitnet CLI, C ABI, or native HTTP subset instead of binding to GGML internals.
Benchmarks include model digests, RAM cap, CPU/ISA, prefill/decode split, raw JSON, and explicit non-claims.
02 / Architecture
Packed GGUF remains the durable store. An optional, budgeted in-memory compute layout matches the CPU ISA; prefill and decode then use different kernels.
I2_S BitNet or Q1_0 Bonsai; architecture, type, revision, and digest remain operator-visible
ram_budget reserves host headroom and fails before allocation if the selected layout cannot fit
ARM i8mm expands Q1 to int8 ±1; x86 VNNI keeps bit-packed 4×8 panels; I2_S uses strict tinyBLAS paths
GEMM reuses each weight panel across eight then four activation rows
GEMV handles one token and streams the weight image once; prefill optimizations do not pretend to accelerate decode
Tokenize, prefill, decode, logits, sampling, cancellation, streaming callbacks, HTTP/SSE, and JSONL benches
03 / Surface
Microsoft BitNet b1.58 2B in MOSTLY_I2_S with pinned conversion identity and exactness gates.
Pre-quantized Q1_0 Qwen35 family with 1-bit signs, FP16 block scales, DeltaNet plus attention, and explicit family selection.
One-shot generation, native HTTP completion/chat subset, SSE, API keys, metrics, stop sequences, and cooperative cancellation.
A separate Rust process can add retrieval, memory, receipts, registry, proofs, semantic cache, and MCP without linking Hyphae into GGML.
04 / Evidence
Prefill and decode have different rooflines. The published receipts report both and preserve cases where a layout helps one phase but hurts another.
Q1 expand-to-int8 vs packed mmap
high thread counts can regress
8-row vs 4-row GEMM
refused before model allocation
The Graviton and Xeon figures apply only to the named models, digests, machines, thread counts, prompt/generation lengths, and 64 GiB cap. Expanding Q1 can reduce high-thread decode when DRAM saturates.
Hyphae BitNet