Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Graph neural networks with configuration cross-attention for tensor compilers

About

With the recent popularity of neural networks comes the need for efficient serving of inference workloads. A neural network inference workload can be represented as a computational graph with nodes as operators transforming multidimensional tensors. The tensors can be transposed and/or tiled in a combinatorially large number of ways, some configurations leading to accelerated inference. We propose TGraph, a neural graph architecture that allows screening for fast configurations of the target computational graph, thus representing an artificial intelligence (AI) tensor compiler in contrast to the traditional heuristics-based compilers. The proposed solution improves mean Kendall's $\tau$ across layout collections of TpuGraphs from 29.8% of the reliable baseline to 67.4% of TGraph. We estimate the potential CO$_2$ emission reduction associated with our work to be equivalent to over 50% of the total household emissions in the areas hosting AI-oriented data centers.

Dmitrii Khizbullin, Eduardo Rocha de Andrade, Thanh Hau Nguyen, Matheus Pedroza Ferreira, David R. Pugh• 2024

Related benchmarks

TaskDatasetResultRank
Layout configuration rankingTpuGraphs layout:xla:random (val)
Kendall's Tau0.684
3
Layout configuration rankingTpuGraphs layout:nlp:random (val)
Kendall's Tau0.9713
3
Layout configuration rankingTpuGraphs layout:nlp:default (val)
Kendall's τ0.5628
3
Layout configuration rankingTpuGraphs mean across layout (val)
Kendall's Tau0.674
3
Layout configuration rankingTpuGraphs layout:xla:default (val)
Kendall's Tau0.4785
3
Tile configuration rankingTpuGraphs tile:xla (val)
Tile Ranking Metric96.94
2
Showing 6 of 6 rows

Other info

Follow for update