MNN: A Universal and Efficient Inference Engine

02/27/2020
by   Xiaotang Jiang, et al.
43

Deploying deep learning models on mobile devices draws more and more attention recently. However, designing an efficient inference engine on devices is under the great challenges of model compatibility, device diversity, and resource limitation. To deal with these challenges, we propose Mobile Neural Network (MNN), a universal and efficient inference engine tailored to mobile applications. In this paper, the contributions of MNN include: (1) presenting a mechanism called pre-inference that manages to conduct runtime optimization; (2)deliveringthorough kernel optimization on operators to achieve optimal computation performance; (3) introducing backend abstraction module which enables hybrid scheduling and keeps the engine lightweight. Extensive benchmark experiments demonstrate that MNN performs favorably against other popular lightweight deep learning frameworks. MNN is available to public at: https://github.com/alibaba/MNN.

READ FULL TEXT
research
07/18/2023

RepViT: Revisiting Mobile CNN From ViT Perspective

Recently, lightweight Vision Transformers (ViTs) demonstrate superior pe...
research
06/07/2023

MobileNMT: Enabling Translation in 15MB and 30ms

Deploying NMT models on mobile devices is essential for privacy, low lat...
research
05/06/2021

Challenges and Obstacles Towards Deploying Deep Learning Models on Mobile Devices

From computer vision and speech recognition to forecasting trajectories ...
research
06/10/2019

Performance Analysis and Characterization of Training Deep Learning Models on Mobile Devices

Training deep learning models on mobile devices recently becomes possibl...
research
02/16/2020

MDInference: Balancing Inference Accuracy and Latency for Mobile Applications

Deep Neural Networks (DNNs) are allowing mobile devices to incorporate a...
research
08/24/2023

MOFA: A Model Simplification Roadmap for Image Restoration on Mobile Devices

Image restoration aims to restore high-quality images from degraded coun...
research
03/15/2019

GolfDB: A Video Database for Golf Swing Sequencing

The golf swing is a complex movement requiring considerable full-body co...

Please sign up or login with your details

Forgot password? Click here to reset