laya.cpp: standalone C++ inference makes open-source Laya 2.5x faster at 366 q/s

lkarlslund · reddit · 2026-09-21

A community developer built laya.cpp, a standalone ggml-based C++ inference implementation of the open-source decision model Laya, with custom CUDA kernels, native tokenization, and a JEV-compatible HTTP endpoint—no Python or PyTorch required. On an RTX PRO 6000 Blackwell capped at 450 W, BF16 hits 366 questions/s at batch 1 (2.5x the Python implementation) and 810 vs 663 at batch 8. Gains come from removing redundant conversions/copies, fusing ops while preserving rounding, and better attention memory access. MIT-licensed; BF16 needs CUDA 13.0/cuBLAS 13.1.0. Built using Codex Astra.

Original post →

More from Infra

Infra channel →