User Guide

  • Jack Atkinson
  • Last Updated: October 2025

Welcome to the FTorch user documentation!

FTorch is a library for coupling PyTorch machine learning (ML) models to Fortran, enabling the development of hybrid models that combine high-performance scientific computing with modern ML techniques.

It has been used in multiple scientific projects.
If you make use of FTorch in your work please cite our publication:

Atkinson et al., (2025). FTorch: a library for coupling PyTorch models to Fortran.
Journal of Open Source Software, 10(107), 7602, https://doi.org/10.21105/joss.07602


This section of the documentation is designed to help users familiarise themselves with the library, how to install and use it, and the community around FTorch. The site also contains detailed API documentation for those using FTorch in projects.

Getting Started

Documentation Map

External Resources