Skip to main content
CF

Master LLM Inference (Phase 1: Foundations & Optimization)

30h 31m 41s
English
Paid
Added to CourseFlix

Master LLM Inference (Phase 1: Foundations & Optimization) is a 13-lesson 30 hours 31 minutes self-paced course by Rajat Dandekar, Vizuara AI Labs. "Professional LLM Inference" — a practical four-week intensive course for those who want to understand how to launch, optimize, and scale large language models in real production systems.

Course facts

Lessons
13
Duration
30 hours 31 minutes
Language
English
Added to CourseFlix
October 2026
Instructor
Rajat Dandekar, Vizuara AI Labs
Price
Premium

"Professional LLM Inference" — a practical four-week intensive course for those who want to understand how to launch, optimize, and scale large language models in real production systems. The course covers the entire journey: from the fundamental principles of inference and GPU memory management to distributed deployment, edge inference, quantization, profiling, and building high-performance AI services capable of handling large volumes of requests with low latency.

About the Course

The course is dedicated to professional inference of large language models: how LLMs function post-training, how they process user requests, the reasons for latency, how to improve server throughput, and what engineering solutions are used in modern AI companies.

The program combines theory, lab work, live demonstrations, and hands-on practice on real equipment. Sessions are conducted by Dr. Raj Dandekar, MIT PhD, as well as engineers and specialists from Anthropic, NVIDIA, Apple, Microsoft, Amazon, AnyScale, and other tech companies.

What You Will Learn

  • Understand the architecture of modern LLM inference systems and the key stages of request processing.
  • Optimize the performance of large language models in terms of latency, throughput, and GPU utilization.
  • Work with GPU memory, KV cache, attention mechanisms, and hardware platform limitations.
  • Apply model quantization for speeding up inference and reducing resource consumption.
  • Use popular frameworks and tools: vLLM, SGLang, FlashAttention, TensorRT-LLM, Ray Serve, and Megatron-LM.
  • Deploy LLMs on a local computer, server, Raspberry Pi 4, Android device, and NVIDIA Jetson Orin Nano.
  • Design production-ready AI services with scalable architecture.
  • Prepare for technical interviews that test understanding of LLM inference system design.

Program Structure

The course consists of two independent modules. The first module focuses on inference principles and optimization, the second on industrial deployment and building applied AI systems.

Module 1. LLM Inference Architecture and Optimization

In the first part, you will learn how the inference of large language models is structured, what bottlenecks occur during request processing, and how modern frameworks help increase the efficiency of models.

  • Basics of LLM inference and the request lifecycle.
  • Prefill, decode, batching, and continuous batching.
  • KV cache and memory usage optimization.
  • Attention mechanisms and FlashAttention.
  • Model quantization and trade-offs between speed, quality, and memory consumption.
  • Performance profiling and identifying bottleneck components.
  • Practical work with vLLM, SGLang, TensorRT-LLM, and other tools.

Module 2. Production Deployment and Edge Inference

In the second part of the course, you will transition from optimizing individual models to creating full-fledged AI services that can be used in real products and infrastructure.

  • Industrial deployment of LLM services.
  • Distributed computing and inference scaling.
  • Ray Serve and approaches to high-load request handling.
  • Edge inference on compact devices.
  • Running models on Raspberry Pi 4, Android, and NVIDIA Jetson Orin Nano.
  • Comparison of hardware platforms and performance analysis.
  • Building reliable production-ready AI applications.

Practice and Lab Work

A large part of the course is built around practical assignments. Each study day is accompanied by lab work in Google Colab, visual materials, demonstrations, and analysis of engineering solutions.

You will not only study theory but also run models, measure their performance, analyze resource usage, compare different configurations, and apply optimization methods in practice.

Equipment and Platforms

  • Local computer for basic model launching and testing.
  • Google Colab for lab work and experiments.
  • Raspberry Pi 4 for studying edge inference limitations.
  • Android device for running LLM on a mobile platform.
  • NVIDIA Jetson Orin Nano for practice with a compact GPU accelerator.

Final Projects

During the course, you will implement two complete projects that will help reinforce your skills in developing and optimizing LLM inference systems.

Project 1. High-Performance LLM Inference Server

You will go through the entire process from the model's raw weights to an optimized inference service. Along the way, you will set up model launching, conduct profiling, identify bottlenecks, apply acceleration techniques, and prepare the system for handling real requests.

  • Loading and preparing the model.
  • Setting up the inference server.
  • Optimizing latency and throughput.
  • Analyzing the performance of each component.
  • Preparing the service for production scenarios.

Project 2. AI Assistant for WhatsApp

