Category: Tech Notes
-

How much VRAM does the KV cache use?
Calculate the KV cache for any model: the formula, real numbers for Llama 3 8B to 405B and DeepSeek-V3, why grouped-query and latent attention make it smaller, how it limits users and context, and how paged memory fits more users.
-

Prefill and decode: the two stages of every answer
Every LLM answer has two stages: prefill reads the prompt and sets the wait for the first word; decode writes the answer and sets the time per word. Why they stress GPUs differently, why long prompts stall other users, and how to speed up each.
-

What is a Mixture of Experts model, and why does it need less GPU power?
DeepSeek-V3 has 671 billion parameters but uses 37 billion per token. How Mixture of Experts models work, what they save and what they do not, why batching wakes almost every expert, and what MoE needs from GPUs and NVLink.
-

What happens inside a transformer when you ask a question?
Follow one question through a Llama-style 8B model: tokens, embeddings, attention with queries, keys and values, the MLP blocks, 32 layers and the final scores, plus where the 8 billion parameters actually sit.
-

Frontier models vs open models: which can you run yourself?
Frontier models through an API, or open models on your own GPUs? Open weights vs open source, how big open models really are and what each size needs, how they compare, and when self-hosting actually pays.
-

What is an LLM, and how does it work?
A large language model predicts the next piece of text, over and over. Tokens, parameters and layers, how it picks each word with temperature and top-p, how it learns, and what decides the hardware it needs.
-

What is a GPU cluster, and what is an AI factory?
A GPU cluster is far more than GPUs: scale-up and compute networks, storage, scheduling, and power and cooling that now decide more than chips do. What goes into one, how rail-optimised networks work, and what NVIDIA means by an AI factory.
-

How does GPU memory limit the size of a model?
How to add up the GPU memory a model needs: weights, KV cache and runtime when you run it, plus gradients, optimizer state and activations when you train it, and how LoRA and QLoRA shrink fine-tuning to one GPU.
-

How does NVIDIA NVLink connect GPUs?
NVLink links GPUs directly, about 7 times faster than PCIe on an H100. What NVLink and NVSwitch are, what travels over them in training and serving, how an NVL72 rack makes 72 GPUs act as one, and scale-up vs scale-out.
-

Why isn’t one GPU enough? How multiple GPUs share the work
A 70B model needs 140 GB; the biggest H100 has 80 GB. Tensor parallel, pipeline parallel and replicas explained: what each is good at, how they compare, and why NVLink matters as much as the GPUs.
-

Why does GPU memory bandwidth matter for AI?
An H100 serving one chatbot user uses less than 1% of its maths power; the rest of the time it waits for memory. Memory-bound vs compute-bound, the roofline, batching, the KV cache, and what it means when you choose a GPU.
-

What happens inside a GPU when it runs AI?
Inside an AI GPU: streaming multiprocessors, warps, Tensor Cores and five levels of memory. Follow one AI calculation through an NVIDIA H100, and see why the cores spend most of their time waiting.
Architect’s Toolkit
PJ’s Tools
- Infra 360 Hub – All Series
- VCF Exam Practice Labs
- VCF 9 Interactive Walkthroughs
- VCF Design Cheatsheet
- VCF Upgrade Planner
- VCF 9 Series Hub
- VCF Deployment Hub
- AI Stack Hub
- AI Infra Sizing & Cost Calculator
- LLM & RAG Cost Calculator
- DrJhaGPT – Ask Pranay
VMware Cloud Foundation
- VCF Documentation
- VCF 9 Planning & Preparation Workbook
- VCF Bill of Materials (BoM)
- VMware Compatibility Guide
- VMware Interoperability Matrix
- VMware Configuration Maximums
- VMware Ports & Protocols
- VMware Hands-on Labs
- RVTools Download
Nutanix
AI & Cloud-Native Platform
- NVIDIA Build (Model Catalog)
- NVIDIA AI Enterprise Reference Architecture
- NVIDIA NIM Performance Benchmarking
- NVIDIA NGC Catalog
- NeMo Microservices Helm Chart
- Helm Charts Repository
- Hugging Face Models
Architecture & Design
About the Author

Dr Pranay Jha
Dr. Pranay Jha is a Cloud and AI Consultant with 18+ years of experience in hybrid cloud, virtualization, and enterprise infrastructure transformation. He specializes in VMware technologies, multi-cloud strategy, and Generative AI solutions. He holds a PhD in Computer Applications with research focused on Cloud and AI, has published multiple research papers, and has been a VMware vExpert since 2016 and a VMUG Community Leader.
You May Have Missed






DrJha