arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.11608cs.DCcs.AI
收藏

面向专用AI硬件高效执行的卷积重 formulations:NVIDIA Tensor Cores 的案例研究

Hardware-Aware Reformulation of Convolutions for Efficient Execution on Specialized AI Hardware: A Case Study on NVIDIA Tensor Cores

NVIDIA

Ganesh Bikshandi

AI总结:

本文提出了一种硬件感知的卷积计算重 formulations 方法,通过重写规则在训练后满足专用AI硬件的对齐要求,为高效部署CNN模型提供了新的优化策略。

摘要:

卷积神经网络(CNNs)是现代AI的核心,但其性能常受限于硬件限制。例如,NVIDIA Tensor Cores 要求输入通道数为8的倍数,有时甚至为512才能高效执行。oneDNN框架对于CPU也要求块格式中通道数为8的倍数。传统方法通过零填充解决对齐问题,但效率低下。本文提出了一种硬件感知的CNN计算重 formulations 方法,通过重写规则重构底层数学运算,在训练后完全满足硬件对齐要求,而无需修改网络权重。尽管当前实现专注于Tensor Cores的单种变换,但该方法具有通用性,为探索CPU和加速器的其他变换奠定了基础。本研究代表了向语义调优(semantic tuning)迈出的初步步伐,这是一种系统性的、硬件感知的优化策略,旨在高效部署CNN模型到专用AI硬件上。

英文摘要:

Convolutional Neural Networks (CNNs) are central to modern AI, but their performance is often limited by hardware constraints. NVIDIA Tensor Cores, for instance, require input channels to be multiples of 8 and sometimes 512 for efficient execution. {\em oneDNN} framework for CPU imposes such a requirement for the blocked format. Traditional approaches address such alignment issue using zero-padding, which can be inefficient. In this work, we present a first-step, hardware-aware reformulation of CNN computations using rewrite rules, restructuring the underlying math to satisfy hardware alignment entirely {\bf post-training} without modifying network weights. While our current implementation focuses on a single transformation for Tensor Cores, this approach is generalizable, laying the foundation to explore additional transformations for CPU and accelerators. This study represents an initial step toward {\em semantic tuning}, a systematic, hardware-aware optimization strategy for efficient deployment of CNN models on specialized AI hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