26/30
Part 7 of 7 · Follow-upsLearn
Separate machines for prefill and decode
Prefill is arithmetic and decode is reading, and on one GPU they get in each other's way. DistServe runs them on separate GPUs and hands each conversation's cache from the first to the second. Each pool then gets the batch size and the GPU count that suit its own target, at the cost of moving every cache across the network once.