Skip to main content

TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings

Publication ,  Conference
Jouppi, NP; Kurian, G; Li, S; Ma, P; Nagarajan, R; Nai, L; Patil, N; Subramanian, S; Swing, A; Towles, B; Young, C; Zhou, X; Zhou, Z; Patterson, D
Published in: Proceedings - International Symposium on Computer Architecture
June 17, 2023

In response to innovations in machine learning (ML) models, production workloads changed radically and rapidly. TPU v4 is the fifth Google domain specific architecture (DSA) and its third supercomputer for such ML models. Optical circuit switches (OCSes) dynamically reconfigure its interconnect topology to improve scale, availability, utilization, modularity, deployment, security, power, and performance; users can pick a twisted 3D torus topology if desired. Much cheaper, lower power, and faster than Infiniband, OCSes and underlying optical components are <5% of system cost and <3% of system power. Each TPU v4 includes SparseCores, dataflow processors that accelerate models that rely on embeddings by 5x–7x yet use only 5% of die area and power. Deployed since 2020, TPU v4 outperforms TPU v3 by 2.1x and improves performance/Watt by 2.7x. The TPU v4 supercomputer is 4x larger at 4096 chips and thus nearly 10x faster overall, which along with OCS flexibility and availability allows a large language model to train at an average of ~60% of peak FLOPS/second. For similar sized systems, it is ~4.3x–4.5x faster than the Graphcore IPU Bow and is 1.2x–1.7x faster and uses 1.3x–1.9x less power than the Nvidia A100. TPU v4s inside the energy-optimized warehouse scale computers of Google Cloud use ~2-6x less energy and produce ~20x less CO2e than contemporary DSAs in typical on-premise data centers.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Proceedings - International Symposium on Computer Architecture

DOI

ISSN

1063-6897

Publication Date

June 17, 2023

Start / End Page

1147 / 1160
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Jouppi, N. P., Kurian, G., Li, S., Ma, P., Nagarajan, R., Nai, L., … Patterson, D. (2023). TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings. In Proceedings - International Symposium on Computer Architecture (pp. 1147–1160). https://doi.org/10.1145/3579371.3589350
Jouppi, N. P., G. Kurian, S. Li, P. Ma, R. Nagarajan, L. Nai, N. Patil, et al. “TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings.” In Proceedings - International Symposium on Computer Architecture, 1147–60, 2023. https://doi.org/10.1145/3579371.3589350.
Jouppi NP, Kurian G, Li S, Ma P, Nagarajan R, Nai L, et al. TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings. In: Proceedings - International Symposium on Computer Architecture. 2023. p. 1147–60.
Jouppi, N. P., et al. “TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings.” Proceedings - International Symposium on Computer Architecture, 2023, pp. 1147–60. Scopus, doi:10.1145/3579371.3589350.
Jouppi NP, Kurian G, Li S, Ma P, Nagarajan R, Nai L, Patil N, Subramanian S, Swing A, Towles B, Young C, Zhou X, Zhou Z, Patterson D. TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings. Proceedings - International Symposium on Computer Architecture. 2023. p. 1147–1160.

Published In

Proceedings - International Symposium on Computer Architecture

DOI

ISSN

1063-6897

Publication Date

June 17, 2023

Start / End Page

1147 / 1160