FusedInf: Efficient Swapping of DNN Models for On-Demand Serverless Inference Services on the Edge
This addresses the challenge for edge AI service providers needing to manage growing demand with limited resources, representing an incremental improvement in model swapping efficiency.
The paper tackles the problem of efficiently swapping DNN models for on-demand serverless inference on resource-constrained edge devices by introducing FusedInf, which combines multiple models into a single DAG, resulting in up to 14% faster execution and up to 17% reduced memory usage.
Edge AI computing boxes are a new class of computing devices that are aimed to revolutionize the AI industry. These compact and robust hardware units bring the power of AI processing directly to the source of data--on the edge of the network. On the other hand, on-demand serverless inference services are becoming more and more popular as they minimize the infrastructural cost associated with hosting and running DNN models for small to medium-sized businesses. However, these computing devices are still constrained in terms of resource availability. As such, the service providers need to load and unload models efficiently in order to meet the growing demand. In this paper, we introduce FusedInf to efficiently swap DNN models for on-demand serverless inference services on the edge. FusedInf combines multiple models into a single Direct Acyclic Graph (DAG) to efficiently load the models into the GPU memory and make execution faster. Our evaluation of popular DNN models showed that creating a single DAG can make the execution of the models up to 14\% faster while reducing the memory requirement by up to 17\%. The prototype implementation is available at https://github.com/SifatTaj/FusedInf.