TPU-Gen: LLM-Driven Custom Tensor Processing Unit Generator

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The increasing complexity and scale of Deep Neural Networks (DNNs) necessitate specialized tensor accelerators, such as Tensor Processing Units (TPUs), to meet various computational and energy efficiency requirements. Nevertheless, designing optimal TPU remains challenging due to the high domain expertise level, considerable manual design time, and lack of high-quality, domain-specific datasets. This paper introduces TPU-Gen, the first Large Language Model (LLM) based framework designed to automate the exact and approximate TPU generation process, focusing on systolic array architectures. TPU-Gen is supported with a meticulously curated, comprehensive, and open-source dataset that covers a wide range of spatial array designs and approximate multiply-and-accumulate units, enabling design reuse, adaptation, and customization for different DNN workloads. The proposed framework leverages Retrieval-Augmented Generation (RAG) as an effective solution for a data-scarce hardware domain in building LLMs, addressing the most intriguing issue, hallucinations. TPU-Gen transforms high-level architectural specifications into optimized low-level implementations through an effective hardware generation pipeline. Our extensive experimental evaluations demonstrate superior performance, power, and area efficiency, with an average reduction in area and power of 92% and 96% from the manual optimization reference values. These results set new standards for driving advancements in next-generation design automation tools powered by LLMs.1

Original languageEnglish (US)
Title of host publicationProceedings - 2025 IEEE International Conference on LLM-Aided Design, ICLAD 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1-8
Number of pages8
ISBN (Electronic)9798331525972
DOIs
StatePublished - 2025
Event1st IEEE International Conference on LLM-Aided Design, ICLAD 2025 - Stanford, United States
Duration: Jun 26 2025Jun 27 2025

Publication series

NameProceedings - 2025 IEEE International Conference on LLM-Aided Design, ICLAD 2025

Conference

Conference1st IEEE International Conference on LLM-Aided Design, ICLAD 2025
Country/TerritoryUnited States
CityStanford
Period6/26/256/27/25

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence
  • Computational Mechanics
  • Computer Science Applications
  • Computer Vision and Pattern Recognition

Keywords

  • accelerators
  • large language model
  • retrieval-augmented generation
  • tensor processing unit

Fingerprint

Dive into the research topics of 'TPU-Gen: LLM-Driven Custom Tensor Processing Unit Generator'. Together they form a unique fingerprint.

Cite this