LLM inference engineering logopeterindia.net
Knowledge Hub

Learn LLM Inference Engineering for Free: A Step-by-Step Learning Path

Free courses, papers, documentation, code and benchmarks for serving large language models efficiently — from transformer basics to vLLM, SGLang, KV caching, quantization and GPU kernels.

98 topics•10 categories•Updated November 2026

1. Foundations

8 entries

Start here: how transformers generate text, why decoding is memory-bound and how to reason about latency and throughput.

2. Core Serving Papers

10 entries

The research behind modern inference engines. Read these alongside the code.

3. Quantization & Compression

11 entries

Fit larger models on less hardware and speed up decoding.

4. Hands-On with Inference Engines

14 entries

Run, read and benchmark real serving stacks.

5. KV Cache & Distributed Serving

10 entries

Scale beyond one GPU: cache reuse, offloading, expert parallelism and prefill/decode split.

6. GPU Programming & Kernels

9 entries

Understand what the engines do underneath.

7. Benchmarking & Evaluation

5 entries

Measure latency, throughput, cost and quality before and after each optimization.

8. University Courses & Lectures

6 entries

Free course sites with slides, readings and assignments.

9. Engineering Blogs & Curated Lists

13 entries

Ongoing reading from teams that run inference at scale.

Related Pages

12 entries

More on LLM inference on this site.

Frequently Asked Questions

What is LLM inference engineering?

It is the practice of serving large language models efficiently: reducing latency and cost per token, increasing throughput and fitting models onto available hardware using techniques such as batching, KV caching, quantization and optimized kernels.

Where should a beginner start?

Start with the Foundations section: the Hugging Face LLM Course, Andrej Karpathy's GPT build, and the inference arithmetic and Brrrr articles. Then read the PagedAttention and FlashAttention papers and run vLLM or SGLang.

Which inference engine should I learn first?

vLLM and SGLang are open-source, well documented and widely used, so they are good starting points. TensorRT-LLM suits NVIDIA-specific optimization, and llama.cpp or MLX suit local and Apple silicon use.

What is the difference between prefill and decode?

Prefill processes the whole prompt in parallel and is compute-bound. Decode generates one token at a time and is usually memory-bandwidth-bound, which is why KV cache management and batching matter.

Do I need to know GPU programming?

Not to start. Serving engines hide most of it. For deeper optimization, learning CUDA or Triton helps, and the GPU Programming section lists free practice resources.

Are all these resources free?

Links go to free-to-read papers, documentation, code and course material. Some platforms may ask you to sign in, and certificates or graded versions of courses may cost money. Links were checked in November 2026.