01Walk me through the CUDA execution model: what are grids, blocks and warps, and what does the hardware actually schedule?▼easy★ EssentialNewNVIDIAGoogleCoreWeave4 repliesunlockedA grid is a request, a block is a residency unit, a warp is what the scheduler issues. Which of those pins to an SM, why 32 matters, and how a GPU hides a 600 ns memory latency with no branch predictor and a cache that is tiny per thread.Open full answer →
02Describe the GPU memory hierarchy. Where can a byte live on an H100, and what does each level cost?▼easyNewNVIDIAAMD4 repliesunlockedRegisters, shared memory, L1, L2, HBM, host memory: sizes, bandwidths and latencies for an H100, derived rather than recited, and the habit of asking 'which level am I hitting' before touching a kernel.Open full answer →
03Why are GPUs so much faster than CPUs for deep learning? Be specific about what the silicon is doing differently.▼easyNewNVIDIAGoogle4 repliesunlockedNot 'more cores.' The real answers are a 10x memory system, a 16x matrix datapath, and a design that spends transistors on lanes and registers instead of on making one thread wait less. With the numbers for a two-socket server against one H100.Open full answer →
04What is a tensor core, and what does a kernel have to do to actually use one?▼easyNewNVIDIA4 repliesunlockedA tensor core multiplies small matrix tiles in one instruction and is 16x faster than the regular lanes, but only for dense matmul at the right precision, with the right shapes and layouts. What the instruction looks like, what it refuses, and how to tell from a profile whether you are on it.Open full answer →
01Write a CUDA vector add and explain the launch: grid math, the bounds check, and why the copies dominate.▼easyNewNVIDIA4 repliesunlockedThe kernel is four lines; the interview is about the other forty. How a global index comes out of block and thread ids, why the bounds check exists, what the launch configuration means for a 100M-element array, and the arithmetic that shows the host-to-device copies cost 50 times more than the add.Open full answer →
02What is memory coalescing, why does a strided access pattern hurt, and how do you see it in a profiler?▼easyNewNVIDIAFireworks4 repliesunlockedA warp issues one load instruction and the memory system turns it into some number of 32-byte sector requests; that number is the whole story. The arithmetic for contiguous, stride-2 and stride-32 access, the row-major matrix where a loop order change gives 8x, and the two Nsight Compute counters that show the waste.Open full answer →
05Why fuse kernels, how much does it save, and what can fusion not fix?▼easyNewFireworksTogether AIOpenAI4 repliesunlockedA chain of five elementwise operations reads and writes the tensor five times when once would do. The byte arithmetic for an unfused chain against a fused one, the launch overhead that matters at small sizes, the three fusion shapes, and the operations where fusion changes nothing because the matmul was at the roof.Open full answer →
01In data-parallel training, what actually gets communicated between GPUs, and how much is it per step?▼easy★ EssentialNewMetaGoogleOpenAI4 repliesunlockedNot the data, not the weights: the gradients, once per step, in a ring that moves almost twice the model's size through every GPU. The derivation, the per-step byte count for an 8B model, and why it still hides behind the backward pass.Open full answer →
02Compare data, tensor and pipeline parallelism. What does each one shard, what does each one communicate, and where does each one live?▼easy★ EssentialNewNVIDIAMetaOpenAI4 repliesunlockedThree ways to split a training job, one table, and the rule that places each of them: activations on NVLink, gradients on the fabric, stage boundaries in between. With the byte counts that justify the placement.Open full answer →
03What is MFU, how do you compute it from a running job, and what counts as a good number?▼easy★ EssentialNewMetaGoogleAnthropic4 repliesunlockedThe one utilization number that cannot be gamed by recompute: model FLOPs over hardware peak, derived from a step time in four lines, with the band frontier labs land in and an itemized list of where the other 60% goes.Open full answer →
04Explain ZeRO stages 1, 2 and 3. How much memory does each stage leave per GPU for a 70B model?▼easyNewMicrosoftMeta4 repliesunlockedSixteen bytes per parameter is the bill for mixed-precision Adam. ZeRO pays it in three installments: optimizer state, then gradients, then the weights themselves. The per-rank bytes for a 70B at 8, 16, 32 and 64 GPUs, and what each stage adds to the wire.Open full answer →
10Gradient accumulation versus a bigger per-GPU batch: same result or not, and what changes underneath?▼easyNewMetaDatabricks4 repliesunlockedMathematically identical for a mean loss and a stateless model, and different in three ways that matter to infrastructure: activation memory, communication frequency, and any layer that looks at the batch. With the byte counts and the DDP call that makes it work.Open full answer →
01Why do prefill and decode behave so differently, and why does that matter for the hardware you serve on?▼easy★ EssentialNewOpenAIAnthropicBaseten4 repliesunlockedOne forward pass reads every weight. Whether that read is the bottleneck depends on how many tokens ride along with it, and the answer is different for the two halves of a request.Open full answer →
02What is the KV cache, and why does it keep growing while a request is being served?▼easy★ EssentialNewOpenAIBasetenFireworks4 repliesunlockedEvery token a model has seen leaves a key and a value in every layer. Multiply that out for a 70B model and you will see why memory, not compute, caps how many users a GPU can hold.Open full answer →
03What is the difference between static and continuous batching, and why did it change LLM serving?▼easy★ EssentialNewBasetenTogether AIAnyscale4 repliesunlockedA batch of eight requests finishes when the longest one does, and seven slots compute padding until then. The fix is to make the scheduling unit one decode step, and the throughput math shows why that was worth several times the hardware.Open full answer →
05Define TTFT, TPOT and goodput, and tell me how you would measure each one in production.▼easyNewBasetenAnyscaleOpenAI4 repliesunlockedTokens per second flatters a system that is failing its users. The metrics that matter are two latencies at a percentile and the fraction of requests that meet both.Open full answer →
01How much GPU memory does it take to run Llama 3.1 70B?▼easy★ EssentialNew4 repliesunlockedThe first number every serving interview asks for, derived from parameter count and bytes per parameter, in three precisions, with the part people forget to add.Open full answer →
02How big is the KV cache for Llama 3.1 70B at a 128k context?▼easy★ EssentialNewOpenAIAnthropicBaseten4 repliesunlockedFour numbers from the config file, one formula, and a per-sequence result that is a third of the model's own weights. Plus the mistake that makes the answer eight times too big.Open full answer →
03How many FLOPs does it take to train a 70B model on 15 trillion tokens?▼easy★ EssentialNewMetaOpenAI4 repliesunlockedThe 6ND rule, where the 6 comes from, and the 6.3e24 that every training-time and GPU-count question in the loop is built on.Open full answer →
04How long does that 70B run take on 16,384 H100s at 40% MFU?▼easyNewMetaAnthropic4 repliesunlockedThe fleet equation applied to 6.35e24 FLOPs: 11 days, and how the answer swings from 9 to 15 with the one parameter the interviewer wants you to state.Open full answer →
06How many tokens per second can a 70B model generate for a single user on H100s?▼easyNewTogether AIBaseten4 repliesunlockedWhy decode speed is a division of bandwidth by weight bytes, why the answer is about 24 tokens a second regardless of how fast the tensor cores are, and the two ways to double it.Open full answer →
01What does NCCL actually do when you call all-reduce, and how does it decide which algorithm to use?▼easy★ EssentialNewNVIDIAMeta4 repliesunlockedBefore the first byte moves, the library has already discovered the machine's topology, built rings and trees over it, split the work into parallel channels and chosen a wire protocol by message size. What each of those four decisions is for, and the environment variables that let you see and override them.Open full answer →
02Name the four collectives a training job uses, say what each moves, and match them to the parallelism that needs them.▼easy★ EssentialNewNVIDIAGoogle4 repliesunlockedFour operations cover almost everything a distributed training step sends. What each one does to the data, the bytes each rank moves for a message of size S across N ranks, and which parallelism strategy generates which, worked through for a 70B model so the numbers are concrete rather than symbolic.Open full answer →
04What is RDMA, and why can a training cluster not just use TCP at 400 gigabits per second?▼easyNewNVIDIACrusoe4 repliesunlockedA single core moves a few gigabits per second of TCP once copies and interrupts are counted, so filling one 400 gigabit link would take most of a server's cores doing nothing but networking. What RDMA removes, what a queue pair actually is, and where the GPU fits when the data never belongs to the host at all.Open full answer →
01Walk me through what happens when a pod asks Kubernetes for four GPUs, from the manifest to the container seeing them.▼easy★ EssentialNewCoreWeaveNebiusModal4 repliesunlockedThe four layers between `nvidia.com/gpu: 4` and a container that can run CUDA, the one failure each layer produces, the stranded-GPU arithmetic the integer model causes, and why Dynamic Resource Allocation replaces the count with a claim.Open full answer →
02MIG, time-slicing and MPS all let several jobs share one GPU. What is the difference, and when would you pick each?▼easy★ EssentialNewCoreWeaveNebiusNVIDIA4 repliesunlockedHardware partitions, shared SMs, and context switching are three different promises about isolation and waste. The slice arithmetic for an H100, what each mode gives up, and the one rule about tenants that decides most of it.Open full answer →
04What is gang scheduling, and what goes wrong on a Kubernetes cluster that does not have it?▼easyNewCoreWeaveAnyscale4 repliesunlockedA distributed training job is 64 pods that start together or not at all. The deadlock two partially placed jobs produce, counted out on a 64-GPU cluster, and how Kueue and Volcano make the job the unit of admission.Open full answer →
09What does the NVIDIA GPU Operator actually install on a node, and what is Node Feature Discovery doing underneath it?▼easyNewNVIDIACoreWeave4 repliesunlockedA GPU node needs a driver, a container toolkit, a device plugin, a metrics exporter and a validator, in that order, and each needs to know which nodes it belongs on. The operator's component chain, the labels NFD writes to trigger it, and the bring-up arithmetic that rules out doing it by hand.Open full answer →
01How do GPUs actually fail at fleet scale, how often, and which failures should the platform expect to handle every day?▼easy★ EssentialNewMetaCoreWeaveLambda4 repliesunlockedA published run gives the numbers directly: 419 unexpected interruptions in 54 days on 16,384 GPUs, and about three quarters of them hardware. What that implies per GPU-hour, which components dominate, and why a fleet above a few thousand GPUs must treat failure as routine rather than exceptional.Open full answer →
02What is an XID error, which ones mean the hardware is bad, and which ones mean somebody's kernel has a bug?▼easy★ EssentialNewNVIDIACoreWeaveLambda4 repliesunlockedThe driver logs a numbered code when something goes wrong on a GPU, and the number tells you whether to retry the job, drain the node or file a hardware return. The codes worth memorizing in three groups, the action each implies, and the automation that turns a log line into a drained node.Open full answer →
03With DCGM available on every node, what do you actually collect, what do you alert on, and what do you deliberately ignore?▼easy★ EssentialNewNVIDIACoreWeaveMicrosoft4 repliesunlockedThe exporter offers hundreds of fields and about a dozen of them change decisions. The health fields that predict failure, the performance fields that tell you whether work is happening, the one everybody alerts on that means nothing, and the diagnostic levels with the time each takes.Open full answer →
01Walk me through an inference platform for a hosted LLM. What are the pieces, and what does each one do?▼easy★ EssentialNewOpenAIAnthropicBaseten4 repliesunlockedSeven boxes between an API call and a GPU, each with one job and one way to fail. The walkthrough a screen expects in the first ten minutes, with the sizing chain from 2,000 concurrent users to a replica count so the drawing has numbers on it.Open full answer →
02You have 45 minutes and the prompt is 'design our serving platform'. How do you run the round?▼easyNew4 repliesunlockedFive minutes of numbers, seven of shape, ten of arithmetic, sixteen of depth, five of failure modes. The minute plan that keeps a serving-platform design inside 45 minutes, with the worked opening for a coding assistant and the mistakes that end the round early.Open full answer →
01Given usage records of GPU allocations, compute what each tenant owes. Write it, and say what you would test.▼easy★ EssentialNewOpenAI4 repliesunlockedThree decisions decide whether this is correct: the numeric type, how partial hours are handled, and what happens to a record that does not make sense. The implementation with its tests, the floating-point trap that costs real money, and the questions to ask before writing any of it.Open full answer →
02Implement a token bucket rate limiter. Make it thread-safe, and explain what the two parameters actually control.▼easy★ EssentialNewOpenAIAnthropic4 repliesunlockedTwo parameters, one lazy refill and one lock. What capacity and rate each control and why conflating them is the usual bug, the clock choice that avoids a whole class of failure, and the retry-after value that turns a rejection into something a client can act on.Open full answer →
03Given per-GPU idle intervals, compute when any GPU was idle and when every GPU was idle. Write both.▼easy★ EssentialNewOpenAICoreWeave4 repliesunlockedThe union is a sort and a scan. The intersection is the same sweep with a counter, and it is the one that goes wrong, because a single GPU reporting overlapping intervals will be counted twice and produce an answer that looks plausible. Both implementations, the trap, and the tests that catch it.Open full answer →
04Implement retry with exponential backoff and jitter. Why is the jitter the part that matters, and what must never be retried?▼easyNewOpenAIBaseten4 repliesunlockedExponential backoff spaces one client's retries and does nothing for a thousand clients that failed together, which is the case that matters. The measured difference jitter makes to the peak arrival rate, the two budgets that bound the damage, and the classification of what is safe to retry at all.Open full answer →
18Implement sampling from a model's logits with temperature, top-k and top-p. What are the numerical traps?▼easyNewOpenAIAnthropic4 replies○ sign inFour lines of arithmetic with three ways to get it wrong: dividing by a temperature of zero, exponentiating without subtracting the maximum, and applying the filters in an order that changes the result. The implementation, the verification against the analytic distribution, and the overflow that is one logit away.Open full answer →
01Tell me about a time you pushed back on a launch because of a reliability concern.▼easy★ EssentialNewGoogleMetaOpenAI4 repliesunlockedThe interviewer is not checking whether you can say no. They are checking whether your no came with a number, an alternative and a date. The four-part shape that makes this story land, a worked example with the arithmetic a real one carries, and the version that fails.Open full answer →
02Walk me through the worst on-call incident you have handled.▼easy★ EssentialNewCoreWeaveModalMeta4 repliesunlockedA war story with no learning in it scores zero, however dramatic. The five beats of an incident narrative, the decision under uncertainty that is the actual subject of the question, and how to tell it when the incident was somebody else's fault.Open full answer →
03Why do you want to work in AI infrastructure, and why now?▼easy★ EssentialNewOpenAIAnthropicNVIDIA4 repliesunlockedThe answer that fails is a compliment to the company. The answer that lands is a thesis about where the constraint sits, tied to something you have actually done, and it works whether you are coming from distributed systems, kernels, hardware or SRE.Open full answer →
07Tell me about a performance win you are proud of. How did you measure it?▼easyNewNVIDIAFireworks AITogether AI4 repliesunlockedA speedup number with no method behind it is worth nothing, and experienced interviewers stop listening at the number and start asking about the baseline. What makes a performance claim survive scrutiny, and the four ways a real one turns out to be smaller than it looked.Open full answer →
13How do you keep current in a field that changes every few months?▼easyNewNVIDIAAnthropicCoreWeave4 replies○ sign inNaming three newsletters answers nothing. The answer that works has a filter, a source of ground truth that is not a blog post, and one thing you reproduced yourself, because that is the only evidence that you learn rather than accumulate.Open full answer →