Magnifier: A Chiplet Feature-Aware Test Case Generation Method for Deep Learning Accelerators

Boyu Li, Zongwei Zhu*, Weihong Liu, Qianyue Cao, Changlong Li, Cheng Ji, Xi Li, Xuehai Zhou

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

The development of deep learning has led to increasing demands for computation and memory, making multichiplet accelerators a powerful solution. Multichiplet accelerators require more precise consideration of hardware configurations and mapping schemes in terms of computation, memory, and communication patterns compared to monolithic designs, in order to avoid underutilization of performance. However, there is currently a lack of performance testing methods specifically tailored for multichiplet accelerators. Existing testing methods primarily focus on correctness testing and do not address potential performance issues from a hardware perspective. To address these issues, this article proposes Magnifier: a test case generation method for performance testing of multichiplet accelerators. First, we analyze typical multichiplet accelerator prototype from the perspectives of computation, memory, and communication patterns, and summarize a chiplet feature-aware operator task set. Next, we define the test evaluation metric interdevice percentile performance standard deviation and use a candidate operator set to construct a sampling space for model-level test cases. Finally, we build a generative adversarial network to learn the distribution of high-diversity test cases, enabling the rapid generation of high-quality test cases. We validate the proposed method on both simulated and real multichiplet accelerators. Experiments show that Magnifier can improve the metric of test cases by up to 3.42 times and significantly reduce generation time, providing valuable insights for optimizing the hardware and software of multichiplet accelerators.

Original languageEnglish
Pages (from-to)2803-2816
Number of pages14
JournalIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Volume44
Issue number7
DOIs
StatePublished - 2025

Keywords

  • Dataflow optimization
  • generative adversarial network (GAN)
  • multichiplet accelerators
  • test case generation

Fingerprint

Dive into the research topics of 'Magnifier: A Chiplet Feature-Aware Test Case Generation Method for Deep Learning Accelerators'. Together they form a unique fingerprint.

Cite this