NVIDIA / TorchFort

An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

Home Page:https://nvidia.github.io/TorchFort/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TorchFort

An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

Introduction

TorchFort is a DL training and inference interface for HPC programs implemented using LibTorch, the C++ backend used by the PyTorch framework. The goal of this library is to help practitioners and domain scientists to seamlessly combine their simulation codes with Deep Learning functionalities available within PyTorch. This library can be invoked directly from Fortran or C/C++ programs, enabling transparent sharing of data arrays to and from the DL framework all contained within the simulation process (i.e., no external glue/data-sharing code required). The library can directly load PyTorch model definitions exported to TorchScript and implements a configurable training process that users can control via a simple YAML configuration file format. The configuration files enable users to specify optimizer and loss selection, learning rate schedules, and much more.

Please refer to the documentation for additional information on the library, build instructions, and usage details.

Please refer to the examples to see TorchFort in action.

Contact us or open a GitHub issue if you are interested in using this library in your own solvers and have questions on usage and/or feature requests.

License

This library is released under a BSD 3-clause license, which can be found in LICENSE.

About

An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

https://nvidia.github.io/TorchFort/

License:Other


Languages

Language:C++ 64.9%Language:Fortran 22.5%Language:C 9.1%Language:Python 1.4%Language:CMake 1.4%Language:Dockerfile 0.6%