Serving and distributed inference
- 6.1What changes when many people use one model?Each person gets a little slower, but the machine as a whole gets much faster, because requests are batched. Size the server by users, requests per minute and tokens per request.
- 6.2How do I set up a team server?Pick hardware, pick a serving runtime, put authentication and a proxy in front, then give colleagues a friendly front end. Monitor it and keep it updated.
- 6.3How do several GPUs in one box work together?Layer split gives you more memory at about the same speed. Tensor parallel gives more speed but needs fast links between cards and a runtime built for it.
- 6.4Why would I use more than one machine?A second machine adds memory, not speed. Cluster when the model will not fit in one box, or when you need to serve more people.
- 6.5What are the ways to split work across machines?Request spreading, layer split and tensor parallel. They raise throughput, capacity and speed respectively, and only tensor parallel needs a very fast link.
- 6.6Which cable do I need between machines?For layer split almost any wired network works. For tensor parallel the link is everything, and RDMA over Thunderbolt 5 or fast Ethernet is the entry ticket.
- 6.7Which tools run a model across machines?Superfluid joins your machines into one endpoint that serves many users, and exo, llama.cpp RPC, MLX distributed and vLLM multi-node split one model across machines. Pick by what you own and what you need more of.
- 6.8What does a real cluster look like?Four worked builds, from two Macs over Thunderbolt to a mixed household. Each has a parts list, setup steps, expected speed and what went wrong.
- 6.9When should I not cluster?If the model fits in one 128 GB-class box, use one box. If it does not, price one bigger machine before buying cables.
- 6.10When is local cheaper than an API?It depends almost entirely on how busy you keep the machine. The calculator below finds your break-even with every assumption visible.
- 6.11Who needs an eight-GPU server?Teams serving many users at once, or running the largest open models at full precision. Most others are better served by a workstation tier.