Hacker News new | ask | show | jobs
by Tuna-Fish 61 days ago
Batching is extremely powerful for optimizing power use. Your card is spending the vast majority of it's energy use fetching weights from it's memory, and it only gets to use each weight once. Running that same model on a bigger machine with lots of batching gets to amortize the cost of loading a weight across all the parallel requests. N=128 is literally about 50 times more energy-efficient than N=1.
1 comments

I don't know. It would surprise me. For long agentic work you shouldn't need that many streams for the KV cache to become larger than the (active) parameters. At 128 streams the model weights would be neglectable. I am using a 22GB model file, i.e. I have 10GB for context, which isn't even the max that the model supports.