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 47 fortran ml frameworks tracked. 9 score above 50 (established tier). The highest-rated is mlverse/torch at 64/100 with 563 stars. 1 of the top 10 are actively maintained.

Get all 47 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 mlverse/torch

R Interface to Torch

64
Established
2 modern-fortran/neural-fortran

A parallel framework for deep learning

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

Directory of Fortran codes on GitHub, arranged by topic

59
Established
4 Cambridge-ICCS/FTorch

A library for directly calling PyTorch ML models from Fortran.

57
Established
5 NVIDIA/TorchFort

An Online Deep Learning Interface for HPC programs on NVIDIA GPUs

56
Established
6 BerkeleyLab/fiats

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

55
Established
7 Oneflow-Inc/oneflow

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

52
Established
8 ryuz/BinaryBrain

Binary Neural Network Framework for FPGA(Differentiable LUT)

52
Established
9 huawei-noah/bolt

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

50
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 sebastian-mutz/fsml

Fortran Statistics and Machine Learning Library

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

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

41
Emerging
16 andreped/GradientAccumulator

:dart: Gradient Accumulation for TensorFlow 2

41
Emerging
17 NaoMatch/FortLearner

Machine Learning Algorithms in Fortran

41
Emerging
18 alexeedm/pytorch-fortran

Pytorch bindings for Fortran

40
Emerging
19 google/network-opt

A library for topological network optimization

39
Emerging
20 nedtaylor/athena

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

38
Emerging
21 vanderhe/fortnet

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

38
Emerging
22 atzberg/mlmod

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

37
Emerging
23 codezonediitj/BNN

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

37
Emerging
24 sinkingsugar/nimtorch

PyTorch - Python + Nim

37
Emerging
25 mlverse/cuda.ml

R interface for cuML

35
Emerging
26 flexi-framework/tffb

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

35
Emerging
27 aleon1138/mars

An implementation of Multivariate Adaptive Regression Splines

35
Emerging
28 perazz/fortran-lapack

Modern Fortran Linear Algebra library

33
Emerging
29 InferBend/Bolt

BOLT: Bendable Optimization and Learning Toolkit

33
Emerging
30 r-xla/pjrt

R Interface to PJRT

29
Experimental
31 arjo129/NueralNets

Fortran Based Nueral Networks

28
Experimental
32 kcxain/gradflow

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

27
Experimental
33 ajfurlong/fortran_dnn_from_tf

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

25
Experimental
34 dliptak001/HypercubeRC

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

23
Experimental
35 nedtaylor/wandb-fortran

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

23
Experimental
36 wignerc/torchada

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

22
Experimental
37 wavesgroup/pfml-iccs-talk

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

21
Experimental
38 Qile0317/einops

R port of the einops library

20
Experimental
39 Bynaryman/OSFNTC

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

20
Experimental
40 timstr/scorch

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

19
Experimental
41 jnb666/nimxla

Nim bindings for the XLA accelerated linear algebra library

19
Experimental
42 Tensor-Array/BinaryTensor

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

17
Experimental
43 RWTH-HPC/Fortran-ML-Interface

A modular interface embedding the AIxeleratorService and related approaches...

13
Experimental
44 ivanZanardi/tf2

TensorFlow to Fortran

13
Experimental
45 hsnx11/Fort

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

13
Experimental
46 Oiubrab/byinheritance

A probabilistic neural network developed as a first step towards a conscious mind

11
Experimental
47 aymanrasheed7/NetOpt

A hardware accelerated solution for topological network optimization...

11
Experimental