179 questions
No questions match those filters.
Design a serving system for a 7B chat model that needs...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansTo design this system, you must first calculate the peak memory requirements by accounting for the model parameters and the KV cache at the required batch size. You need to analyze whether the workload is memory-bound or compute-bound at that specific batch size to determine the optimal hardware utilization.
If a single GPU cannot handle the load, you should propose horizontal scaling or model sharding to distribute the request volume. Additionally, implementing continuous batching is essential to maintain high throughput and meet the p95 latency requirements under the 5,000 QPS load.