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.
185 stars.
Use this if you need to embed PyTorch machine learning models directly into your Fortran simulations or applications for tasks like surrogate modeling, data assimilation, or real-time control.
Not ideal if your primary development environment is not Fortran, or if you do not have existing Fortran code that requires ML model integration.
Stars
185
Forks
39
Language
Fortran
License
MIT
Category
Last pushed
Mar 12, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/Cambridge-ICCS/FTorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
mlverse/torch
R Interface to Torch
modern-fortran/neural-fortran
A parallel framework for deep learning
Beliavsky/Fortran-code-on-GitHub
Directory of Fortran codes on GitHub, arranged by topic
NVIDIA/TorchFort
An Online Deep Learning Interface for HPC programs on NVIDIA GPUs
BerkeleyLab/fiats
A deep learning library for use in high-performance computing applications in modern Fortran