3 ms·
Inference for single example is memory bound. By doing batch inference, you can interleave computation with memory loads, without losing much speed (up until yo
by Palmik 2y ago
Inference for single example is memory bound. By doing batch inference, you can interleave computation with memory loads, without losing much speed (up until you cross the compute bound threshold).