Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Learn to optimize, deploy, and benchmark LLMs with vLLM: A New Free Course

June 3, 2026
Cedric Clyburn
Related topics:
AI inferenceAPIsOpen source
Related products:
Red Hat AIRed Hat AI Inference

    Training a model grabs the headlines: the GPU clusters, the weeks of compute, the incredibly large budgets. But the majority of the cost of AI in production isn't training, it's inference. Training happens once. Inference happens every single time a user sends a request.

    Since inference powers coding agents, RAG, and so much more, together with DeepLearning.AI, we built a free, hands-on course that walks through the full AI inference lifecycle: optimize, deploy, and benchmark using vLLM and the open-source tooling around it. It's called Fast & Efficient LLM Inference with vLLM, and it's available for free today.

    Efficient LLM serving in production requires balancing memory, latency, and throughput. In this course, you'll learn the techniques that make that possible with vLLM.

    Andrew Ng, from Fast & Efficient LLM Inference

    How do we efficiently serve LLM's?

    Here's a common situation when deploying your own AI models: Take Llama 3 70B on a standard production node of four 80 GB GPUs. The weights alone eat about 140 GB, leaving roughly 180 GB for the KV cache. In theory, that leftover memory is enough to serve around 18 long-context users in parallel. But with a naive serving setup and poor memory management, that number collapses to two or three.

    Efficiently serving LLMs means optimizing model weights and memory usage

    That gap between what your hardware can do and the reality of managing multiple AI model users (or, these days, agents) is what this course is built around. The good news is that the open-source ecosystem has matured to the point where you can easily compress a model (LLM Compressor), efficiently serve it (vLLM), and benchmark it (GuideLLM). The course teaches all three as part of the AI deployment lifecycle, because that's how production deployments actually come together.

    What went into creating this course

    A lot of the work went into visualization, and picturing what's actually happening during inference after you make a request to an LLM.

    So before any code runs, the course covers the fundamentals: what happens during a forward pass, how tokens flow through the transformer's attention and feed-forward layers, and why the KV cache, not the weights, is the dominant memory concern in modern inference. We break down how the cache grows with every token generated (why a single 128k-token request can demand around 40 GB on top of the model) and why serving many concurrent users turns that into serious memory pressure.

    Visualizing how the KV cache grows during autoregressive generation in the course.

    We do the same for quantization: what actually changes when you move a model's weights from the typical default released precision of BF16 down to INT8 or INT4, and what you keep, what you lose, and how calibrated techniques like GPTQ and AWQ recover accuracy that naive rounding would throw away. 

    Breaking down weight-only vs. weight-and-activation quantization and the GPU memory hierarchy.

    What will you learn in this vLLM course?

    The course is structured around three hands-on labs in a JupyterLab environment, where you work with real models and a running vLLM server. Don't worry, we'll handle the infrastructure.

    Step 1: Compress

    You take a full-precision Qwen model, quantize it with LLM Compressor, compare the model sizes before and after, and measure perplexity to put a real number on the accuracy-tradeoff. By the end of the lab, you have a concrete feel for how much GPU memory you can reclaim and what it costs, the same workflow that can take a model from needing three GPUs down to one.

    Quantizing a Qwen model with LLM Compressor in the course lab.

    Step 2: Serve

    You deploy the quantized model with vLLM and interact with it through the OpenAI-compatible API. The interesting part is watching the optimizations work in real time via vLLM's metrics endpoint: continuous batching keeps the GPU busy, PagedAttention manages KV cache memory without fragmentation, and prefix caching skips redundant computation when requests share a system prompt. You send concurrent requests and see memory utilization and cache hits move in real time.

    Watching vLLM's serving metrics live as concurrent requests hit the server.

    Step 3: Benchmark

    Finally, you put the deployment under load with GuideLLM, simulating realistic traffic patterns and measuring the metrics that map directly to your SLOs: time to first token, inter-token latency, and throughput. Then you confirm quality holds up with lm-eval. You'll learn why the p95 and p99 matter more than the mean, and how to read a model card's recovery numbers to decide whether a quantized model is good enough to ship.

    Running GuideLLM to benchmark a vLLM deployment under simulated traffic in the course lab.

    By the end, you've run the complete optimize, deploy, and benchmark workflow on a real model and understand the accuracy, speed, and cost tradeoffs well enough to make informed decisions in production.

    The course details

    • Course: Fast & Efficient LLM Inference with vLLM
    • Instructor: Cedric Clyburn, Senior Developer Advocate at Red Hat
    • Duration: ~1.5 hours, 9 video lessons, 3 hands-on code labs
    • Level: Intermediate (assumes familiarity with Python and basic LLM concepts)

    If you've been running open-source models locally or at scale and want to understand what's happening under the hood, or you've heard of vLLM and want to finally get hands-on, this is built for you. It's also a solid resource for onboarding teammates new to inference tooling in a sandboxed environment.

    Where to go next

    Everything in this course is open source and ready to use today. Once you've gone through it, the natural next steps are to try LLM Compressor on your own models, spin up a vLLM server on your own hardware, and run GuideLLM against your real workloads to see where you land on the tradeoff triangle. Here at Red Hat AI, we focus on supporting enterprise-grade workloads running on any hardware accelerator across the hybrid cloud. And if you want to go further, take a look at llm-d for distributed, disaggregated inference, separating the prefill and decode phases to optimize each independently, which is where a lot of the frontier serving work is heading.

    A quick thank you, because this wasn't a solo effort: Saša Zelenović, Michael Goin, and Sawyer Bowerman from Red Hat shaped the content and built the labs, Hawraa Salami at DeepLearning.AI drove the curriculum and production, and thanks to Andrew Ng for making room for open-source inference tooling in the catalog. Go build with open source!

    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Related Posts

  • The state of open source AI models in 2025

  • 5 steps to triage vLLM performance

  • How to deploy and benchmark vLLM with GuideLLM on Kubernetes

  • Recent Posts

    • Learn to optimize, deploy, and benchmark LLMs with vLLM: A New Free Course

    • Build modular AI pipelines with OpenShift AI and reusable components

    • Kafka Monthly Digest: May 2026

    • UBI 9 and 10 builders on Paketo Buildpacks with multi-arch support

    • Deploy Hermes Agent on OpenShift AI with vLLM model serving

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.