Saved in:
Bibliographic Details
Main Authors: Liu, Yiqi, Xue, Yuqi, Cheng, Yu, Ma, Lingxiao, Miao, Ziming, Xue, Jilong, Huang, Jian
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.04808
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914955577524224
author Liu, Yiqi
Xue, Yuqi
Cheng, Yu
Ma, Lingxiao
Miao, Ziming
Xue, Jilong
Huang, Jian
author_facet Liu, Yiqi
Xue, Yuqi
Cheng, Yu
Ma, Lingxiao
Miao, Ziming
Xue, Jilong
Huang, Jian
contents As AI chips incorporate numerous parallelized cores to scale deep learning (DL) computing, inter-core communication is enabled recently by employing high-bandwidth and low-latency interconnect links on the chip (e.g., Graphcore IPU). It allows each core to directly access the fast scratchpad memory in other cores, which enables new parallel computing paradigms. However, without proper support for the scalable inter-core connections in current DL compilers, it is hard for developers to exploit the benefits of this new architecture. We present T10, the first DL compiler to exploit the inter-core communication bandwidth and distributed on-chip memory on AI chips. To formulate the computation and communication patterns of tensor operators in this new architecture, T10 introduces a distributed tensor abstraction rTensor. T10 maps a DNN model to execution plans with a generalized compute-shift pattern, by partitioning DNN computation into sub-operators and mapping them to cores, so that the cores can exchange data following predictable patterns. T10 makes globally optimized trade-offs between on-chip memory consumption and inter-core communication overhead, selects the best execution plan from a vast optimization space, and alleviates unnecessary inter-core communications. Our evaluation with a real inter-core connected AI chip, the Graphcore IPU, shows up to 3.3$\times$ performance improvement, and scalability support for larger models, compared to state-of-the-art DL compilers and vendor libraries.
format Preprint
id arxiv_https___arxiv_org_abs_2408_04808
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T10
Liu, Yiqi
Xue, Yuqi
Cheng, Yu
Ma, Lingxiao
Miao, Ziming
Xue, Jilong
Huang, Jian
Distributed, Parallel, and Cluster Computing
Machine Learning
As AI chips incorporate numerous parallelized cores to scale deep learning (DL) computing, inter-core communication is enabled recently by employing high-bandwidth and low-latency interconnect links on the chip (e.g., Graphcore IPU). It allows each core to directly access the fast scratchpad memory in other cores, which enables new parallel computing paradigms. However, without proper support for the scalable inter-core connections in current DL compilers, it is hard for developers to exploit the benefits of this new architecture. We present T10, the first DL compiler to exploit the inter-core communication bandwidth and distributed on-chip memory on AI chips. To formulate the computation and communication patterns of tensor operators in this new architecture, T10 introduces a distributed tensor abstraction rTensor. T10 maps a DNN model to execution plans with a generalized compute-shift pattern, by partitioning DNN computation into sub-operators and mapping them to cores, so that the cores can exchange data following predictable patterns. T10 makes globally optimized trade-offs between on-chip memory consumption and inter-core communication overhead, selects the best execution plan from a vast optimization space, and alleviates unnecessary inter-core communications. Our evaluation with a real inter-core connected AI chip, the Graphcore IPU, shows up to 3.3$\times$ performance improvement, and scalability support for larger models, compared to state-of-the-art DL compilers and vendor libraries.
title Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T10
topic Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2408.04808