Learn
The systems behind training, one topic at a time: what problem it solves, why this solution, what it needs, and animated diagrams of the paths the data takes. Every section has its own link.
- training · overviewAI training at scale, in ten stepsFrom raw web text to a released model: the ten jobs every training run does, from what size each one starts to matter, and who does it. The map our other articles hang off.
- inference · serving · overviewAI inference at scale, in ten stepsFrom a released model to an answer on someone's screen: the ten jobs every serving fleet does, from what size each one starts to matter, and who does it.
- networking · storage · multi-nodeGPUDirect: getting data to the GPU without the CPUTraining moves data from storage to GPUs, and between GPUs on different servers. Normally every byte detours through the CPU and host RAM. GPUDirect RDMA and GPUDirect Storage remove the detour. What that costs, what it needs, and at what scale it starts to matter.
- The use case: one training step
- The problem: the long way round
- Two layers: RDMA fixes the network, GPUDirect fixes the host
- Local NVMe: the same trick inside one server
- GPU to GPU across servers
- At what scale does it matter?
- When it matters, and when it doesn’t
- Many GPUs: real systems
- Which storage can do this?
- What you need
- Ask about this article
- Sources
- inference · serving · economicsPrefill–decode disaggregation: why big model servers split every request in twoAnswering a prompt is two jobs with opposite needs: reading the prompt is heavy maths, writing the answer is mostly waiting on memory. Run both on the same chips and they get in each other's way. How splitting them works, what it costs, who runs it, and when it isn't worth it.
- How a model answers: prefill, then decode
- What users feel: TTFT and TPOT
- The problem: two jobs on the same GPUs
- The fix: split them
- Two jobs with opposite needs
- The price: moving the KV cache
- When it helps, and when it doesn’t
- Who runs it, and what they report
- What API prices reveal
- Beyond two pools
- Ask about this article
- Sources
- inference · serving · kv cacheMooncake: keeping the KV cache so the GPUs don’t redo the workChats and agents send the same long text again and again. Recomputing it wastes GPU time; keeping it overflows GPU memory. How big that problem is, how Moonshot AI and Tsinghua University built Mooncake to keep the cache across a whole cluster, what it achieved for Kimi, and what else does the same job.
- storage · business · marketVAST, WEKA and NetApp: three ways to feed GPUs, and three businessesThe three storage companies most often shortlisted for AI clusters were built on different bets: a parallel file system, a disaggregated shared-everything design over NFS, and the enterprise's existing file store. What each is good at, where it lags, what the evidence says, and what their businesses look like.