Serving LLMs: A Computationally Intensive Challenge
Serving large language models presents a distinct problem compared to traditional machine learning workloads due to their massive computational demands, according to Simon Mo, co-founder and CEO of Inferact. These models necessitate running on accelerators like GPUs or TPUs, requiring significant engineering effort to manage.
The process involves handling differences in input and output distributions, with core features such as dynamic batching and scheduling being critical for efficiency. The non-deterministic nature of output distributions creates complex challenges for standard inference engines, demanding specialized infrastructure for optimal performance.


