Vibeleaderboard
← All Intel
Intel / video

Agents That Own Their Inference — Du'an Lightfoot & Khaja Omer, Akamai Technologies

Source
youtube.com
Author
AI Engineer
Date
From the Daily Brief

The most useful moment in Akamai's inference workshop was a failure. After walking through streaming measurement, memory budgets, prefill, decode and KV caching on a vLLM endpoint serving a Qwen model, Khaja Omer switched the deployment to FP8, reran load tests and checked output quality, then enabled speculative decoding. Instead of speeding up, generation fell from roughly 58 tokens per second to 16. He traced the likely causes through acceptance rate, drafter and target model compatibility, and GPU contention, then reverted to the baseline. The closing exercise found the concurrency level where throughput flattens while latency keeps rising, adjusted the sequence limit and measured again. The presenters also acknowledged that a notebook failure changed the model used in the final comparison. The reusable method is plain: establish a baseline, change one serving parameter, rerun realistic load, and check quality alongside speed. For teams moving agent workloads from hosted APIs to their own GPUs, the lesson is that optimizations with a reputation for speed can make a specific model and hardware pairing slower.

Read the 2026-10-12 Brief →

Context

Inference optimizations are workload-specific, even when their names imply a straightforward speedup. In the Akamai workshop, (a smaller draft model proposes text that the main model checks) cuts a demo model's generation rate from roughly 58 to 16 tokens per second, where a token is a word fragment. The presenters investigate draft-model compatibility, the rate at which the draft's tokens are accepted, and competition for GPU resources, then return to the baseline.

Their broader method is more useful than the isolated number: establish a baseline, change one serving configuration, rerun representative load tests, and check output quality alongside latency and throughput. , caching, concurrency and sequence limits all trade memory or response time against other goals. Teams that run their own inference therefore need measurements from their actual model, hardware and agent traffic rather than a universal optimization checklist.

Key takeaways · AI-distilled
  • Each participant gets a Kubernetes namespace with a Jupyter notebook and a vLLM endpoint serving a Qwen model, used to measure how an agent's prompts, responses and repeated tool calls consume latency and memory.
  • The notebooks separate per-request generation speed from aggregate throughput, compare cold and warm prefixes to show effects, and contrast dense models with mixtures of experts.
  • When speculative decoding slowed the model, Omer examined the drafter's acceptance rate, model compatibility and GPU contention, then returned to the baseline. An earlier FP8 switch was checked against simple output quality cases, not just speed.
  • Final tuning finds the concurrency point where throughput flattens while latency keeps rising, then changes the sequence limit and measures again. The presenters note that a notebook failure changed the model used in that last comparison.
Terms in this piece · Glossary
  • speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.
  • quantization — Shrinking a model by storing its numbers less precisely — like rounding — so it runs faster and fits on smaller hardware, at a small quality cost.
  • streaming — Sending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.
  • KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.youtube.com
Tools in this story
More from AI Engineer
Recommended reads