High Performance Monte Carlo Simulation of Ising Model on TPU Clusters

03/27/2019
by   Kun Yang, et al.
0

Large scale deep neural networks profited from an emerging class of AI accelerators. Although the accelerators are specialized for machine learning, some of their designs are general enough for other computing intensive applications. Cloud TPU, as one of them, offers tremendous computing resources and is easily accessible through TensorFlow by expressing the computation in a graph. In this paper, we leverage this powerful hardware combined with the expressiveness of TensorFlow to simulate the Ising model on a 2-dimensional lattice. We modify the computationally intensive part of the checkerboard algorithm into matrix operations to exploit Cloud TPU's highly efficient matrix unit. In our experiments, we demonstrate that our implementation outperforms the best published benchmarks to our knowledge by 60 in multiple cores with linear scaling. We also show the performance improvement of using low precision arithmetic---bfloat16 instead of float32---without sacrificing any accuracy.

READ FULL TEXT

page 3

page 5

page 10

research
12/13/2019

High-resolution imaging on TPUs

The rapid evolution of artificial intelligence (AI) is leading to a new ...
research
10/12/2022

Trends in Energy Estimates for Computing in AI/Machine Learning Accelerators, Supercomputers, and Compute-Intensive Applications

We examine the computational energy requirements of different systems dr...
research
03/11/2019

TensorFlow Doing HPC

TensorFlow is a popular emerging open-source programming framework suppo...
research
07/05/2018

TFLMS: Large Model Support in TensorFlow by Graph Rewriting

While accelerators such as GPUs have limited memory, deep neural network...
research
08/25/2021

A TensorFlow Simulation Framework for Scientific Computing of Fluid Flows on Tensor Processing Units

A computational fluid dynamics (CFD) simulation framework for predicting...
research
08/25/2021

Towards Memory-Efficient Neural Networks via Multi-Level in situ Generation

Deep neural networks (DNN) have shown superior performance in a variety ...
research
10/23/2019

Automatically Batching Control-Intensive Programs for Modern Accelerators

We present a general approach to batching arbitrary computations for acc...

Please sign up or login with your details

Forgot password? Click here to reset