Introduction
The landscape of computational science is undergoing a profound transformation. As researchers increasingly seek to integrate Artificial Intelligence (AI) and Machine Learning (ML) into traditional High-Performance Computing (HPC) workflows, they face a "perfect storm" of complexity. Modern AI models demand diverse, low-precision hardware, while exascale HPC platforms present significant programming challenges. This paper proposes a unifying framework to bridge the gap between these two worlds, offering a structured path for migrating legacy code toward a future of seamless, hardware-agnostic integration.
The Challenge: A Fragmented Ecosystem
The current software ecosystem for scientific computing is heavily siloed. While large-scale initiatives like the U.S. Department of Energy’s Exascale Computing Project (ECP) have made strides, their decade-long development cycles are difficult to replicate for every new hardware generation. Furthermore, the interoperability between various HPC libraries remains a major hurdle, often referred to as a sparse "compatibility matrix."
Domain scientists are frequently caught in a dilemma: they must choose between the high productivity of Python-based AI tools and the raw performance of C++ or Fortran HPC codes. This "discomfort with C++" is driving a shift toward Python-centric toolchains, necessitating a framework that can reconcile high-level accessibility with low-level performance.
Proposed Framework: A Staggered Migration Path
To address these challenges, the authors outline a non-intrusive, four-phase development and migration strategy. This approach allows researchers to gradually adopt the framework without requiring a complete rewrite of existing applications.
- Phase 1: Thin Application Wrapper: A minimal bridge that enables existing applications to interface with AI/ML tools.
- Phase 2: Sub-Program Integration: The framework takes over data container management, handling communication and data movement based on application requirements.
- Phase 3: Retargetable Building Blocks: Hardware details are abstracted away. The framework automatically applies optimizations such as tiling and MPI parallelism for specific architectures.
- Phase 4: Algorithmic Description: The ultimate goal, where scientists define pure arithmetic and data storage needs, leaving all hardware mapping and optimization to the framework.
Key Insights: The "PyTorch Moment" for Science
A central theme of the paper is the need for a "PyTorch moment" in scientific computing—a catalyst that makes complex operations composable and accessible without sacrificing performance. The authors argue that focusing solely on kernel-level performance leads to "decoherence" in complex workflows. Instead, a holistic approach to memory orchestration and data movement is required.
The framework's design is guided by a set of "Desired Features," including data transformers for HPC/AI format conversion and the disentanglement of mathematical logic from control flow. These features are intended to support a wide range of data structures and hardware targets, as illustrated in the comprehensive technical checklist.
Conclusion and Future Outlook
While the proposed framework represents a significant undertaking requiring community-wide buy-in, it provides a clear roadmap for the future of HPC. By moving away from fragmented, hardware-specific implementations toward a unified substrate, the scientific community can better leverage the power of AI in exascale computing.
Future work will focus on pilot projects to identify interoperability bottlenecks, the use of Large Language Models (LLMs) to assist in code transpilation and documentation, and the refactoring of critical libraries into the new framework's ecosystem.
Summary updated