Real-world constraints practice problems
10 problems · 0 solved
These problems turn the questions an ML team argues about into exact calculations. How many GPUs of which type do we need for this traffic? What is the largest batch that still meets the latency SLO? How many tokens can our budget train? Is self-hosting cheaper than the API at our utilisation? Which cascade threshold keeps quality and halves the bill? Each answer is a number or a choice you can check, built from simple models like 6ND FLOPs, KV cache bytes and memory-bound decoding. Start with the Easy budget and cost problems, then move to fleet planning, SLO batching and cascades.
Easy 3
Medium 7
- Cheapest GPU fleet that meets throughput and memoryPro
- Largest decode batch under a latency SLOPro
- Schedule requests under RPM and TPM limits
- Pick the cheapest cascade threshold that meets accuracyPro
- Spot or on-demand GPUs for a training job
- Pick the biggest model that fits on a phone
- Autoscale replicas for a day of trafficPro