SearcharxivSearch

arXiv subjects

Arnab De

Publications and source records attributed to Arnab De.

2 recordsLinked to original sources

Triton for MTIA: Bridging the Programming Model Gaps for Custom AI Accelerators

The rapid growth in machine learning workloads has fueled the proliferation of custom accelerator architectures. Designed from the ground up, these accelerators often expose programming models that are distinct from GPUs. While hyperscalers and AI chip startups continue to innovate in this space, achieving broad operator coverage to support diverse models remains a major challenge. Additionally, an easy-to-use, high-level kernel programming language is important for rapid iteration of models and kernels. Triton, together with TorchInductor, addresses these issues on GPUs, but its viability on accelerators with different programming models has yet to be established. In this work, we present the first production-scale application of Triton on a custom ML accelerator, MTIA-2i, developed by Meta. To support MTIA-2i, we develop a new compiler backend that targets it, introduce enhancements to TorchInductor code generation, and propose minimal language extensions that expose MTIA-specific architectural features. We demonstrate that Triton-MTIA kernels achieve performance competitive with expert-tuned C++ implementations. Leveraging these development efficiency gains, we successfully deployed manually written and Inductor-generated Triton kernels in production across approximately 60 different model types, accounting for 50% of layers and 47% of non-GEMM execution time for these models. Our results provide compelling evidence that DSLs like Triton can bridge the programming model gaps between ML frameworks, kernels, and custom accelerators, enabling rapid innovation and efficient deployment at scale.

cs.PL

Dynamics of reorientations and reversals of large scale flow in Rayleigh-Benard convection

We present a numerical study of the reversals and reorientations of the large scale circulation (LSC) of convective fluid in a cylindrical container of aspect ratio one. We take Prandtl number to be 0.7 and Rayleigh numbers in the range from $6\times10^5$ to $3\times10^7$. It is observed that the reversals of the LSC are induced by its reorientation along the azimuthal direction, which are quantified using the phases of the first Fourier mode of the vertical velocity measured near the lateral surface in the mid plane. During a ``complete reversal'', the above phase changes by around $180^0$ leading to reversals of the vertical velocity at all the probes. On the contrary, the vertical velocity reverses only at some of the probes during a ``partial reversal'' with phase change other than $180^0$. Numerically we observe rotation-led and cessation-led reorientations, in agreement with earlier experimental results. The ratio of the amplitude of the second Fourier mode and the first Fourier mode rises sharply during the cessation-led reorientations. This observation is consistent with the quadrupolar dominant temperature profile observed during the cessations. We also observe reorientations involving double cessation.

physics.flu-dyn