Insights into DeepSeek-V3: Scaling Challenges and Reflections on Hardware for AI Architectures
The V3 report told you what was built. This one tells you which hardware limits forced it: a 4:1 scale-up to scale-out bandwidth gap, 20 SMs lost to networking, and a two-layer fabric that had to carry storage too.
arXiv:2505.09343Where this sits
The efficiency era's retrospective. Where Fire-Flyer described the cluster DeepSeek built, this paper describes what the V3 training run taught them about the hardware they had, and it closes the era by turning those lessons into concrete requests for the next generation of silicon.
- Quantifies the H800's scale-up penalty: NVLink bandwidth cut from 900 GB/s to 400 GB/s, about 200 GB/s per direction and roughly 160 GB/s achievable, against 40 GB/s of effective bandwidth per 400G InfiniBand NIC.
- Derives node-limited routing directly from that ratio: 256 routed experts in 8 groups of 32 on 8 nodes, with each token sent to at most 4 nodes so inter-node traffic depends on the node count rather than the expert count.
- Documents the hidden SM tax: up to 20 H800 SMs spent on network message handling and NVLink forwarding during training, and the RDMA all-to-all used at inference to give those SMs back to computation.
- Describes the Multi-Plane Fat-Tree: each GPU paired with its own NIC on its own plane, a separate 400G RoCE storage plane for 3FS, 64-port 400G switches, and a topology that could reach 16,384 GPUs in two layers.
- Turns the experience into hardware recommendations: precise low-precision compute, scale-up and scale-out convergence, low-latency communication fabrics, and direct CPU-GPU interconnects instead of PCIe.
What it is
This is the industry reflection paper that DeepSeek published after V3: a detailed account of the hardware bottlenecks hit while training on 2,048 H800 GPUs and the co-design decisions made in response. It quantifies the H800's reduced NVLink bandwidth, the 4:1 ratio between intra-node and inter-node communication, the streaming-multiprocessor (SM) cycles consumed by network handling, the node-limited routing rule that follows from the ratio, the multi-plane fat-tree that replaced a three-layer topology, and the case for future chips with precise low-precision units and converged scale-up and scale-out fabrics. It is the systems companion to the V3 technical report and was presented at ISCA 2025.
1Theory from first principles
What scaling actually hits
The paper opens with the three walls every large training run meets: memory capacity, compute efficiency, and interconnect bandwidth. Model architectures answer the first two - MLA compresses the KV cache, MoE keeps compute per token low, FP8 raises arithmetic throughput per byte. The third is not the model's to fix, because it is a property of the machine. V3 was trained on 2,048 H800s, a GPU whose NVLink bandwidth was cut for export compliance, and the paper's argument is that several of V3's most distinctive choices are direct responses to that one fact.
The 4:1 ratio and what follows from it
Inside an H800 node, NVLink delivers about 200 GB/s per direction, of which roughly 160 GB/s is achievable. Between nodes, each 400G InfiniBand NIC delivers a nominal 50 GB/s and an effective 40 GB/s on realistic message sizes. That is a 4:1 gap, and it means the model should be shaped so that most communication stays inside the node. Node-limited routing is the answer: the 256 routed experts are split into 8 groups of 32, each group living on one node, and the router may send a token to at most 4 nodes. Inter-node traffic then depends on the number of nodes a token visits, not on the number of experts it uses - which is why the paper can say the same communication budget would support 13 experts instead of 8.
Why node count, not expert count, sets the bill
IB traffic per token = M * d_model * bytes_per_element
with M = number of nodes the token visits (M <= 4), independent of K = 8 expertsEvery expert a token visits on a remote node costs one all-to-all hop of the token's hidden vector. Grouping experts by node and capping M means the cost grows with the number of remote nodes, while adding more experts per node is nearly free from the network's point of view. This is the quantitative bridge between the architecture and the fabric.
The SM tax nobody budgets for
Communication is not free even when the network is fast: somebody has to move the bytes. The paper reports that during training, up to 20 of the H800's streaming multiprocessors are occupied with network message handling - filling queue pairs and work requests - and with forwarding data over NVLink, leaving fewer SMs for matrix math. At inference the same problem is worse, because latency matters more. V3's serving stack therefore runs expert-parallel all-to-all entirely through NIC RDMA, whose asynchronous model overlaps transfer with computation and returns the SMs to the model. This is a concrete example of a software decision made to work around a hardware deficiency, and the paper says so plainly.
Multi-plane networking and the storage plane
The cluster fabric is a two-layer multi-plane fat-tree. Each node has 8 GPUs and 8 InfiniBand NICs, and each GPU-NIC pair is assigned to its own network plane, so a node spreads its traffic across eight independent paths instead of contending for one. A separate 400G RoCE (RDMA over Converged Ethernet) NIC connects each node to a storage plane that carries 3FS traffic, keeping checkpoint and data loading off the compute fabric. With 64-port 400G switches, the topology can address up to 16,384 GPUs while keeping the cost and latency of two layers; the deployed cluster was just over two thousand GPUs. The paper is candid that the deployed fabric does not fully realize the design, because the ConnectX-7 NICs of the time expose separate ports rather than one bonded logical interface, so packets from one queue pair cannot be sprayed across planes.
Precision and the request list
The FP8 section repeats the V3 findings - fine-grained scaling, FP32 promotion every 128 products, low-precision communication - and then makes the hardware case: current units make you trade exponent range against mantissa precision, so training stacks compensate in software. The paper's recommendation is precise low-precision computation units that preserve accuracy for accumulation, alongside the other three asks: a unified scale-up and scale-out fabric with dedicated network co-processors, lower-latency interconnects that do not consume SM cycles, and direct CPU-GPU links such as NVLink or Infinity Fabric to remove the PCIe bottleneck during parameter, gradient, and KV cache transfers.
How to read it
This is not a model report and contains no new benchmark results; it is an engineering reflection with numbers, published at ISCA 2025. Read it alongside the V3 technical report, because it explains the why behind choices the report states as configuration: why routing is node-limited, why the cluster is two-layer, why the serving stack insists on RDMA, and why the paper believes the next gains come from co-designing chips and models together rather than from either alone. The stated limits are the flip side: the recommendations are informed by one vendor's hardware generation and by regulatory constraints specific to that deployment, and several suggestions require silicon changes that no vendor had shipped at the time.
2Inside the paper
Problem the paper sets out to solve
Training frontier models on export-restricted hardware exposes mismatches between what architectures want (cheap, fast, uniform communication; precise low-precision math) and what chips provide (a scale-up/scale-out bandwidth gap, SM cycles consumed by networking, coarse low-precision units). The paper documents those mismatches from the V3 run and proposes fixes.
Key idea to look for while reading
The paper is organized by layer: model architecture (MLA, MoE, MTP), low-precision compute and communication, scale-up interconnect, scale-out network, then broader reflections. Read the bandwidth arithmetic in Sections 4 and 5 first; the architectural choices in Section 2 are the V3 report's material restated with hardware motivation.
Evidence the paper musters
Concrete numbers from the deployed system: H800 NVLink 400 GB/s total, about 200 GB/s per direction and 160 GB/s achievable; 8 x 400G IB NICs per node at 50 GB/s nominal and 40 GB/s effective each; a 4:1 ratio; up to 20 SMs consumed by communication; 256 experts in 8 node-groups with M <= 4; a 64-port 400G two-layer fabric sized for 16,384 GPUs; 2,048 GPUs actually deployed; a separate 400G storage plane for 3FS.
Limits the authors admit
The reflection is tied to one hardware generation and one deployment's regulatory constraints. The multi-plane design is not fully realized in the deployed NICs, so some of its projected benefits are argued rather than measured. And the recommendations are proposals to vendors, not results: whether converged fabrics or precise low-precision units arrive is outside the authors' control.
Practitioner takeaway
Read your hardware's bandwidth ratio before you design your routing. If inter-node bandwidth is a quarter of intra-node, shape the model so communication stays inside nodes, and remember that moving bytes consumes compute cycles unless the network stack can do it asynchronously. When you write the postmortem of your own training run, quantify the workarounds: that list is what hardware teams need.
3Implementation check
0 of 5 questions answered
1.Why does V3 limit each token to at most 4 nodes rather than a fixed number of experts?
2.What is the reported H800 bandwidth ratio the design responds to?
3.Why does the serving stack run expert-parallel all-to-all through NIC RDMA instead of GPU-initiated communication?
4.What does the multi-plane fat-tree change relative to a conventional three-layer fabric?
5.Which of these is one of the paper's forward-looking hardware recommendations?
4Build it yourself
Roofline a toy GEMM to find the crossover
Starter2-3 hoursBuild the roofline model the hardware paper reasons with: for a GEMM shape (m, n, k), compute FLOPs and bytes moved, then check whether the shape is compute- or memory-bound against a machine's peak and bandwidth. Sweep k to find the exact crossover where arithmetic intensity passes the ridge point, the same arithmetic behind node-limited routing and batch-size choices.
Milestones
- Fix the machine constants: 60 TFLOP/s peak and 3 TB/s bandwidth, giving a ridge point of 20 FLOP/byte.
- Write the intensity function: 2*m*n*k FLOPs over twice the bytes of A, B, and C.
- Implement the GEMM cost model: seconds = max(flops / peak, bytes / bandwidth) plus a bound label.
- Print intensity and bound for small, square, and large-k shapes.
- Implement a bisection search for the smallest k that is compute-bound at a fixed (m, n).
- Verify the crossing analytically: solve flops/bytes = ridge for k and compare with the search.
- Re-run with a second machine profile (for example 100 TFLOP/s at 2 TB/s) and show the crossover moves.
Success criteria
- The model labels 64x64x16 memory-bound and 64x64x64 compute-bound, matching the intensity print.
- The bisection returns k = 54 for (64, 64), and the analytic solve returns the same value.
- Switching to a higher ridge point changes the crossover in the direction the formula predicts.
- The whole script is standard library, uses fixed constants, and runs in under a second.
Stretch goals
- Add a batch dimension and show how batching raises intensity until the shape hits the compute roof.
- Model FlashAttention-style tiling: keep a block of keys on chip and recompute bytes to see when attention becomes compute-bound.
- Add a latency term for the memory-bound case and find the batch size where latency is hidden by arithmetic.