
- Reading
- 6 min
- Tables
- 1
In a benchmark published on November 30, Google shows how it scaled training of the open DeepSeek-V3 model (671B parameters) up to 8,192 Ironwood TPUs, with gains of up to 82% in throughput per chip within a week of optimization.
On November 30, Google published the first in a series of technical posts about how it scaled training of giant Mixture-of-Experts (MoE) models on Ironwood (TPU7x), its seventh-generation TPU. The chosen benchmark was DeepSeek-V3, an open model with 671 billion parameters that combines multi-head latent attention (MLA), 256 routed experts, and multi-token prediction (MTP). The team, with Ran Ran and Vaibhav Singh listed as first authors, documented the optimization process in detail, which makes the post a rare read: it's not a product announcement, it's an engineering report with numbers, bottlenecks, and architecture decisions explained one by one.
What exactly was measured
The experiment fixed the model, the dataset, the global batch, and the validation loss target (log perplexity of 3.6), varying only the number of chips: 2,048, 4,096, and 8,192. The reported metric is "time to train": the wall-clock time to reach that quality target, not a full training run to production convergence. It's the same logic behind benchmarks like MLPerf, designed to isolate the effect of hardware scale from the effect of dataset size or training duration.
With this methodology, Google reached the target in 1.70 minutes using 8,192 chips, with all communication staying within a single inter-chip interconnect domain (ICI). Each Ironwood delivers 4,614 TFLOP/s in FP8 and 192 GiB of HBM at 7.38 TB/s, and a pod connects up to 9,216 chips within that same domain. This matters for anyone evaluating infrastructure: the difference between keeping everything inside a fast interconnect domain or having to cross the data center network (DCN, here at 100 Gb/s per chip) is the difference between scaling nearly linearly or not.
The FSDP + EP recipe
The post describes two parallel workstreams; this text covers only the first, named FSDP + EP. The central idea is to combine two parallelism axes in a device mesh: heavy fully sharded data parallelism (FSDP) and moderate expert parallelism (EP).
The reasoning behind the choice is instructive for anyone working with MoE in any stack:
- Pure FSDP on 8,192 chips would force an all-gather of the 256 experts in every layer, for every chip, blowing out weight traffic and HBM.
- The model's dimensions don't divide evenly into 16,384 parts, so slicing too finely requires expensive padding.
- Tensor parallelism (TP) was discarded for reducing arithmetic intensity on the experts' small dimension.
- Pipeline parallelism (PP) was discarded because idle bubbles outweighed the communication savings at these scales.
The solution was to let each chip gather only the weights of its own experts (cutting traffic and HBM footprint by the EP degree) and group tokens within the EP group to keep expert matmuls compute-bound rather than memory-bound. In the attention layer, the EP axis carries the batch as data parallelism; in the MoE layers, the 256 experts are split across the EP axis (32 per device at EP 8, 16 at EP 16) and each expert shard is further sharded along the FSDP axis.
Where the real gain lives
The performance leap didn't come from a single trick, it came from five fronts worked in sequence, each one targeting the largest bottleneck measured in a roofline (the theoretical performance ceiling given the hardware).
FP8 was the largest single gain: at 512 chips, it cut step time from 4.375s to 3.015s, a 31% reduction. The curious part is where that gain came from: switching the matmuls to FP8 alone saved only 4.7% (Ironwood runs natively in FP8, with double BF16's throughput), and even adding splash attention in FP8, total compute explains only 19% of the savings. The other 68% came from quantized collectives, such as turning the expert weight all-gather and the token all-gather into transfers of half the byte size. The remaining 13% came from static scaling and weight layout.
Other relevant optimizations:
- GMM v2 (grouped matmul kernel in Pallas): a ~10% gain from loading and computing only the valid rows of each expert, instead of processing the entire tile and then masking it.
- Splash attention: skipping empty sub-tiles of the causal triangle (reducing waste from 33% to 11%) and skipping segment IDs when the data pipeline already packs documents into a single stream with no marked boundaries (the
sa_ignore_segment_idsflag). - Ragged sort: gather and gather-reduce kernels that move only the tokens routed to each rank's local experts, instead of permuting the entire all-gathered buffer of the EP group.
- Token chunking (
num_moe_token_chunks) and a ragged buffer factor (ragged_buffer_factor) that balance HBM against overflow risk, with a dropless fallback (moe_dropless_fallback) to never drop tokens. - Custom rematerialization (
remat_policy: custom) from 4,096 chips onward, keeping only selected tensors in HBM (layer inputs, attention projections, routing maps) instead of recomputing everything.
The scaling numbers
With a global batch fixed at 16,384 sequences of 4,096 tokens, doubling the chips should double the speed. That holds up to 2,048 chips (97 to 100% efficiency relative to 512 chips), but drops after that, because there's no gradient accumulation left to remove and the per-device batch size has to shrink.
| Scale | Throughput per chip (before → after, one week) | EMFU (optimized) |
|---|---|---|
| 2,048 chips | 2,057 → 3,736 tokens/s/chip (+82%) | 42.8% |
| 4,096 chips | 1,971 → 3,084 tokens/s/chip (+56%) | 34.9% |
| 8,192 chips | 1,568 → 2,501 tokens/s/chip (+60%) | 28.9% |
These numbers are only from the FSDP + EP track, without the "batch-split schedule" that Google promises to detail in Part 2, still this November, according to the post. The post itself acknowledges the limitation: at 8,192 chips, the per-device batch becomes so small that little computation is left to hide communication, and the EP reduce-scatter remains exposed in step time.
What's left out and why it matters
Google is clear about the limit of this Part 1: with a PBS (per-device batch size) of 1 at 8,192 chips, scaling efficiency drops to 66% relative to 512 chips, and most of that loss comes from the small per-device batch, not from the number of chips itself. It's a useful reminder for anyone sizing training clusters: increasing parallelism without rethinking per-device batch size tends to give back the gain in the form of exposed communication.
For those building outside Google, with smaller GPUs or TPUs, the post's value isn't in the absolute numbers (few Brazilian teams are going to rent 8,192 Ironwoods), but in the catalog of techniques: the FSDP + EP logic for MoE, the ragged kernels for avoiding moving too much data between experts, and the finding that quantization on network collectives tends to be worth more than quantization on matmuls alone. These are portable ideas for any distributed training stack dealing with sparse routing, including frameworks outside the JAX/MaxText used here.
Translated from the Brazilian Portuguese original · Read the original
IBM releases Granite Docling V2, a lightweight model for converting documents without relying on paid APIs
IBM's Granite Docling V2 models (2B and 500M) read a full page and return text, table, formula, and reading order in a single pass, running locally under Apache 2.0.





