Tag:inference
All the articles and course lessons with the tag "inference".
Evaluating Narwhal: Adaptive Prefill/Decode Allocation Under Rapidly Changing Workloads
Updated:On Kimi-K3 with six TP8 engines, Narwhal delivered 76.18% of chat/document requests within the latency SLO, against 56.76% for Dynamo Planner and 51.66% for Ray Serve LLM. The main trade-off was an 11-second p95 TTFT tail on mixed traffic.
The Price of Anarchy in Disaggregated Inference
I split NVIDIA Dynamo's prefill and decode into three competing games and measured the Price of Anarchy on a 3-node B200 cluster. While the GPUs had headroom, no router tuning moved the needle; the moment they saturated, one parameter was the gap between a 1-second tail and a 28-second one. So I built a 270-line controller that watches for that moment and flips the switch, without touching Dynamo's core.
Courses
- Introduction to GPU Inference
How language models run on GPUs, explained with interactive diagrams.
- From prompt to reply (Introduction to GPU Inference)
What happens between sending a prompt and reading the reply.
- Serving multiple requests (Introduction to GPU Inference)
How one GPU serves several requests together, and how that affects the speed of each.
- Measuring inference (Introduction to GPU Inference)
What time to first token, time per output token, throughput and percentiles measure, and how they relate to each other.
- Inference at scale (Introduction to GPU Inference)
The hardware behind a service with millions of users, how requests are distributed across it, how demand varies through the day and what it costs.
- Serving architectures (Introduction to GPU Inference)
Prefill and decode, aggregated and disaggregated serving, and static and adaptive allocation by cold or hot swap.
- Inference engines (Introduction to GPU Inference)
What an inference engine does, how its configuration divides a GPU's memory into slots, and a few widely used engines.
- Introduction to Narwhal (Introduction to GPU Inference)
What a serving framework does, and how Narwhal switches engines between prefill and decode without reloading the model.
- Your first inference server (Introduction to GPU Inference)
Install Narwhal, run four llama.cpp engines and a router on your own computer, send them prompts and watch an engine switch roles.
Athrael.net