Fortran ML Frameworks

Deep learning libraries and tools written in or interfacing with Fortran, particularly for scientific computing and HPC applications. Does NOT include general ML frameworks in other languages, linear algebra libraries without ML capabilities, or Fortran tools for non-ML scientific computing.

There are 44 fortran ml frameworks tracked. 9 score above 50 (established tier). The highest-rated is modern-fortran/neural-fortran at 60/100 with 462 stars. 1 of the top 10 are actively maintained.

Get all 44 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=fortran-ml-frameworks&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 modern-fortran/neural-fortran

A parallel framework for deep learning

60
Established
2 Cambridge-ICCS/FTorch

A library for directly calling PyTorch ML models from Fortran.

60
Established
3 mlverse/torch

R Interface to Torch

60
Established
4 Beliavsky/Fortran-code-on-GitHub

Directory of Fortran codes on GitHub, arranged by topic

59
Established
5 BerkeleyLab/fiats

A deep learning library for use in high-performance computing applications...

58
Established
6 ryuz/BinaryBrain

Binary Neural Network Framework for FPGA(Differentiable LUT)

57
Established
7 NVIDIA/TorchFort

An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

56
Established
8 huawei-noah/bolt

Bolt is a deep learning library with high performance and heterogeneous flexibility.

52
Established
9 Oneflow-Inc/oneflow

OneFlow is a deep learning framework designed to be user-friendly, scalable...

52
Established
10 Adam-Vandervorst/PyBHV

Boolean Hypervectors with various operators for experiments in...

49
Emerging
11 scientific-computing/FKB

A two-way deep learning bridge between Keras and Fortran

47
Emerging
12 raymondyfei/lbfgsb-gpu

An open source library for the GPU-implementation of L-BFGS-B algorithm

46
Emerging
13 nabla-ml/nabla

Nabla: High-Performance Scientific Computing

46
Emerging
14 andreped/GradientAccumulator

:dart: Gradient Accumulation for TensorFlow 2

41
Emerging
15 Cambridge-ICCS/fortran-tf-lib

A library for directly calling TensorFlow / Keras ML models from Fortran.

41
Emerging
16 NaoMatch/FortLearner

Machine Learning Algorithms in Fortran

41
Emerging
17 alexeedm/pytorch-fortran

Pytorch bindings for Fortran

40
Emerging
18 google/network-opt

A library for topological network optimization

39
Emerging
19 vanderhe/fortnet

Fortnet is a Behler-Parrinello-Neural-Network implementation, written in...

38
Emerging
20 nedtaylor/athena

A Fortran-based neural network library for physics-based applications....

38
Emerging
21 sinkingsugar/nimtorch

PyTorch - Python + Nim

37
Emerging
22 sebastian-mutz/fsml

Fortran Statistics and Machine Learning Library

35
Emerging
23 mlverse/cuda.ml

R interface for cuML

35
Emerging
24 perazz/fortran-lapack

Modern Fortran Linear Algebra library

33
Emerging
25 codezonediitj/BNN

Deep Learning Framework with a specialisation aimed for Binarized Neural Networks.

30
Emerging
26 atzberg/mlmod

Machine learning package for data-driven modeling and simulation of particle...

30
Emerging
27 flexi-framework/tffb

The TensorFlow Fortran Binding (TFFB) library allows to load and evaluate...

28
Experimental
28 aleon1138/mars

An implementation of Multivariate Adaptive Regression Splines

28
Experimental
29 r-xla/pjrt

R Interface to PJRT

26
Experimental
30 InferBend/Bolt

BOLT: Bendable Optimization and Learning Toolkit

26
Experimental
31 nedtaylor/wandb-fortran

Fortran interface for Weights & Biases to enable training metrics logging...

23
Experimental
32 dliptak001/HypercubeRC

Reservoir computer with hypercube-structured connectivity, translation...

23
Experimental
33 wignerc/torchada

🔗 Simplify GPU coding by using torchada to run your PyTorch CUDA code...

22
Experimental
34 kcxain/gradflow

😺GradFlow: A simple, scalable and efficient deep learning framework.

22
Experimental
35 arjo129/NueralNets

Fortran Based Nueral Networks

21
Experimental
36 ajfurlong/fortran_dnn_from_tf

Barebones method of implementing a pre-trained DNN from TensorFlow in a...

18
Experimental
37 Qile0317/einops

R port of the einops library

14
Experimental
38 wavesgroup/pfml-iccs-talk

Slides for "Pure Fortran Machine Learning" talk at the ICCS Journal Club

14
Experimental
39 Bynaryman/OSFNTC

Open-Source Framework for Numerically-Tailored Computations This project is...

13
Experimental
40 jnb666/nimxla

Nim bindings for the XLA accelerated linear algebra library

12
Experimental
41 timstr/scorch

Like torch, but rather than seeing the light, you get burnt.

12
Experimental
42 ivanZanardi/tf2

TensorFlow to Fortran

11
Experimental
43 hsnx11/Fort

Archive your outdated code with Fort, a simple tool for managing and...

11
Experimental
44 Tensor-Array/BinaryTensor

A tensor that use only 1 bit per value and only using bitwise operators.

10
Experimental