75Walk through GRPO's implementation: group sampling, advantage normalization, and the failure modes you watch for.▼expertGoogle DeepMindOpenAIMistral2 replies◆ premiumGRPO drops the value model and estimates advantage from a group of samples per prompt. The signal is the exact mechanics, why the group baseline works, and the normalization traps that quietly bias training.Open full answer →
87What is Multi-head Latent Attention (MLA), and how does it differ from MQA and GQA?▼expertDeepSeekNVIDIAMistral1 replies◆ premiumMQA and GQA shrink the KV cache by sharing key/value heads. MLA takes a different route: compress K and V into a low-rank latent and cache that. The signal is knowing it is a cache trick, not a head-sharing trick, and why it keeps quality.Open full answer →
89How do RoPE scaling methods (position interpolation, NTK, YaRN) extend a model's context window?▼expertMetaMistralNVIDIA1 replies◆ premiumA model trained at 4K tokens can be stretched to 128K without full retraining. The signal is knowing why naive extrapolation fails and how PI, NTK-aware scaling, and YaRN each rescale RoPE frequencies differently.Open full answer →
92Compare speculative decoding variants: draft model, Medusa, EAGLE, and lookahead decoding.▼expertNVIDIAGoogle DeepMindMeta2 replies◆ premiumSpeculative decoding speeds up generation without changing the output distribution. The signal is knowing how draft-model, self-drafting (Medusa/EAGLE), and lookahead approaches differ in where the guesses come from.Open full answer →
96How do you serve a Mixture-of-Experts model efficiently, and what makes expert parallelism hard?▼expertDeepSeekMistralNVIDIA2 replies◆ premiumMoE saves compute but is awkward to serve: experts must be sharded, tokens routed across devices, and batches balanced. The signal is the all-to-all communication and the load-imbalance problem, not the training story.Open full answer →
97Why does constrained decoding break on token boundaries, and how do you handle the edge cases?▼expertOpenAIMicrosoftHugging Face2 replies◆ premiumGrammar-constrained decoding sounds like a solved problem until tokenization misaligns with the grammar. The signal is the token-vs-character boundary mismatch and how prefix automata and token healing fix it.Open full answer →
49How does a Kafka stream-processing pipeline achieve exactly-once semantics end to end?▼expertDatabricksSnowflakeGoogle1 replies◆ premiumAt-least-once duplicates and at-most-once loses data; everyone wants exactly-once and few can explain how Kafka delivers it. The signal is idempotent producers plus transactional read-process-write plus the read-committed isolation that ties them together.Open full answer →
94Design an agentic workflow platform where users compose LLM agents that call tools and run for minutes.▼expertOpenAIAnthropicMicrosoft1 replies◆ premiumLong-running agents that loop, call tools, and spawn sub-tasks need durable execution, not a single request handler. Learn how to checkpoint state, recover from failures, bound runaway loops, and observe every step a non-deterministic agent takes.Open full answer →
97Design a real-time speech translation system (speak in one language, hear another) with low latency.▼expertGoogleMicrosoftMeta2 replies◆ premiumLive speech-to-speech translation is a latency race across three models (recognize, translate, synthesize) while audio keeps streaming in. Learn the streaming pipeline, how to commit partial results without flip-flopping, and the tradeoff between latency and translation quality.Open full answer →
48Design the request router and scheduler for a multi-replica LLM serving cluster.▼expertOpenAINVIDIAAWS2 replies◆ premiumRound-robin routing wastes a feature that doubles throughput: cache locality. Designing the router means choosing a replica by KV state, not just least-loaded. Here is the two-layer design.Open full answer →
55How do you combine data, tensor, and pipeline parallelism (3D parallelism) to train a 175B model?▼expertNVIDIAMicrosoftMeta1 replies◆ premiumNo single parallelism dimension trains a 175B model on its own. The art is layering three of them onto the right hardware so the expensive communication stays on the fast links. Here is how to size each axis.Open full answer →
59What makes Mixture-of-Experts models hard to train, and how do you handle routing, load balance, and all-to-all?▼expertGoogle DeepMindMistralMeta1 replies◆ premiumMoE buys you more parameters for the same FLOPs, but the gating network, the load imbalance, and the all-to-all shuffle introduce failure modes dense models never see. Here is the training playbook.Open full answer →
60Design the training infrastructure for RLHF/PPO. Why are there four model copies and how do you fit them?▼expertOpenAIAnthropicCohere1 replies◆ premiumRLHF with PPO is not one model training, it is four models in the loop at once, three of them on the GPU during every step. The memory math and the generation bottleneck are what trip people up.Open full answer →
63How does FP8 training work on Hopper GPUs, and how do you keep it numerically stable?▼expertNVIDIAOpenAIMistral1 replies◆ premiumFP8 promises to roughly double training throughput over BF16, but with only a handful of mantissa bits the numerics are unforgiving. Per-tensor scaling and a selective recipe are what make it converge.Open full answer →
46How do optimization-based adversarial attacks (GCG suffixes) work against LLMs, and how do you defend?▼expertAnthropicOpenAIGoogle DeepMind1 replies◆ premiumGibberish-looking token strings appended to a prompt can reliably break refusals, and they transfer between models. The signal is explaining the gradient search that finds them and why output checks beat input pattern matching.Open full answer →