Tue, Aug 11, 202619:38RoutingInference
Local-First AI Infrastructure with llama.cpp
Bert walks through a local-first inference router that places models on GPUs and bursts to the cloud.
Takeaways
- The router knows the hardware layout and decides where and how to deploy each model; every request logs its machine, wall-clock time, tokens in and out, cache hit rate, prefill and generation speed, and cost.
- He monitors power, temperature, PCIe speed and PCIe replays; PCIe traffic while processing tokens means the setup is wrong, and in his experience sharding a model across GPUs is a significant speed penalty.
- Local comes first: when local space runs out, a configured equivalency chain bursts to cloud providers; running locally first saves cost and keeps data local, with electricity as the local cost estimate.
- Each GPU is a slot, a model advisor flags suboptimal configurations and pushes fixes across the fleet, and he can update the llama.cpp build for one machine or all of them.
- A live workload fans embedding, LLM and vision-language models across three machines for image classification and training jobs.
Transcript
Transcript coming.




