Taco: hardware-agnostic LLM compression with one hash across 7 backends

phoenix10701 · reddit · 2026-10-20

Open-source Taco tackles a core LLM compression problem: the decoder must compute exactly the same probabilities as the encoder, but float math differs across hardware — a float GPT-2 encoded on a Mac decoded 0 of 4 windows on x86. The approach: integer-only inference (int8 weights, fixed rounding, lookup tables), an exact float32→integer converter (mantissa × 2^exp), and conformance vectors, yielding one identical hash across 7 backends (Mac CPU/Metal, Linux CPU/CUDA, Windows CPU/CUDA/Vulkan).

Original post →

More from Infra

Infra channel →