FairyFuse Achieves 29.6x Kernel Speedup on CPUs via Ternary Weight Multiplication-Free Inference
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.
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
👀 See Also

Claude Code System Prompts Updated: New File Modification Reminder & REPL Clarifications, Malware Analysis Reminder Removed
Claude Code (CC) versions 2.1.124 (+166 tokens) and 2.1.126 (-87 tokens) update the system prompt: adds file modification detection with budget exceeded warning, replaces core-identity function with explicit harness instructions, clarifies REPL thenable auto-await behavior, and removes the malware analysis reminder.

Hidden pet system discovered in Claude Code leak: gacha mechanics with ASCII animations
Analysis of leaked Claude Code reveals a hidden companion pet system with 18 species, rarity tiers, and ASCII animations. The system uses deterministic hashing from user IDs to generate unique pets without storing species data.

Google donates Agent Payments Protocol (AP2) to FIDO Alliance, releases v0.2 with 'Human Not Present' payments
Google is donating the Agent Payments Protocol (AP2) to the FIDO Alliance, and releasing v0.2 with support for autonomous 'Human Not Present' payments and a new Verifiable Intent standard co-developed with Mastercard.

Claude Lacks Engineering Memory: On-Call Incident Reveals Missing Episodic Recall for Debugging Journeys
A developer spent 10 hours debugging a Kafka burst issue in a 1500-file monorepo, only to realize they had solved the exact same problem 4 months earlier — revealing that AI coding assistants like Claude lack episodic memory for past debugging journeys.