01Your decode GEMV kernel reaches only about half of HBM bandwidth on an H100. Find the reasons and get it above 80%.▼hard★ EssentialNewNVIDIAOpenAIAnthropicunlockedA matrix-vector product has one job: keep enough bytes in flight. The answer counts how many that is per SM, then finds the three places a decode GEMV quietly drops below it.Open full answer →
07Write a fused RMSNorm kernel in Triton and count its memory traffic against the unfused PyTorch version.▼mediumNewOpenAIMetaTogether AI○ sign inRMSNorm does almost no arithmetic, so its cost is bytes, and the eager PyTorch version moves nine times more of them than it needs to. The answer writes the one-pass kernel, tests it on awkward hidden sizes, and says where fusion stops paying.Open full answer →
14You are about to report one number for your new kernel in a design review. How do you measure it so the number survives scrutiny?▼mediumNewNVIDIAAMDOpenAI◆ premiumA kernel time is a distribution measured under conditions, and a reviewer will ask about both. The answer builds the timing loop, says what each line defends against, and adds the one sanity check that catches most bad numbers.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 →
09Write a row-wise softmax kernel in Triton that stays correct when a row is longer than the block size, and test it.▼mediumNewNVIDIAOpenAIAMD○ sign inThe tutorial kernel loads a whole row into one block and breaks the moment the row is a 128,256-entry vocabulary. The answer writes the looped version, keeps it free of NaNs when a whole tile is masked, and tests it the way a grader will.Open full answer →