I trained a small model to do syntax highlighting in the browser with GPU.
Meet gpu-lexer from Vercel Labs: Small (27.5KB), fast (runs on WebGPU), and language-agnostic (model guesses the syntax).
It is experimental and built for learning!
About 7 months ago, I started designing a WebGPU library to ship performant shaders at Vercel.
Today, we are announcing vgpu: a minimal WebGPU library designed for agents.
But what does "designed for agents" mean? 🧵
We built to ship shaders on Now it's open source.
▪︎ Minimal agent-first WebGPU library
▪︎ Run in the browser or headless Node.js
▪︎ Render in CPU sandboxes and CI tests
▪︎ Create reusable .wgsl modules
Day 10 of building a snowboarding game with Fable 5 🏂
We have ski lifts now. And yeah, of course you can grind the cables, throwing sparks the whole way down.
New tree models, easier grinds, and tons of UI work.
All raw WebGPU, no engine.
Using Fable 5 to add fur and a new voice to my RL creature. The voice is based on the neural network activation (pictured top left). Made with @threejs@webgl_webgpu@runpod trained with JAX and MuJoCo from @GoogleDeepMind
The team cooked on performance. 'Everything the light touches' was optimized Simba. Painting, layout, WebGPU shaders, blocking scripts. Every frame scrutinized. The best part is that we'll be updating our with the lessons learned!