Tới nội dung
Modal Blog· Cathy Zhou·· 2024-09-16Điểm AI38

Modal adds native dynamic batching, boosting Whisper throughput 2.8x

Boost your throughput with dynamic batching

Nội dung này chưa có bằng ngôn ngữ của bạn; đang hiển thị bằng English.

Tóm tắt bằng AI

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%.

Nguồn:Modal Blog · modal.com