✳flâneur — a map of the web's best reading
Dynamic batching | Modal Docs
modal.com · 852 words · saved by 1 readers
Modal’s @batched feature allows you to accumulate requests and process them in dynamically-sized batches, rather than one-by-one.
Dynamic batching Modal’s @batched feature allows you to accumulate requests and process them in dynamically-sized batches, rather than one-by-one. Batching increases throughput at a potential cost to latency. Batched requests can share resources and reuse work, reducing the time and cost per request. Batching is particularly useful for GPU-accelerated machine learning workloads, as GPUs are designed to maximize throughput and are frequently bottlenecked on shareable resources, like weights stored in memory. Static batching can lead to unbounded latency, as the function waits for a fixed number
Explore this link on the map →saved by
related reading
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- Reiner Pope – The math behind how LLMs are trained and serveddwarkesh.com
- Transformer Inference Arithmetic | kipply's blogkipp.ly
- LLM Engineer's Almanac - Workloads | Modalmodal.com
- Lambda on hard mode: Inside Modal's web infrastructuremodal.com
- server/docs/user_guide/model_configuration.md at main · triton-inference-server/server · GitHubgithub.com
- ♻️ Auto Microbatching - Composerdocs.mosaicml.com
- How we achieved truly serverless GPUsmodal.com
- What I have been working on: Modal · Erik Bernhardssonerikbern.com
- Reinforcement learning is an infrastructure problemmodal.com
- Full-Stack Optimizations for Agentic Inference | NVIDIA Dynamo Documentationdocs.nvidia.com