Exploring Function Granularity for Serverless Machine Learning Application with GPU Sharing
Open Access
- 16 June 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMETRICS Performance Evaluation Review
- Vol. 53 (1) , 76-78
Abstract
Recent years have witnessed increasing interest in machine learning (ML) inferences on serverless computing due to its auto-scaling and cost-effective properties. However, one critical aspect, function granularity, has been largely overlooked, limiting the potential of serverless ML. This paper explores the impact of function granularity on serverless ML, revealing its important effects on the SLO hit rates and resource costs of serverless applications. It further proposes adaptive granularity as an approach to addressing the phenomenon that no single granularity fits all applications and situations. It explores three predictive models and presents programming tools and runtime extensions to facilitate the integration of adaptive granularity into existing serverless platforms. Experiments show adaptive granularity produces up to a 29.2% improvement in SLO hit rates and up to a 24.6% reduction in resource costs over the state-of-the-art serverless ML which uses fixed granularity.Keywords
Funding Information
- NSF (CNS-231220)
This publication has 6 references indexed in Scilit:
- ESG: Pipeline-Conscious Efficient Scheduling of DNN Workflows on Serverless Platforms with Shareable GPUs2024
- Proteus: A High-Throughput Inference-Serving System with Accuracy Scaling2024
- MISO2022
- INFless: a native serverless system for low-latency, high-throughput inference2022
- Effective Intrusion Detection System Using XGBoostInformation, 2018
- XGBoost2016