Flex-TPU: A Flexible TPU with Runtime Reconfigurable Dataflow Architecture

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Elbtity, Mohammed, Chandarana, Peyton, Zand, Ramtin
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909250939256832
author Elbtity, Mohammed
Chandarana, Peyton
Zand, Ramtin
author_facet Elbtity, Mohammed
Chandarana, Peyton
Zand, Ramtin
contents Tensor processing units (TPUs) are one of the most well-known machine learning (ML) accelerators utilized at large scale in data centers as well as in tiny ML applications. TPUs offer several improvements and advantages over conventional ML accelerators, like graphical processing units (GPUs), being designed specifically to perform the multiply-accumulate (MAC) operations required in the matrix-matrix and matrix-vector multiplies extensively present throughout the execution of deep neural networks (DNNs). Such improvements include maximizing data reuse and minimizing data transfer by leveraging the temporal dataflow paradigms provided by the systolic array architecture. While this design provides a significant performance benefit, the current implementations are restricted to a single dataflow consisting of either input, output, or weight stationary architectures. This can limit the achievable performance of DNN inference and reduce the utilization of compute units. Therefore, the work herein consists of developing a reconfigurable dataflow TPU, called the Flex-TPU, which can dynamically change the dataflow per layer during run-time. Our experiments thoroughly test the viability of the Flex-TPU comparing it to conventional TPU designs across multiple well-known ML workloads. The results show that our Flex-TPU design achieves a significant performance increase of up to 2.75x compared to conventional TPU, with only minor area and power overheads.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08700
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Flex-TPU: A Flexible TPU with Runtime Reconfigurable Dataflow Architecture
Elbtity, Mohammed
Chandarana, Peyton
Zand, Ramtin
Hardware Architecture
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Machine Learning
Performance
Tensor processing units (TPUs) are one of the most well-known machine learning (ML) accelerators utilized at large scale in data centers as well as in tiny ML applications. TPUs offer several improvements and advantages over conventional ML accelerators, like graphical processing units (GPUs), being designed specifically to perform the multiply-accumulate (MAC) operations required in the matrix-matrix and matrix-vector multiplies extensively present throughout the execution of deep neural networks (DNNs). Such improvements include maximizing data reuse and minimizing data transfer by leveraging the temporal dataflow paradigms provided by the systolic array architecture. While this design provides a significant performance benefit, the current implementations are restricted to a single dataflow consisting of either input, output, or weight stationary architectures. This can limit the achievable performance of DNN inference and reduce the utilization of compute units. Therefore, the work herein consists of developing a reconfigurable dataflow TPU, called the Flex-TPU, which can dynamically change the dataflow per layer during run-time. Our experiments thoroughly test the viability of the Flex-TPU comparing it to conventional TPU designs across multiple well-known ML workloads. The results show that our Flex-TPU design achieves a significant performance increase of up to 2.75x compared to conventional TPU, with only minor area and power overheads.
title Flex-TPU: A Flexible TPU with Runtime Reconfigurable Dataflow Architecture
topic Hardware Architecture
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Machine Learning
Performance
url https://arxiv.org/abs/2407.08700