Left overnight, Claude wrote 19 llama.cpp patches: up to 10x faster
A local model ran badly, it was Saturday evening, and their weekly Fable quota sat unused. Left on llama.cpp overnight, Claude came back with 19 patches, each explained in a readme and speed-tested.
Done withClaudeSpotted· by HN user Roark66· Nov 1, 2026
Result 3 weeks of use, not one crash
“It managed to produce up to 10x speedup in some cases (running 5 simultaneous users, with long contexts). 6 thousand lines of code. 19 patches. A ridiculous amount of work. Each patch explained in a readme. Speed tests run before and after for each.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
A local model was running badly in its inference software, and writing CUDA kernels isn’t one of the writer’s skills. On a Saturday evening, with their weekly Fable 5.1 quota unused, they let Fable, a Claude model, work overnight on the llama.cpp bugs causing speed decay in Qwen3.8-Flash-Next with longer contexts and multiple users. It could build llama.cpp, run it on their hardware and iterate.
How it went
By morning it had produced up to a 10x speedup in some cases (5 simultaneous users, long contexts): 6 thousand lines of code in 19 patches, each explained in a readme with before-and-after speed tests. The writer has run it for 3 weeks without a crash, but won’t submit the patches to llama.cpp as a PR, since they haven’t read and fully understood them; they published a temporary fork instead.
Try it yourself with Claude
Here's a performance bug in [a project, e.g. an inference engine]: [describe the slowdown, like speed decay over long contexts with multiple users]. Work on it independently: reproduce the issue, build and run the project on this hardware, and iterate on fixes. Document each patch with an explanation and before/after benchmarks. I'll review everything before it goes near a real pull request.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
Wanting Claude's help with Haiku software and OS issues, they spent $30 of Claude API credit on a USB UAC 2 audio driver for Focusrite Scarlett devices. Haiku's AI policy keeps it from going upstream.
Copy-pasting others' TLA+ specs risked missing attribution. Claude built a small Rust package manager that renames modules to avoid collisions. It took about 30 minutes of fighting, but it worked.
A $5-a-month product, then $20, then a rewrite at $10 and $50 a month. A day after launch came a $360 payment: a Yearly option on the $50 plan, with a discount, that Claude had added without them realizing.
Harvest's ~$100/yr Solo time-tracking plan went up 2.5x for a more restricted plan, or $20,000/yr to keep the old one. With their data downloaded, Claude vibecoded a fully-featured clone in one evening.
Asked for a web-based Rust email client from scratch that could talk to a JMAP server, Claude wrote it in about 20 minutes. It needed some bugs pointed out and lacks features, but it works.
A tag-based file recommender kept missing the mark with Claude. ChatGPT turned the problem into one precise paragraph. Handed back to Claude, it clicked, and a working solution came out without any drama.