Podcast: Distributed LLM Inference on Kubernetes with llm-d, Wasm, & TornadoVM Red Hat engineer Edoardo Vacchi described on an InfoQ podcast how llm-d, part of the vLLM family of projects, extends vLLM's single-instance PagedAttention inference to multi-node distributed inference across Kubernetes clusters by managing KV and prefix cache locality, request routing, and batch inference to maximize GPU utilization. Vacchi said traditional Kubernetes load balancers break LLM efficiency, and that llm-d balances keeping requests on the same instance to reuse cached conversational context against node overload, while adding batch inference during idle cluster periods and semantic classification to route prompts to right-sized, cost-effective models. Vacchi also covered WebAssembly's maturation as a backend runtime for sandboxing and workload migration, and TornadoVM's ability to compile and run Java directly on GPU backends, including a GPU-accelerated Llama 3 written entirely in Java. In this episode, Edoardo Vacchi discusses the evolving landscape of WebAssembly on the backend, running Java workloads on GPUs using TornadoVM, and optimizing distributed AI inference using llm-d and vLLM on Kubernetes. Edoardo explains how llm-d manages cache locality KV and prefix caches , request routing, and batch inference across Kubernetes clusters to maximize expensive GPU utilization. Key Takeaways - Wasm has matured into a backend runtime for sandboxing, cross-language compilation, and workload migration between browsers and end-user devices. - TornadoVM allows developers to compile and run Java code directly on GPU backends, enabling projects like GPU-accelerated Llama 3 written entirely in Java. - While vLLM optimizes high-throughput inference on a single instance via PagedAttention, llm-d extends this across Kubernetes clusters to manage multi-node distributed inference. - Traditional Kubernetes load balancers break LLM efficiency; llm-d balances staying with the same instance to leverage cached conversational context while preventing node overload. - llm-d introduces batch inference during idle cluster periods and semantic classification to route prompts to right-sized, cost-effective models without sacrificing privacy. Subscribe on: Transcript Olimpiu Pop : Hello everybody, I'm Olimpiu Pop an InfoQ editor, and I have in front of me today, Edoardo Vacchi, one of the two Italians that usually talk about boxes inside of boxes. The other one is Andrea Peruffo. Eduardo worked for a long period of time in the WebAssembly ecosystem, he did some spotting around other types of VMs, and today he's back at Red Hat and he's trying to make things easier in terms of Kubernetes and inference. Is that correct? Edoardo Vacchi : Yes. I mean, on my team. It's a few people working on this, and I'm just one of them, but fair description. We're working on distributed inference on Kubernetes specifically, and that's called llm-d, and it's part of the VLLM family of projects. So, yes, it's super exciting to be back at Red Hat and work on the bleeding edge. State of WebAssembly on the Backend 01:35