The words you'll hear
Tokens, weights, VRAM. Let's crack the jargon. Today we're looking at the model itself. Weights are the learned numbers. A token is a piece of text.
Chapters
- 0:00Introduction
- 0:05Where this fits: The AI stack
- 0:08The model: Model words
- 0:19Speed: Speed words
- 0:39Memory: Memory words
- 0:56Software: Software words
- 1:09Wrap up
Read the transcript
Introduction
Tokens, weights, VRAM. Let's crack the jargon.
Where this fits: The AI stack
Today we're looking at the model itself.
The model: Model words
Weights are the learned numbers. A token is a piece of text. Context is how much text it can work with at once. Inference means using a trained model.
Speed: Speed words
Prefill is reading, and decode is writing. TTFT, time to first token, is the wait before the reply starts. ITL, inter-token latency, is the gap between one token and the next. Tok/s is how fast tokens arrive. Throughput is all the work across every request.
Memory: Memory words
VRAM is a graphics card's own memory. Unified memory is one pool for processor and GPU. KV means key value. The KV cache saves work on earlier tokens, so it isn't redone. Quantization stores numbers in fewer bits.
Software: Software words
A driver lets the system use the GPU. CUDA is NVIDIA's GPU computing platform. A container is a packaged program, running. And model software loads and runs the model.
Wrap up
Now you speak the language. The other videos go deeper.
Sources
- arxiv.org/abs/1706.03762
- huggingface.co/docs/transformers/en/kv_cache
- docs.docker.com/get-started/docker-concepts/the-basics/what-is-a-container
- docs.nvidia.com/nim/benchmarking/llm/latest/metrics.html
- huggingface.co/docs/transformers/cache_explanation