TrIMS:面向低延迟深度LearningInference的透明隔离模型共享
TrIMS: Transparent and Isolated Model Sharing for Low Latency Deep LearningInference in Function as a Service Environments
摘要:
深度神经网络(DNN)已成为低延迟功能即服务(FaaS)预测管道中的核心计算组件:包括图像识别、对象检测、自然语言处理、语音合成和个性化推荐管道。云计算作为企业和消费者应用程序的现代计算基础设施的事实上的骨干,必须能够处理用户定义的各种DNN推理工作负载的管道,同时保持隔离和延迟保证,并最大限度地减少资源浪费。目前用于保证FaaS内隔离的解决方案是次优的-遭受“冷启动”延迟。这种低效率的主要原因是需要在服务器内和服务器之间移动大量的模型数据。我们提出TrIMS作为解决这些问题的新型解决方案。我们提出的解决方案包括一个跨GPU、CPU、本地存储和云存储层次结构的持久模型存储、一个提供隔离的高效资源管理层以及一组简洁的应用程序API和容器技术,可轻松透明地与FaaS、深度学习(DL)框架和用户代码集成。我们通过将TrIMS与Apache MXNet框架连接来展示我们的解决方案,并展示了图像分类模型的延迟加速高达24倍,大型模型的加速高达210倍。我们实现了高达8倍的系统吞吐量提升。
英文摘要:
Deep neural networks (DNNs) have become core computation components within low latency Function as a Service (FaaS) prediction pipelines: including image recognition, object detection, natural language processing, speech synthesis, and personalized recommendation pipelines. Cloud computing, as the de-facto backbone of modern computing infrastructure for both enterprise and consumer applications, has to be able to handle user-defined pipelines of diverse DNN inference workloads while maintaining isolation and latency guarantees, and minimizing resource waste. The current solution for guaranteeing isolation within FaaS is suboptimal -- suffering from "cold start" latency. A major cause of such inefficiency is the need to move large amount of model data within and across servers. We propose TrIMS as a novel solution to address these issues. Our proposed solution consists of a persistent model store across the GPU, CPU, local storage, and cloud storage hierarchy, an efficient resource management layer that provides isolation, and a succinct set of application APIs and container technologies for easy and transparent integration with FaaS, Deep Learning (DL) frameworks, and user code. We demonstrate our solution by interfacing TrIMS with the Apache MXNet framework and demonstrate up to 24x speedup in latency for image classification models and up to 210x speedup for large models. We achieve up to 8x system throughput improvement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。