Cambridge-ICCS/FTorch

A library for directly calling PyTorch ML models from Fortran.

57
/ 100
Established

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.

scientific-computing numerical-simulation high-performance-computing physics-modeling engineering-analysis
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

185

Forks

39

Language

Fortran

License

MIT

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.