14Rank the decode-time arithmetic intensity of the QKV projection, attention, the MLP and the LM head. Which ones can fusion help?▼expertNewNVIDIAOpenAIAnthropic◆ premiumEvery weight GEMM ties, attention sits at a constant the batch cannot move, and the ranking flips at batch 8. The answer then separates what fusion can fix from what only the model architecture or the batch can.Open full answer →
15Design a roofline-based performance model that predicts TTFT and TPOT for any model, GPU and batch. Where will it be wrong?▼expertNewOpenAIAnthropicNVIDIA◆ premiumTwenty lines of roofline arithmetic get within striking distance of a real server, and the interviewer knows it. What they are scoring is the list of places the model breaks, and how you would catch each one before a capacity plan rests on it.Open full answer →
09Why can MLA decode attend over the 512-dimensional latent without decompressing keys, and what does absorption cost in FLOPs?▼expertNewGoogle DeepMindNVIDIAFireworks AI○ sign inAbsorption is one line of matrix associativity. The part interviewers score is the bill: attention gets more expensive per cached token, and the kernel lands in a roofline regime GQA never visits.Open full answer →
14When you quantize the KV cache, why are keys more sensitive than values, and what per-channel or per-token scheme follows from that?▼expertNewGoogle DeepMindMetaNVIDIA◆ premiumKeys and values take the same bytes, yet their errors reach the output by different roads. Trace both roads and the scale layout for each tensor follows, along with the bookkeeping that makes per-channel keys awkward to serve.Open full answer →
15Design a multi-tier KV cache across HBM, host DRAM and SSD for a fleet with heavy prefix reuse, and show the hit-rate math.▼expertNewAnthropicOpenAINVIDIA◆ premiumEach tier is worth exactly the recompute it avoids minus the fetch it costs. Work that out per token and the design writes itself, including the tier that should not exist for small models and the SSD that wears out in a week.Open full answer →
11Design a scheduler that admits a request only if it predicts the TTFT and TPOT targets will both hold. What does it predict, and how?▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumThe two targets are coupled: the TPOT target caps the prefill chunk, which caps prefill throughput, which caps the backlog the TTFT target can absorb. The answer builds the step model, derives the admission rule and shows what to do with requests that fail it.Open full answer →
14Speculative decoding inside a continuous batch: how does the scheduler budget draft tokens, and what happens to the KV on rejection?▼expertNewGoogle DeepMindMetaNVIDIA◆ premiumEach draft token is a real token in the step's budget, and verification turns a bandwidth-bound step compute-bound sooner. The answer shows the accounting, the rollback that makes rejection cheap, and the batch size where speculation starts losing.Open full answer →
09FlashAttention-3 on Hopper: explain warp specialization, TMA and ping-pong scheduling, and which bottleneck each one removes.▼expertNewNVIDIAOpenAIAnthropic○ sign inFlashAttention-2 reaches well under half of an H100's BF16 peak. The answer explains why in one ratio, exponentials against matmuls, and maps each FA3 technique to the stall it hides.Open full answer →
10FP8 attention: where does the precision break, and how do incoherent processing and per-block scales help?▼expertNewNVIDIAAMDTogether AI○ sign inThree quantization points sit inside FP8 attention, and they fail for different reasons: outlier channels in keys, a probability matrix that lives near zero, and accumulators. The answer simulates each one and says which fix addresses which.Open full answer →
15Design attention for a 1M-token context on one 8-GPU node: the kernel, the parallelism across GPUs, and the memory plan.▼expertNewGoogle DeepMindAnthropicMeta◆ premiumAt 1M tokens a 70B GQA model needs 320 GiB of KV per request and spends over 90% of prefill FLOPs in attention. The answer lays out a plan that fits on eight H100s, then shows which single change to the model breaks it and what replaces it.Open full answer →
11Hopper replaced Ampere's cp.async and mma.sync with TMA and WGMMA. What changed in each, and how does it change the way you design a kernel?▼expertNewNVIDIAOpenAIAnthropic◆ premiumBoth changes move work off the threads: one takes over address generation, the other takes over operand staging. The answer counts the instructions each one removes and shows why a Hopper kernel is organized around barriers instead of thread blocks that do everything.Open full answer →
12Blackwell added tensor memory and 2-CTA MMA. What problem does each one solve, and what changes in a GEMM kernel written for it?▼expertNewNVIDIAOpenAIAnthropic◆ premiumHopper's biggest GEMM tiles spend half the register file on the accumulator and feed every operand byte through one SM's shared memory. Blackwell attacks both limits, and the answer counts the bytes each change gives back.Open full answer →
15A kernel runs 20% slower on an H200 than on an H100, even though the H200 has 43% more memory bandwidth. How can that happen?▼expertNewNVIDIAOpenAITogether AI◆ premiumOn paper an H200 SXM is an H100 with more and faster memory, so nothing should get slower. The answer works through the four ways it can anyway, from the spec sheet you did not read to the tuning table that does not know the new device's name.Open full answer →
09In a block-scaled FP8 GEMM like DeepSeek V3's, where are the scales applied, and why must accumulation be promoted to FP32?▼expertNewNVIDIAAMDOpenAI○ sign inFine-grained scales let E4M3 carry every tensor, but they change along the reduction axis, so the tensor cores cannot apply them. The answer walks the main loop where they do get applied, prices that work against the MMA, and explains what Blackwell moves into hardware.Open full answer →
14A quantized MoE holds its benchmark scores but loses accuracy on rare domains, traced to rarely routed experts. Explain why and fix it.▼expertNewMistral AITogether AIFireworks AI◆ premiumCalibration data reaches each expert only through the router, so the experts that matter for rare domains see almost none of it. The answer counts the tokens, shows the point where a Hessian-based quantizer becomes worse than plain rounding, and builds a recipe that does not depend on luck.Open full answer →
15Design the numerics policy for a fleet that spans Hopper and Blackwell: formats per generation, fallbacks, and how you validate them.▼expertNewNVIDIAOpenAIAnthropic◆ premiumEven a format with the same name differs between the two generations: block-scaled FP8 uses FP32 scales on Hopper and power-of-two scales on Blackwell. The answer designs formats, fallbacks and gates so a user routed to either pool gets a model the team has actually tested.Open full answer →
13Speculative decoding with a quantized target or a quantized draft: does losslessness still hold, and against which distribution?▼expertNewNVIDIAAMDAnthropic◆ premiumLossless is a statement about one distribution, and quantization changes which one without raising any error. The answer separates the draft case from the target case, then shows two ways an FP8 deployment breaks exactness without touching the rejection rule.Open full answer →
14Choose the speculative draft length per request at runtime. What signal, what policy, and how much does it beat a fixed gamma?▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumCode wants eight draft tokens and chat wants two, and a fixed gamma serves both badly. The answer simulates three policies on a mixed workload, finds the gain is 5% with a cheap drafter and 19% with an expensive one, then explains why batching takes most of it away.Open full answer →
15Design speculative decoding for a 70B fleet whose batch size swings from 1 at night to 256 at peak. What runs at each load level?▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumThe same drafter that triples speed at 3 a.m. costs a third of peak throughput at 6 p.m. if left alone. The answer builds a step-time model for Llama 3.3 70B on eight H100s, derives a draft length per batch bucket, and shows why context length moves the whole table.Open full answer →
05Why do MLA models like DeepSeek V3 run data-parallel attention with expert-parallel MoE instead of plain tensor parallelism?▼expertNewNVIDIAFireworks AITogether AIunlockedTensor parallelism splits a GQA cache by KV head. MLA has no KV heads to split, so TP copies the whole cache onto every GPU without any warning. The answer measures that waste on an H200 node and prices the fix.Open full answer →
09Some experts get far more tokens than others. What do hot experts do to step time, and how do redundant experts and rebalancing fix it?▼expertNewNVIDIAGoogle DeepMindMistral AI○ sign inExpert parallelism runs at the speed of the busiest GPU, and the router decides which GPU that is. The answer finds the batch size at which skew starts to cost compute, measures what placement and replication recover, and shows why a placement fit to yesterday's traffic decays.Open full answer →
10A GB200 NVL72 puts 72 GPUs in one NVLink domain. What does that change for MoE serving and for prefill-decode disaggregation?▼expertNewNVIDIAMicrosoft (Microsoft AI)OpenAI○ sign inEight GPUs per NVLink domain shaped every serving layout of the Hopper era. Seventy-two moves the boundary that expert parallelism and KV transfer used to cross over the NIC. The answer prices what moves inside the rack, what still does not fit, and the failure mode that comes with it.Open full answer →
15Design the parallelism plan for a trillion-parameter MoE when your fleet is half H100 nodes and half B200 nodes.▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumA 1 TB FP8 model fits on one B200 node and needs four H100 nodes. That single fact sorts the two generations into roles. The answer assigns them, sizes both pools, and then deals with the precision mismatch that shows up when the two halves disagree about the weights.Open full answer →
14What changed in vLLM's Model Runner V2 compared with the V1 runner, how does the engine decide which one to use, and what falls back?▼expertNewRed HatAnyscaleDatabricks◆ premiumThe scheduler did not change; the code that turns its decisions into GPU tensors did. The answer covers where per-request state now lives, why Triton became a hard dependency, and the feature list that silently puts you back on the old runner.Open full answer →
15You are serving a reasoning model whose answers run 30K output tokens. Which engine do you pick, and how do you configure it?▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumShort prompts, enormous replies, and a KV footprint that grows every step after admission. The answer sizes the batch from the pool, prices a preemption, and shows why per-user speed, not throughput, is the number to defend.Open full answer →
01Size the fleet for a 70B chat API at 200 req/s, 2K tokens in and 300 out, p99 TTFT under 1 s, TPOT under 50 ms. What is the token cost?▼expert★ EssentialNewAnthropicOpenAIFireworks AIunlockedMost designs draw the router first. The answer that passes does the arithmetic first: tokens per second in each phase, replica-seconds per second, a utilization ceiling, then dollars, and finds that the prompt, not the reply, is two thirds of the bill.Open full answer →
09Design a platform serving 20 models of different sizes on one shared fleet. How do you place them, and when does a model get its own GPUs?▼expertNewTogether AIFireworks AIBaseten○ sign inTwenty models with two replicas each is a fleet that is mostly idle. The answer measures how idle, then tiers the models by load so the long tail shares GPUs without hurting the models that pay the bills.Open full answer →
12Design serving for a coding assistant: 32K-token prompts, 200-token completions, p99 TTFT under one second. What do you build?▼expertNewAnthropicOpenAIFireworks AI◆ premiumA cold 32K prefill on a 70B model barely fits a second of compute on eight H100s, before any queueing. The design that passes makes almost every request warm, then sizes two pools from what remains.Open full answer →
13Design real-time voice inference with 300 ms from the end of the user's turn to the first audio. Where does every millisecond go?▼expertNewOpenAIGoogle DeepMindMeta◆ premiumVoice moves the latency target from the first token to the first audible clause, and the largest item in the budget is not a model at all. The answer allocates 300 ms line by line, then sizes the LLM tier from it.Open full answer →
14Plan capacity for a 70B fleet that mixes H100 and B200 nodes under one latency SLO. How do you count capacity and route across them?▼expertNewOpenAIAnthropicMeta◆ premiumCounting GPUs across two generations gives the wrong plan, and routing by GPU count breaks the SLO on the slower pool. The answer defines one capacity unit at the SLO, then plans, routes and buys in it.Open full answer →
16Cut inference cost per million output tokens by 70% while preserving quality and latency. Can you defend the target?▼expertNewOpenAIAnthropicTogether AI◆ premiumA cheaper GPU and a faster decoder do not automatically produce a cheaper service. Audit a cost ledger, reject misleading wins, and choose a rollout only after quality and latency gates pass.Open full answer →
12After turning on speculative decoding, p50 latency improved and p99 got worse. Explain it, and decide what to ship.▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumThe speedup formula has two inputs that vary per request and per moment, and the tail lives where both are bad. The answer computes when speculation turns into a slowdown, shows which requests own the p99, and picks a policy instead of an on/off switch.Open full answer →
15Implement split-KV decoding attention and the merge of the partial results, and prove it matches attention over the whole sequence.▼expertNewNVIDIAOpenAIAnthropic◆ premiumAt batch 1 a decode attention kernel gives each KV head one thread block and leaves most of the GPU idle. The answer splits the sequence, carries a log-sum-exp with every partial output, merges them exactly, and survives the split that has no keys at all.Open full answer →