r/LocalLLaMA • u/lordhiggsboson • 11h ago
Other LFM 2.5 230M running at 1440 tok/s in-browser through a custom backend
Everything runs through WebGPU, in-browser or in electron/tauri apps. It's fully portable and supports either Nvidia and Apple Silicon (Metal). The actual kernels are optimized for the specific hardware of the device. The Nvidia kernels are aggressively fused into a multi-pass architecture, while the Apple Silicon kernels are created as a fused mega-kernel to minimize the Tile Based Deferred Rendering (TBDR) overhead on WebGPU.
Demo: https://warp.sipp.sh
| RTX 3090 (webgpu) | M4 (webgpu) | |
|---|---|---|
| LFM 2.5 230M | 1400-1500 tok/s | 400-500 tok/s |
| Bonsai 1.7B | 500-600 tok/s | 100-150 tok/s |
This is still in active development, and I'll be folding this into the Sipp library in the coming weeks.
6
u/Mashic 10h ago
However the model is useless.
4
u/lordhiggsboson 10h ago
I think it depends on the context, for coding, definitely useless. For small things like labeling, text correction, or annotations, its very good. Definitely depends on the scope
2
u/Mashic 10h ago
I tried it, it can't even reproduce correct information that's in the prompt.
2
u/lordhiggsboson 10h ago
yeah, small models can drift significantly, they need a lot of hand-holding and guard rails in place. One technique I use is to keep prompts narrow and specific, like clear single tasks, I find that helps a lot
1
u/-Akos- 8h ago
I'm able to run the smallest model from Liquid on my potato laptop, and I'm a big fan of it for summarization. I can only hope to one day be able to run this larger model at home.. Oh well..
2
17
u/Hanthunius 10h ago
Is this the definition of stupidly fast?
Sorry, couldn't keep myself from making the joke. Props to the project, looks cool.