zlaya: a Zig-based CPU-only inference engine runs Laya on CDN edge via WebAssembly

jedisct1 · x · 2026-09-24

zlaya is a new CPU-only inference engine for Laya written in Zig. It needs no GPU, runs entirely in WebAssembly (including on CDN edge apps), and answers choice/score/yes-no questions about text or JSON using native Zig tokenization, safetensors loading, ModernBERT, and trained decision/action heads. Weights take 804 MiB on disk, expand to float32 in memory, and inference works fully offline after download.

Original post →

More from coding & agent

coding & agent channel →