Modal Blog· Cathy Zhou·· 2024-09-16AI score38
Modal adds native dynamic batching, boosting Whisper throughput 2.8x
Boost your throughput with dynamic batching
AI summary
Modal has added native dynamic batching support, letting inference functions group requests via a single @modal.batched() decorator with max_batch_size and wait_ms parameters. On OpenAI's Whisper large v3 running on an A10G, a max_batch_size of 64 raised throughput from ~1.2 to ~3.3 requests per second per container and cut inference cost by 65%.
Source:Modal Blog · modal.com