The second project is dedicated to creating an intelligent AI assistant for WhatsApp. It will process dialogues, generate responses, and improve its behavior using reinforcement learning based on user interactions.

  • Integrating LLM with a chat interface.
  • Developing the logic for the AI assistant.
  • Using dialogues to improve response quality.
  • Applying reinforcement learning approaches in an applied scenario.

Tools and Technologies

During the training, you will become familiar with a modern tool stack used to accelerate and scale the inference of large language models.

  • vLLM — high-performance inference engine for LLM servicing.
  • SGLang — framework for efficient execution of LLM applications.
  • FlashAttention — optimized attention mechanisms for accelerating transformer work.
  • TensorRT-LLM — NVIDIA tools for optimizing large model inference.
  • Ray Serve — solution for scalable AI model serving.
  • Megatron-LM — framework for working with large language models and distributed computing.
  • Google Colab — environment for lab work and experiments.

Who the Course is For

  • ML engineers looking to delve deeper into LLM optimization and deployment.
  • Backend and infrastructure engineers working with AI services and high-load systems.
  • Data scientists wishing to transition from model experiments to production development.
  • AI developers creating chatbots, assistants, and LLM applications.
  • Technical specialists preparing for interviews with AI companies.
  • Founders and technical leaders who need to understand the cost, limitations, and architecture of LLM inference.

What Results You Will Achieve

After completing the course, you will be able to design and implement LLM inference systems considering requirements for speed, cost, scalability, and reliability.

  • Understanding the internal workings of LLMs during inference.
  • Skills to optimize models for different hardware platforms.
  • Experience with industry-standard tools for LLM serving.
  • Ability to conduct profiling and make engineering decisions based on metrics.
  • Two practical projects for your portfolio.
  • More confident preparation for technical interviews on LLM infrastructure.

Why Study LLM Inference

The development of large language models is not just about training neural networks. In real products, the main cost and complexity often relate to inference: response speed, GPU load, scaling, memory consumption, and service stability.

Specialists who understand how to effectively service LLMs in production are in demand in teams creating AI assistants, corporate chatbots, agent systems, search products, developer tools, and other applications based on generative artificial intelligence.

Who teaches Master LLM Inference (Phase 1: Foundations & Optimization)?

Rajat Dandekar

Rajat Dandekar thumbnail

Rajat Dandekar is an AI engineer and educator focused on building modern large language models from first principles.

His CourseFlix listing carries Build a DeepSeek Model (From Scratch) — a from-scratch implementation walkthrough of the DeepSeek family of open-weight LLMs, covering the architectural decisions, training pipeline, and the engineering patterns underneath the DeepSeek approach.

Material is paid and aimed at engineers picking up modern LLM internals through hands-on implementation. For broader content, see CourseFlix's AI category pages.

Vizuara AI Labs

Vizuara AI Labs thumbnail

Vizuara is an international educational school in the field of artificial intelligence, founded by graduates of IIT Madras, MIT, and Purdue University. The company is developing with the support of the MIT ecosystem and aims to make quality AI education accessible to students and professionals worldwide.

Learning at Vizuara is based on the principle of "learn by creating": instead of studying theory alone, students work on real projects in the fields of artificial intelligence, machine learning, and generative AI. The programs combine fundamental knowledge, practical assignments, individual mentoring, and constant feedback, helping to quickly acquire in-demand skills.

In addition to technical courses, the school supports the development of academic and professional profiles: it assists with preparing portfolios, research papers, capstone projects, applying to foreign universities, as well as interview preparation and starting a career in AI.

The mission of Vizuara is to democratize access to modern education in the field of artificial intelligence by providing structured programs, practical experience, and mentorship. The school aims to become one of the most reliable educational platforms in emerging markets, where students not only gain knowledge but also create projects, build strong portfolios, and receive real career opportunities.

The philosophy of Vizuara is based on high-quality standards, a practical approach to learning, transparency, honest feedback, and a focus on the success of each student.

What lessons are included in Master LLM Inference (Phase 1: Foundations & Optimization)?

This is a demo lesson (10:00 remaining)

Watch the first 10 minutes free. One payment unlocks all 13 lessons here and every other premium course. No auto-renew.

