antirez: large batches switch to layer-major inference, nearly as fast as full-resident

antirez · x · 2026-11-08

Answering steeve's question about batch-size>1 scaling, antirez (Salvatore Sanfilippo) explains that the low prefill in his demo video was due to a short prompt on a single-token path — the opposite of the concern raised: large prefills or large batches switch to layer-major inference and run almost as fast as full-resident weights. The project is OSS, so anyone can try it.

He adds that many local-inference use cases, especially non-resident ones, are effectively single-user scenarios with tools like pi or opencode attached to a local server, and notes the README file isn't big enough to hit the fastest spot of the performance curve.

Related event: antirez Explains Local Inference Scaling Under Larger Batches(4 posts)→

Original post →

More from Infra

Infra channel →