HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Graph neural networks with configuration cross-attention for tensor compilers

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

Graph neural networks with configuration cross-attention for tensor
  compilers

Abstract

With the recent popularity of neural networks comes the need for efficientserving of inference workloads. A neural network inference workload can berepresented as a computational graph with nodes as operators transformingmultidimensional tensors. The tensors can be transposed and/or tiled in acombinatorially large number of ways, some configurations leading toaccelerated inference. We propose TGraph, a neural graph architecture thatallows screening for fast configurations of the target computational graph,thus representing an artificial intelligence (AI) tensor compiler in contrastto the traditional heuristics-based compilers. The proposed solution improvesmean Kendall's $\tau$ across layout collections of TpuGraphs from 29.8% of thereliable baseline to 67.4% of TGraph. We estimate the potential CO$_2$ emissionreduction associated with our work to be equivalent to over 50% of the totalhousehold emissions in the areas hosting AI-oriented data centers.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
runtime-ranking-on-tpugraphs-layout-meanTGraph
Kendall's Tau: 0.674

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Graph neural networks with configuration cross-attention for tensor compilers | Papers | HyperAI