Design a batch inference system for an LLM serving backend. The core API is: batch_infer(list<string> input) -> list<string> output. Multiple incoming single API requests must be aggregated server-side into batches before being dispatched to GPU workers, because one GPU can only process one batch at a time. Key constraints/goals: minimize…