Published November 13, 2024 | Version v1

Optimizing LLM Performance in Kubernetes with OpenTelemetry

  • 1. ROR icon Google (United States)
  • 2. ROR icon Microsoft (United States)

Description

Abstract:

Large Language Models are increasing in popularity and their deployments on Kubernetes have steadily increased. LLM applications bring new usage patterns that the industry does not have the expertise in. At the same time, there is a lack of observability in these deployments which makes it difficult to debug performance issues. We will present an end to end walkthrough of how you can leverage client and server LLM observability using Open Telemetry based on the recent efforts in the Kubernetes and Open Telemetry communities to standardize these across LLM clients and model servers. We will also demonstrate how to troubleshoot a real-world performance issue in your LLM deployment and how to optimize your LLM server setup for better performance on Kubernetes. We'll show how to use Kubernetes autoscaling based on custom model server metrics and demonstrate how they offer a superior alternative to using GPU utilization metrics for such deployments.

Resources:

  • Watch the talk: https://www.youtube.com/watch?v=6rdeFACyyYg

  • Code & Artifacts: https://github.com/lmolkova/kubecon-llm-performance-demo

Files

optimizing-llm-performance.pdf

Files (2.6 MB)

Name Size
md5:8d980271b22e6300d4643edcfbcf8eb9
2.6 MB Preview Download