PARALLEL DATA LAB 

PDL Abstract

CORTEX: A COMPILER FOR RECURSIVE DEEP LEARNING MODELS

4th MLSys Conference, San Jose, CA, USA, 2021.

Pratik Fegade1, Tianqi Chen1,2, Phillip B. Gibbons1, Todd C. Mowry1

1 Carnegie Mellon University
2 OctoMIL

http://www.pdl.cmu.edu/

Optimizing deep learning models is generally performed in two steps: (i) high-level graph optimizations such as kernel fusion and (ii) low level kernel optimizations such as those found in vendor libraries. This approach often leaves significant performance on the table, especially for the case of recursive deep learning models. In this paper, we present CORTEX, a compiler-based approach to generate highly-efficient code for recursive models for low latency inference. Our compiler approach and low reliance on vendor libraries enables us to perform end-to-end optimizations, leading to up to 14X lower inference latencies over past work, across different backends.

FULL PAPER: pdf