The networking change highlighted by SemiAnalysis concerns how machine-learning chips exchange data. TPU v2 and v3 connected chips in a two-dimensional torus; TPU v4 moved to a three-dimensional one. A torus joins opposite edges of a grid, providing wraparound routes between chips. Google's architecture account says the 3D torus raises bisection bandwidth, the bandwidth between one half of the chips and the other, supporting TPU v4's larger pods of 4096 chips.
The useful consequence depends on the workload and configuration. The TPU v4 documentation describes both mesh and torus configurations and explains that performance is highest when each parallelism dimension of a ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition → maps onto a physical dimension of the chip topology.
Terms in this piece · Glossary
Model — A computational system that uses learned patterns to produce an output from information supplied to it.