Accelerating scientific code on AI hardware with Reactant.jl
H.1308 (Rolin) | Day 2 | 09:00 - 09:25 | Speakers: Mosè Giordano, Jules Merckx
Abstract
Scientific models are today limited by compute resources, forcing approximations driven by feasibility rather than theory. They consequently miss important physical processes and decision-relevant regional details. Advances in AI-driven supercomputing — specialized tensor accelerators, AI compiler stacks, and novel distributed systems — offer unprecedented computational power. Yet, scientific applications such as ocean models, often written in Fortran, C++, or Julia and built for traditional HPC, remain largely incompatible with these technologies. This gap hampers performance portability and isolates scientific computing from rapid cloud-based innovation for AI workloads.
In this talk we present Reactant.jl, a free and open-source optimising compiler framework for the Julia programming language, based on MLIR and XLA. Reactant.jl preserves high-level semantics (e.g. linear algebra operations), enabling aggressive cross-function, high-level optimisations, and generating efficient code for a variety of backends (CPU, GPU, TPU and more). Furthermore, Reactant.jl combines with Enzyme to provide high-performance multi-backend automatic differentiation.
As a practical demonstration, we will show the integration of Reactant.jl with Oceananigans.jl, a state-of-the-art GPU-based ocean model. We show how the model can be seamlessly retargeted to thousands of distributed TPUs, unlocking orders-of-magnitude increases in throughput. This opens a path for scientific modelling software to take full advantage of next-generation AI and cloud hardware — without rewriting the codebase or sacrificing high-level expressiveness.
Attachments
Speakers
Mosè is a Research Software Engineer at UCL, and a long-standing open-source contributor, involved in the GNU project and the Julia programming language.
Jules Merckx is a 2nd year PhD student at Ghent University, supervised by prof. Bjorn De Sutter. His research focuses on high-level, domain-specific code optimization using equality saturation, working on intermediate representation encoding multiple equivalent programs. He is also a contributor to Reactant, an optimizing compiler for tensor programs.
Links
External Links
Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.
