arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.04477cs.LGcs.NE
收藏

基于PyTorch的网络二值化计算核

A Computing Kernel for Network Binarization on PyTorch

University of Electronic Science and Technology of China(电子科技大学);Ecole de Technologie Supérieure(高等技术学院)

Xianda Xu, Marco Pedersoli

摘要:

深度神经网络目前已经在图像分类、目标检测等广泛的任务中取得了最先进的成果。然而,它们既消耗计算量又占用内存,使得它们难以部署在低功耗设备上。网络二值化是现有模型压缩和加速的有效技术之一,但PyTorch上还没有支持它的计算内核。在本文中,我们在PyTorch上开发了一个支持1位xnor和bitcount计算的计算内核。实验结果表明,与对照组相比,我们的内核可以使二值化神经网络的推理速度在GPU上提高3倍,在CPU上提高4.5倍。

英文摘要:

Deep Neural Networks have now achieved state-of-the-art results in a wide range of tasks including image classification, object detection and so on. However, they are both computation consuming and memory intensive, making them difficult to deploy on low-power devices. Network binarization is one of the existing effective techniques for model compression and acceleration, but there is no computing kernel yet to support it on PyTorch. In this paper we developed a computing kernel supporting 1-bit xnor and bitcount computation on PyTorch. Experimental results show that our kernel could accelerate the inference of the binarized neural network by 3 times in GPU and by 4.5 times in CPU compared with the control group.

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

↑