Skip to main content
Sshuhari.ai
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
SearchStart here
Menu
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
Part of the courseBack to Generative AI
  1. Reference
  2. Decode

Glossary

Decode

The phase after prefill where one token is generated per step. Each step has to read the weights and the KV cache, so it is usually limited by memory bandwidth.

Where it is explained

  • How LLMs workLLM foundations
  • LLM inference and servingProduction: cost, serving and observability

See also

Terms explained in the same lessons.

  • Grouped-query attention (GQA)
  • KV cache
  • Prefill
  • Autoregressive generation
  • Causal mask
  • Chunked prefill
Previous termData parallelismNext termDecontamination

All terms, A to Z

Sshuhari.ai

Learn the fundamentals. Break the limits. Build what's next.

  • Privacy
  • Search