Ulysses versus ring attention for long sequences
HardConcept20 minMLEREPro outline
The question
Compare the two common ways to split a long sequence across GPUs for attention. What does each communicate, and when is each better?
What the interviewer is looking for
- Explains head-wise all-to-all in the Ulysses approach
- Explains passing K and V blocks around a ring
- Notes the head count limit for the all-to-all approach
- Explains merging partial softmax results
- Gives a rule of thumb for choosing
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Moonshot AI (Kimi) question type: Ulysses versus ring attention; merging attention partials with log-sum-exp; expert parallel communication; FP8 and GPU architecture.
Reported in: thejobsmap.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Moonshot AI (Kimi) question.