Skip to content

About

Working notes on how modern LLM inference systems work.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Inference 101

Working notes on how modern LLM inference systems work — the vocabulary first, then the design choices behind engines like DeepInfer, vLLM, and SGLang.

Notes

  1. The five ideas underneath every serving engine — prefill vs decode, the KV cache, continuous batching, the five parallelisms, and disaggregation.
  2. Parallelism in LLM inference: DP, TP, PP, EP, CP — what each axis splits, what it costs, and why DeepInfer picks small EP for prefill and wide EP for decode.
  3. Prefill vs decode — why one phase is compute-bound and the other memory-bound, and how that shapes batching, caching, disaggregation, and speculative decoding.

About

Working notes on how modern LLM inference systems work.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors