mlsanityData to 7 Oct 2026

LLM-Aided Compilation for Tensor Accelerators

arXiv 2408.03408 ↗First posted 6 Aug 2024cs.AR cs.LG cs.PLcited by 8

Not on the map. Why?

Abstract (arXiv)

Hardware accelerators, in particular accelerators for tensor processing, have many potential application domains. However, they currently lack the software infrastructure to support the majority of domains outside of deep learning. Furthermore, a compiler that can easily be updated to reflect changes at both application and hardware levels would enable more agile development and design space exploration of accelerators, allowing hardware designers to realize closer-to-optimal performance. In this work, we discuss how large language models (LLMs) could be leveraged to build such a compiler. Specifically, we demonstrate the ability of GPT-4 to achieve high pass rates in translating code to the Gemmini accelerator, and prototype a technique for decomposing translation into smaller, more LLM-friendly steps. Additionally, we propose a 2-phase workflow for utilizing LLMs to generate hardware-optimized code.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 21 of its 48 references that are in the map. First posted on arXiv 6 Aug 2024.

Builds on

21 of 48 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2022Generative Adversarial Networkscited by 5,603
  7. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  10. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  12. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
9 more
  1. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  2. 2019Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integrationcited by 59
  3. 2023Large Language Models for Compiler Optimizationcited by 52
  4. 2023TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollerscited by 9
  5. 2022Automated Transpilation of Imperative to Functional Code using Neural-Guided Program Synthesis (Extended Version)cited by 7
  6. 2021GPTPU: Accelerating Applications using Edge Tensor Processing Unitscited by 5
  7. 2023Guess & Sketch: Language Model Guided Transpilationcited by 3
  8. 2022SIMD2: A Generalized Matrix Instruction Set for Accelerating Tensor Computation beyond GEMMcited by 2
  9. 2015MADNESS: A Multiresolution, Adaptive Numerical Environment for Scientific Simulationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 1.

8 papers.