Accelerating Physics Simulations with TPUs: An Inundation Modeling Example

Damien Pierce, R. Lily Hu, Yusef Shafi, Anudhyan Boral, Vladimir Anisimov +2 more
4/21/2022
cs.DCcs.CEphysics.comp-ph

Official code: google-research/google-research (39,251 stars, Jupyter Notebook, Apache-2.0, last commit 2026-04-30).

Abstract

Recent advancements in hardware accelerators such as Tensor Processing Units (TPUs) speed up computation time relative to Central Processing Units (CPUs) not only for machine learning but, as demonstrated here, also for scientific modeling and computer simulations. To study TPU hardware for distributed scientific computing, we solve partial differential equations (PDEs) for the physics simulation of fluids to model riverine floods.

Show full abstract

We demonstrate that TPUs achieve a two orders of magnitude speedup over CPUs. Running physics simulations on TPUs is publicly accessible via the Google Cloud Platform, and we release a Python interactive notebook version of the simulation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

39,2518,516Jupyter Notebook, PythonOct 4, 20187 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{pierce2022accelerating,
  title  = {Accelerating Physics Simulations with TPUs: An Inundation Modeling Example},
  author = {Damien Pierce and R. Lily Hu and Yusef Shafi and Anudhyan Boral and Vladimir Anisimov and Sella Nevo and Yi-fan Chen},
  year   = {2022},
  eprint = {2204.10323},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10323}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.10323.svg)](https://codeofpaper.com/paper/2204.10323)

Discussion