token budget
Inference interview questions tagged token budget, across every topic.
4 questions · 2 unlocked for you
Concepts behind "token budget"
Concept pages for the mechanisms these questions lean on.
Advanced
Chunked Prefill and the Token BudgetChunked prefill splits a long prompt into pieces that ride along with decode tokens, under a per-step token budget such as vLLM's max_num_batched_tokens. The budget controls how much prompt work shares a step with decode, trading prompt progress against token gaps without guaranteeing a fixed latency.⏱️ Batching & Scheduling🔒 Premium
Advanced
Serving Engine Knobs and Their DefaultsA handful of engine settings decide how much KV fits, how long a step can get and how many requests run at once. This page lists the defaults in vLLM v0.31.0 and SGLang v0.5.21 as read from source, shows which knob binds first for Llama 3.3 70B on four H100s, and gives the order in which to tune them.⚙️ Serving Engines🔒 Premium