Have your agent write a Rust+CUDA inference engine: 10.4x faster Kokoro TTS
notmisha · x · 2026-11-27
kokoro-rust runs the Kokoro-82M TTS model natively in Rust and CUDA: on an RTX 4090, synthesizing chapters I–III of Alice in Wonderland (251 lines, 31 minutes of audio) into one WAV takes a median 5.1s vs 52.5s for upstream Kokoro — a 10.4x speedup including startup and model loading.
The original post argues you should stop telling agents to tune llama.cpp flags and instead have them write model-specific standalone Zig + native CUDA inference engines, sharing the exact prompt that got Gemini Neon to build one for Inkling 2 Mini on a single RTX 5090 overnight. notmisha endorses the model-specific-code approach (claiming his own 10x TTS speedup) but notes a one-liner like 'write this model in rust, make no mistakes' works too.
More from coding & agent
- Windows 11 quietly tracks your use of Claude, Codex, Cursor and other coding agents — JeremyCMorgan · 2026-11-27
- Custom Code Still Wins: 10x TTS Inference Speedup by Having Claude Rewrite in Rust — notmisha · 2026-11-27
- Free embedded-agents skill: safe in-product agents with human-approval gates — PawelHuryn · 2026-11-27
- Indie dev migrates 5 projects from Vercel to Cloudflare, bills jump $5 to $30 — aloncarmel · 2026-11-27
- T3 Code Mobile 2.4 ships in-app localhost previews and citation comments — itsOmSarraf_ · 2026-11-27
- Antigravity multi-agent run stays on goal for 2h17m, tester >90% confident in outcome — gaganghotra_ · 2026-11-27