Watch all 13 lessons from $6.67/mo
0:00
/
#1: [2. Hardware Labs] - Hardware Labs 1 Video Recording - Mobile Phone LLM Inference
All Course Lessons (13)
#Lesson TitleDurationAccess
1
[2. Hardware Labs] - Hardware Labs 1 Video Recording - Mobile Phone LLM Inference Demo
01:43:34
2
[2. Hardware Labs] - Hardware Labs 2 Video Recording
36:55
3
[2. Hardware Labs] - Hardware Labs 3 Video Recording
23:41
4
[4. Lecture 1 Introduction to Inference Engineering] - Lecture 1
03:28:04
5
[5. Lecture 2 Good and Evil of KV Cache] - Lecture 2
03:37:43
6
[6. Bonus Lecture Inference and YCombinator] - Bonus Lecture
01:16:32
7
[7. Lecture 3 Attention Variants Part 1 (MHA, MQA, GQA, Latent Attention, Sparse Attention)] - Lecture 3
03:26:02
8
[8. Lecture 4 Attention Variants Part 2 (Sliding Window, State Space Models and Mamba)] - Lecture 4
04:05:36
9
[9. Lecture 5 All about Flash Attention 1, 2, 3] - Lecture 5
03:07:43
10
[10. Lecture 6 The anatomy of a vLLM Step] - Lecture 6
02:35:11
11
[11. Lecture 7 All about Quantization] - Lecture 7
03:09:01
12
[12. Lecture 8 Speculative Decoding] - Lecture 8
02:49:55
13
[13. Phase 1 Capstone Project!] - Inference Engineering Phase 1 Final Lecture
11:44
Watch the other 12 lessons

One payment unlocks this course and every other premium course. No auto-renew.

See plans

Books

Read Book Master LLM Inference (Phase 1: Foundations & Optimization)

#TitleTypeOpen
1[1. The Vizuara Inference Book Phase 1 ( Also your lecture notes!)] - Vizuara Inference Book Phase 1 —Unlock
2[2. Hardware Labs] - Raspberry_Pi_Inference_Lab_Module —Unlock
3[2. Hardware Labs] - Vizuara_AI_Jetson_Orin_Nano_Setup_Guide_ (1) —Unlock
4[10. Lecture 6 The anatomy of a vLLM Step] - anatomy-of-a-vllm-step —Unlock
5[Inference Engg Capstone Project 1 Submissions] - capstone_report_v4_inference_newest —Unlock
6[Inference Engg Capstone Project 1 Submissions] - InferTutor-Arena-Experiments-Report-Anindya-Saha —Unlock
7[Inference Engg Capstone Project 1 Submissions] - InferTutor Arena - Manoj —Unlock

What courses are similar to Master LLM Inference (Phase 1: Foundations & Optimization)?

More courses by Rajat Dandekar

Frequently asked questions

How much should I know about LLMs before starting?
You'll get more out of the course if you're already comfortable with basic LLM concepts and have some experience running models. That's a practical recommendation, not a stated admission requirement: no formal prerequisites are provided. The course starts with inference fundamentals, then moves into GPU memory, attention, caching, and optimization. If those are all new to you, expect to spend extra time getting comfortable with the underlying ideas.
Will I actually run models, or is this mostly theory?
You'll have practical work alongside the explanations, with hardware labs, demonstrations, and a capstone project. One lab focuses on running an LLM on a mobile phone, so the practice isn't limited to server-side inference. The engineering focus is on understanding request processing and improving how models run. The exact capstone deliverable and lab setup aren't specified, so don't assume you'll build a particular application or deploy a finished service.
How is this different from a course on building LLM apps?
The emphasis is on what happens underneath an application when a model generates a response. You'll study where latency comes from, how GPU memory is used, and how techniques such as quantization and speculative decoding affect inference. Attention mechanisms also get substantial attention. If you're choosing between this and an app-building course, choose this for serving and performance engineering rather than expecting a guided chatbot or retrieval-app build.
Which tools will I work with, and do I need my own GPU?
You'll encounter vLLM and SGLang as inference frameworks, along with FlashAttention for efficient attention computation. There's a dedicated look at how a vLLM step works, which helps connect framework behavior to the underlying inference process. Hardware practice is part of the course, but the available details don't establish whether you need your own GPU, receive remote hardware access, or incur cloud costs. Check those arrangements before committing to a setup.
Will this teach me to train or fine-tune an LLM too?
Training and fine-tuning aren't the stated focus. You'll be working on the post-training side: how a model handles requests, uses memory, and produces outputs efficiently. Quantization appears here as a way to reduce inference resource needs and improve performance, not as a promise of a training workflow. If your main goal is learning to update model weights or prepare training data, this course isn't presented as a guide to those tasks.
How much time should I set aside each week?
Expect about 30 hours and 31 minutes of listed runtime across 13 lessons. Spread evenly over the advertised four weeks, that's roughly seven hours and forty minutes per week just to work through the recordings. You'll also want room for practice, reviewing technical explanations, and the capstone. There's no separate estimate for that additional work, so treat the runtime as a baseline rather than your total study commitment.
Will these skills still help if I use a different serving framework later?
Yes—the underlying ideas aren't limited to one framework. Understanding KV cache, attention, GPU memory limits, and the relationship between latency and throughput can help you reason about performance in other serving environments. Quantization also gives you a way to think about resource and performance trade-offs beyond a single tool. You'll still need to learn another framework's configuration and behavior; the transferable part is the reasoning, not identical implementation steps.