> Markdown version of [/videos/100653-how-8-gpus-became-16-rethinking-llm-inference-through-parallelism-memory-and-runtime-design?t=231](https://www.wearedevelopers.com/videos/100653-how-8-gpus-became-16-rethinking-llm-inference-through-parallelism-memory-and-runtime-design?t=231). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # How 8 GPUs Became 16: Rethinking LLM Inference Through Parallelism, Memory, and Runtime Design You do not need more hardware to double your LLM throughput. See how reconfiguring parallelism, FP8 KV caching, and NUMA affinity made 8 GPUs perform like 16. - **Speakers:** [Purnima Kumari](https://www.wearedevelopers.com/@purnima-kumari) - **Event:** Conference India 2026 - **Published:** November 26, 2026 - **Duration:** 30:04 - **URL:** https://www.wearedevelopers.com/videos/100653-how-8-gpus-became-16-rethinking-llm-inference-through-parallelism-memory-and-runtime-design - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/d5b7ff2fefb0f26d82fb1b9f6de4e7cd/thumbnails/thumbnail.jpg?time=30000ms ## Summary Scaling high-concurrency LLM inference by simply buying more hardware is expensive and inefficient. Purnima Kumari from DigitalOcean demonstrates how rethinking parallelism strategies, memory layouts, and runtime configurations on an 8-GPU AMD MI325 cluster delivered a 2x throughput improvement—matching 16-GPU performance—for a multi-turn AI chatbot handling 20 million daily requests. Instead of spanning a single 235B parameter Mixture-of-Experts (MoE) model replica across all eight GPUs using tensor parallelism (TP8), the team reconfigured the topology to TP4 with two data-parallel replicas (DP2) and expert parallelism. This reduced cross-GPU synchronization overhead while leaving 170 GB of free memory per replica. In vLLM, explicitly setting the KV cache to FP8 quantization slashed VRAM usage by 50%. The team also capped context length to 32k to match maximum batched tokens and enabled prefix caching to prevent redundant computations across multi-turn chats. Splitting the node into two 4-GPU groups required strict hardware locality. Using DigitalOcean Kubernetes Service, AMD open-source drivers, and NUMA balancing, they ensured pods bound to GPUs sharing the same socket and high-speed XGMI interconnects. Paired with ROCm kernel optimizations, piecewise graph capture, and NFS-hosted model weights for rapid cold starts, these tuning steps boosted QPS and significantly lowered cost per token while meeting strict P90 TTFT and TPOT targets. **Keywords:** LLM inference optimization, vLLM configuration, tensor parallelism, data parallelism, expert parallelism, mixture-of-experts routing, FP8 quantization, KV cache tuning, prefix caching, AMD MI325 GPU, NUMA balancing, XGMI interconnect, DigitalOcean Kubernetes Service, TTFT and TPOT metrics, high-concurrency AI chatbot, GPU memory utilization ## Chapters 1. **High concurrency AI chatbot use case and performance targets** (00:02) — Serving twenty million daily requests on a 235-billion parameter Mixture-of-Experts model requires strict optimization for time to first token and time per output token. 1. **Comparing tensor, data, and expert parallelism in vLLM** (03:51) — Combining tensor parallelism for latency, data parallelism for throughput, and expert parallelism for routing efficiency maximizes performance on AMD MI325 GPUs. 1. **Initial GPU traffic patterns and vLLM FP8 recipe configuration** (07:03) — Configuring FP8 KV cache quantization, prefix caching, and expert parallelism in the vLLM recipe reduces VRAM usage by fifty percent while reducing cross-GPU data transfer. 1. **Shifting from tensor parallelism 8 to 4 for throughput** (11:13) — Reconfiguring an eight-GPU node from a single eight-GPU replica to two independent four-GPU replicas doubles throughput without purchasing additional hardware. 1. **Managing CPU pressure and NUMA balancing on Kubernetes** (17:49) — Aligning Kubernetes pod scheduling with NUMA node topology and AMD open-source drivers prevents CPU bottlenecks and suboptimal PCIe routing across split GPU groups. 1. **Optimizing vLLM memory with context capping and prefix caching** (20:18) — Capping context length to 32k tokens, matching max batched tokens, and enabling prefix caching prevents redundant computation in multi-turn chat workloads. 1. **Tuning AMD ROCm kernels and piecewise graph capture** (22:12) — Enabling AMD AI tensor engine libraries and replacing full CUDA graphs with piecewise graph capture improves runtime execution across the inference cluster. 1. **Production routing architecture, NFS weight caching, and final benchmarks** (23:39) — Combining an inference router, NFS-backed model weights for fast cold starts, and systematic benchmarking delivers forty-five percent higher throughput and lower token costs. ## Related Moments - [Using vLLM recipes for optimal local hardware configuration](https://www.wearedevelopers.com/videos/100416-fast-cheap-and-accurate-optimizing-llm-inference-with-vllm-and-quantization) (from "Fast, Cheap, and Accurate: Optimizing LLM Inference with vLLM and Quantization") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/abcb8db1da8e8e150daf29c9b35f20ea/thumbnails/thumbnail.jpg?time=87941ms - [Optimizing throughput and latency with model parallelism strategies](https://www.wearedevelopers.com/videos/100542-a-hands-on-developer-guide-to-inference-engineering) (from "A Hands-On Developer Guide to Inference Engineering") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/2b51b1c6b13269bea497b26887eb9a26/thumbnails/thumbnail.jpg?time=315094ms - [Strategies for scaling AI workloads across multiple GPUs](https://www.wearedevelopers.com/videos/2067-the-gashlycrumb-tinies-of-ai-networking-you-must-know-or-languish) (from "The Gashlycrumb Tinies of AI Networking You Must Know (or Languish!)") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/360c109af4a12fc394a5566d5112502d/thumbnails/thumbnail.jpg?time=205000ms - [Understanding GPU architecture and massive parallel execution](https://www.wearedevelopers.com/videos/1521-accelerating-python-on-gpus) (from "Accelerating Python on GPUs") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/184616f79b913baa0eafbde419137066/thumbnails/thumbnail.jpg?time=214345ms - [Analyzing hardware components inside a modern GPU architecture](https://www.wearedevelopers.com/videos/859-accelerating-python-on-gpus) (from "Accelerating Python on GPUs") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/bfa6820450be58d818d08537c0df3d2d/thumbnails/thumbnail.jpg?time=55510ms - [Understanding modern data center GPU hardware architecture](https://www.wearedevelopers.com/videos/100221-cuda-python-gpu-programming-for-the-modern-developer) (from "CUDA Python: GPU programming for the modern developer") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/af9b14ed8044333f3eee8aaad0b08cc4/thumbnails/thumbnail.jpg?time=140949ms ## Related Articles - [Infer Once, Run Everywhere: Zero-Token Architecture](https://www.wearedevelopers.com/magazine/783-infer-once-run-everywhere-zero-token-architecture) - [MLops – Deploying, Maintaining And Evolving Machine Learning Models in Production](https://www.wearedevelopers.com/magazine/115-mlops-deploying-maintaining-and-evolving-machine-learning-models-in-production) - [What Are Large Language Models?](https://www.wearedevelopers.com/magazine/304-what-are-large-language-models) - [MLOps And AI Driven Development](https://www.wearedevelopers.com/magazine/82-mlops-and-ai-driven-development) ## Related Jobs - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4564731-senior-engineer-google-cloud) at **PwC** - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4558422-senior-engineer-google-cloud) at **PwC** - [Lead Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4747258-lead-engineer-google-cloud) at **PwC** - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4566395-senior-engineer-google-cloud) at **PwC** - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4558268-senior-engineer-google-cloud) at **PwC** - [Lead Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4750195-lead-engineer-google-cloud) at **PwC**