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

使用超低位Quantization和ARM加速ARM CPU上的深度学习模型推理

Accelerating Deep Learning Model Inference on Arm CPUs with Ultra-Low Bit Quantization and Runtime

Deeplite Inc.(Deeplite公司)

Saad Ashfaq, MohammadHossein AskariHemmat, Sudhakar Sah, Ehsan Saboori, Olivier Mastropietro, Alexander Hoffman

摘要:

深度学习是近年来最具颠覆性的技术进步之一。深度学习模型的高性能是以高计算、存储和功耗要求为代价的。意识到迫切需要加速和压缩这些模型以提高设备性能,我们引入了Deeplite Neutrino用于模型的生产就绪优化,并引入Deeplite Neutrino用于在基于Arm的平台上部署超低位量化模型。我们为Armv7和Armv8架构实现了低级量化内核,使其能够部署在大量基于32位和64位Arm的设备上。通过使用矢量化、并行化和平铺的高效实现,我们在分类和检测模型上分别实现了与带有XNNPACK后端的TensorFlow Lite相比高达2倍和2.2倍的加速。我们还实现了高达5倍和3.2倍的显着加速相比,ONNX的分类和检测模型,分别。

英文摘要:

Deep Learning has been one of the most disruptive technological advancements in recent times. The high performance of deep learning models comes at the expense of high computational, storage and power requirements. Sensing the immediate need for accelerating and compressing these models to improve on-device performance, we introduce Deeplite Neutrino for production-ready optimization of the models and Deeplite Runtime for deployment of ultra-low bit quantized models on Arm-based platforms. We implement low-level quantization kernels for Armv7 and Armv8 architectures enabling deployment on the vast array of 32-bit and 64-bit Arm-based devices. With efficient implementations using vectorization, parallelization, and tiling, we realize speedups of up to 2x and 2.2x compared to TensorFlow Lite with XNNPACK backend on classification and detection models, respectively. We also achieve significant speedups of up to 5x and 3.2x compared to ONNX Runtime for classification and detection models, respectively.

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

↑