~/talk

LLM Inference Optimization From Simple To Sophisticated

links:none on file
slides:none on file

Practical roadmap: choose a model just “smart enough” and quantize to get ~1.3–1.7x speedups, often delivering ~50% gains from model choice; use vLLM, SGLang, TensorRT-LLM for continuous batching and KV-cache management; route by load+KV-awareness and consider KV offloading to host memory or SSDs; distribute with tensor or pipeline parallelism (works across Ethernet) and run at least three replicas for production; advanced moves include speculative decoding with a 0.5–1B draft model and disaggregated prefill/decode for >100B models. Metrics: time-to-first-token, inter-token latency, throughput, cost-per-token.

AI-written summary · about

  1. 0:00LLM inference intro
  2. 1:24Self-host LLM?
  3. 2:52Optimization goals
  4. 4:35Inference stack layers
  5. 6:00Level one: model choices
  6. 9:30Routing and quantization
  7. 10:54Level two: frameworks
  8. 13:20KV cache management
  9. 15:09Parallelism strategies
  10. 17:16Custom optimizations
  11. 20:07Disaggregated inference
  12. 21:35Fine-tune smaller models
  13. 23:01Self-hosting approach
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.