Implement dynamic batching for token decoding | xAI Interview Question