~/talk

Understanding the end-to-end LLM training and inference pipeline

Talkat PyData Global 2024 · 2024-12-03..12-05· [large-language-models]
links:none on file
slides:none on file

Walkthrough of the pipeline names concrete choices and numbers: examines Llama 3.1 8B (128k vocab, 4,096 hidden size, 32 attention heads) and shows the memory math (8B params ≈ 16 GB in fp16, half that in fp8). Covers pretraining, supervised fine‑tuning, RLHF, and PEFT via low‑rank adapters, and measures latency with genperf metrics like time‑to‑first‑token and per‑token latency. Shows deployment stacks and tradeoffs using fp8/fp16 quantization and Triton and tzar llm for batching, KV‑cache sizing, and GPU selection.

AI-written summary · about

  1. 0:00Welcome to LLM pipeline
  2. 1:24LLM terms core definitions
  3. 6:04Memory in LLM inference
  4. 9:13LLM inference workflow
  5. 12:39Tokenization and embeddings
  6. 17:18Attention and KV cache
  7. 21:34LLM training phases
  8. 23:23Low-rank adapters for fine-tuning
  9. 24:29LLM performance metrics
  10. 25:33NVIDIA tools for inference
  11. 27:19Q&A on attention and parallelism
~/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.