A parallel deep learning framework written in modern Fortran for training and inference of dense, convolutional, and transformer networks.
Neural‑Fortran is a parallel deep learning framework written in modern Fortran. It enables developers to build, train, and run neural networks—including dense, convolutional, and transformer architectures—directly in Fortran, bridging deep learning with high‑performance scientific computing.
Fortran developers and researchers in scientific computing, computational physics, climate modeling, or other HPC domains who need to integrate neural networks into existing Fortran workflows.
It provides a native, performant Fortran implementation of deep learning primitives with built‑in parallelism, avoiding the overhead of bridging to Python or C++ libraries while maintaining compatibility with Keras‑trained models.
A parallel framework for deep learning
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a clean, modular API that embeds seamlessly into existing Fortran codebases, eliminating the need for language bridging and reducing overhead.
Leverages OpenCoarrays for data-based parallelism, enabling efficient scaling of training and inference across multiple CPU cores, as detailed in the build instructions.
Through the nf-keras-hdf5 add-on, allows loading and deploying pre-trained dense and convolutional models from Keras HDF5 files, facilitating model reuse.
Supports diverse layers including embeddings, convolutions, and self-attention, enabling the construction of complex networks like transformers, as shown in the feature table.
Achieving parallel execution requires installing OpenCoarrays and using specific compiler wrappers like 'caf', which adds non-trivial setup steps and dependency management.
Lacks the extensive model zoos, community plugins, and integrations found in mainstream frameworks, limiting out-of-the-box functionality and support.
Full API documentation is not pre-built; users must install and run FORD to generate it, creating an extra barrier to entry compared to frameworks with ready documentation.