FairyFuse Achieves 29.6x Kernel Speedup on CPUs via Ternary Weight Multiplication-Free Inference

✍️ OpenClawRadar📅 Published: May 13, 2026🔗 Source
Ad

FairyFuse is an inference system for ternary (values in {-1,0,+1}) LLMs on commodity CPUs. By fusing the eight real-valued sub-GEMVs of each widely-linear layer into a single AVX-512 loop using masked additions and subtractions, it eliminates all floating-point multiplications. Roofline analysis shows that 16x weight compression shifts memory-bound GEMV toward the compute regime on bandwidth-limited CPUs, yielding a 29.6x kernel speedup over conventional dequantize-and-multiply kernels. Notably, the approach offers little benefit on GPUs.

Ad

Key Results

  • End-to-end throughput: 32.4 tokens per second on a single Intel Xeon 8558P.
  • Comparison to llama.cpp Q4_K_M: 1.24x faster with near-lossless quality (WikiText-2 perplexity 5.52 vs. 5.47 for FP16; downstream accuracy 66.0% vs. 66.0% FP16).
  • Weight compression: 16x (2 bits per weight) due to ternary representation — no dequantization to FP needed.
  • Technique: Fuses eight sub-GEMVs into a single AVX-512 loop using masked adds/subtracts — no floating-point multiplications at all.

Context

Prior work (Fairy2i) showed that ternary LLMs can match FP16 quality, but runtime didn't exploit the structure. FairyFuse bridges that gap by rearchitecting inference to be multiplication-free on x86 CPUs with AVX-512.

📖 Read the full source: HN LLM Tools

Ad

👀 See Also

STAR Reasoning Framework Accuracy Drops from 100% to 0% in Production Prompts
News

STAR Reasoning Framework Accuracy Drops from 100% to 0% in Production Prompts

A researcher found that the STAR reasoning framework, which raised Claude's accuracy on an implicit constraint problem from 0% to 100% in isolation, dropped to 0-30% accuracy when used inside a 60-line production system prompt. The issue was caused by conflicting instructions in the production prompt that triggered premature answer commitments.

OpenClawRadar
Claude Code 2.1.76 adds MCP elicitation, worktree improvements, and fixes for context limits
News

Claude Code 2.1.76 adds MCP elicitation, worktree improvements, and fixes for context limits

Claude Code version 2.1.76 introduces MCP elicitation support for structured input during tasks, adds worktree.sparsePaths for large monorepos, and fixes 'Context limit reached' errors on 1M-context sessions. Version 2.1.75 made 1M context windows default for Opus 4.6 on Max, Team, and Enterprise plans.

OpenClawRadar
Georgia AI Data Center Drained 29M Gallons of Unmetered Water
News

Georgia AI Data Center Drained 29M Gallons of Unmetered Water

QTS Fayetteville campus drew 29M gallons via two unauthorized water connections over 15 months, causing low pressure complaints. County waived fines, charged $147K retroactive.

OpenClawRadar
Apple Intelligence and Siri AI: Reimagined Assistant with Visual Intelligence and Writing Tools
News

Apple Intelligence and Siri AI: Reimagined Assistant with Visual Intelligence and Writing Tools

Apple announces Siri AI with natural conversation, personal context understanding, Visual Intelligence on iPad/Mac/Vision Pro, and Write with Siri across apps. Coming in English later this year.

OpenClawRadar