In Situ Framework for Coupling Simulation and Machine Learning with Application to CFD

06/22/2023
by   Riccardo Balin, et al.
0

Recent years have seen many successful applications of machine learning (ML) to facilitate fluid dynamic computations. As simulations grow, generating new training datasets for traditional offline learning creates I/O and storage bottlenecks. Additionally, performing inference at runtime requires non-trivial coupling of ML framework libraries with simulation codes. This work offers a solution to both limitations by simplifying this coupling and enabling in situ training and inference workflows on heterogeneous clusters. Leveraging SmartSim, the presented framework deploys a database to store data and ML models in memory, thus circumventing the file system. On the Polaris supercomputer, we demonstrate perfect scaling efficiency to the full machine size of the data transfer and inference costs thanks to a novel co-located deployment of the database. Moreover, we train an autoencoder in situ from a turbulent flow simulation, showing that the framework overhead is negligible relative to a solver time step and training epoch.

READ FULL TEXT
research
07/25/2020

Towards Game Design via Creative Machine Learning (GDCML)

In recent years, machine learning (ML) systems have been increasingly ap...
research
11/10/2022

Training and Serving Machine Learning Models at Scale

In recent years, Web services are becoming more and more intelligent (e....
research
04/13/2021

Using Machine Learning at Scale in HPC Simulations with SmartSim: An Application to Ocean Climate Modeling

We demonstrate the first climate-scale, numerical ocean simulations impr...
research
06/14/2022

Physics-Informed Transfer Learning Strategy to Accelerate Unsteady Fluid Flow Simulations

Since the derivation of the Navier Stokes equations, it has become possi...
research
03/30/2021

Theory-Guided Machine Learning for Process Simulation of Advanced Composites

Science-based simulation tools such as Finite Element (FE) models are ro...
research
11/23/2021

Machine Learning Based Forward Solver: An Automatic Framework in gprMax

General full-wave electromagnetic solvers, such as those utilizing the f...
research
02/17/2020

Simulating Performance of ML Systems with Offline Profiling

We advocate that simulation based on offline profiling is a promising ap...

Please sign up or login with your details

Forgot password? Click here to reset