FTorch and pytorch-fortran

These are competing approaches to the same problem: both provide Fortran interfaces to PyTorch models, with FTorch offering a more feature-complete library-based solution while pytorch-fortran provides lower-level bindings, making them alternative choices rather than tools meant to be used together.

FTorch
57
Established
pytorch-fortran
40
Emerging
Maintenance 10/25
Adoption 10/25
Maturity 16/25
Community 21/25
Maintenance 0/25
Adoption 9/25
Maturity 16/25
Community 15/25
Stars: 185
Forks: 39
Downloads:
Commits (30d): 0
Language: Fortran
License: MIT
Stars: 94
Forks: 14
Downloads:
Commits (30d): 0
Language: C++
License: MIT
No Package No Dependents
Stale 6m No Package No Dependents

About FTorch

Cambridge-ICCS/FTorch

A library for directly calling PyTorch ML models from Fortran.

This library helps scientists and engineers who use Fortran for high-performance computing integrate modern machine learning models into their existing simulations. You can take a PyTorch model trained in Python, feed it into your Fortran code, and get predictions back, all within the same Fortran application. This is ideal for researchers in fields like physics, climate modeling, or aerospace where Fortran is prevalent.

scientific-computing numerical-simulation high-performance-computing physics-modeling engineering-analysis

About pytorch-fortran

alexeedm/pytorch-fortran

Pytorch bindings for Fortran

This project helps Fortran HPC developers integrate PyTorch deep learning capabilities directly into their existing Fortran codebases. You can define a neural network model in Python, load it into Fortran, pass in Fortran arrays as input, run inference or training, and receive the output as native Fortran arrays. This allows Fortran developers to leverage PyTorch's optimized deep learning framework without rewriting their high-performance computing applications.

Fortran-development HPC-programming deep-learning-integration scientific-computing numerical-simulation

Scores updated daily from GitHub, PyPI, and npm data. How scores work