Search arXiv⌕ Search

arXiv subjects

Frank Schlimbach

Publications and source records attributed to Frank Schlimbach.

2 recordsLinked to original sources

Bridging Tiled Domain-Specific Languages to CPU Matrix Accelerator via MLIR Nano-Kernels

Tiled programming domain-specific languages (DSLs) such as Triton have become a common standard for expressing high-performance GPU kernels, enabling developers to encode architectural and algorithmic knowledge directly into the program structure to achieve peak throughput. In contrast, CPU execution of PyTorch graphs typically depends on library function pattern matching with opaque fusion behavior and unpredictable performance characteristics. In this work, we demonstrate that the tiling expertise captured at the DSL level can be retargeted to CPU by lowering to upstream MLIR vector-level dialects, then leveraging existing linear algebra vectorization passes in MLIR to produce efficient CPU code. Our key contribution is a common MLIR framework in which Triton, cuTile and Helion kernels, together with a PyTorch-to-Linalg compiler (Lighthouse), converge on a shared register-tiled nano-kernel form, preserving tile-level intent while enabling MLIR's x86 vectorization passes to generate AMX instruction sequences. On 24 KernelBench Level 2 kernels, the DSL paths reach geometric-mean speedups of up to 1.57x over PyTorch Eager and 1.54x over PyTorch Inductor on an AMX-enabled Intel Xeon, while the Lighthouse path, which starts from un-tiled PyTorch operations, stays below Eager (0.56x). However, Helion and Lighthouse share the same lowering from the register tiling stage down, and yet differ by 2.8x. The gap likely lies in the stages Helion avoids: pure Torch-MLIR ingress, memory tiling, and buffer management.

cs.PL↗

DisCo: Physics-Based Unsupervised Discovery of Coherent Structures in Spatiotemporal Systems

Extracting actionable insight from complex unlabeled scientific data is an open challenge and key to unlocking data-driven discovery in science. Complementary and alternative to supervised machine learning approaches, unsupervised physics-based methods based on behavior-driven theories hold great promise. Due to computational limitations, practical application on real-world domain science problems has lagged far behind theoretical development. We present our first step towards bridging this divide - DisCo - a high-performance distributed workflow for the behavior-driven local causal state theory. DisCo provides a scalable unsupervised physics-based representation learning method that decomposes spatiotemporal systems into their structurally relevant components, which are captured by the latent local causal state variables. Complex spatiotemporal systems are generally highly structured and organize around a lower-dimensional skeleton of coherent structures, and in several firsts we demonstrate the efficacy of DisCo in capturing such structures from observational and simulated scientific data. To the best of our knowledge, DisCo is also the first application software developed entirely in Python to scale to over 1000 machine nodes, providing good performance along with ensuring domain scientists' productivity. We developed scalable, performant methods optimized for Intel many-core processors that will be upstreamed to open-source Python library packages. Our capstone experiment, using newly developed DisCo workflow and libraries, performs unsupervised spacetime segmentation analysis of CAM5.1 climate simulation data, processing an unprecedented 89.5 TB in 6.6 minutes end-to-end using 1024 Intel Haswell nodes on the Cori supercomputer obtaining 91% weak-scaling and 64% strong-scaling efficiency.

physics.comp-ph↗