# GearUp: DAG-aware Acceleration for Serverless Inference Serving via Slack-guided Pre-loading

DevFeed: [GearUp: DAG-aware Acceleration for Serverless Inference Serving via Slack-guided Pre-loading](<https://devfeed.tech/articles/gearup-dag-aware-acceleration-for-serverless-inference-serving-via-slack-guided-pre-loading-107568.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38196>)

Author: Qi Qi, Yifan Sui, Hanfei Yu, Hong Zhang, Hao Wang

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [model-serving](<https://devfeed.tech/topics/model-serving.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [acceleration](<https://devfeed.tech/tags/acceleration.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-os](<https://devfeed.tech/tags/cs-os.md>), [dag](<https://devfeed.tech/tags/dag.md>), [inference](<https://devfeed.tech/tags/inference.md>), [loading](<https://devfeed.tech/tags/loading.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [serverless-inference](<https://devfeed.tech/tags/serverless-inference.md>), [serving](<https://devfeed.tech/tags/serving.md>), [slack](<https://devfeed.tech/tags/slack.md>)

## AI overview

GearUp hides machine-learning node initialization from a serverless inference DAG's critical path by profiling library, model-weight, and CUDA-kernel loading and scheduling it during upstream execution slack. It reuses initialized instances across requests and applies a probabilistic, traffic-adaptive keep-alive policy to trade idle memory use against cold-start risk. In tests on AMBER Alert and FINRA-ML with NVIDIA L40S GPUs, it cut median end-to-end latency by 64.5% and 75.9% versus SMIless, with median speedups of 3.1x and 10.0x over cold execution. Versus InstaInfer's eager pre-loading, integrated GPU and host memory allocation fell by up to 83.9% and 94.6%. The paper also reports 4.2x strong scaling on four workers.

## Source excerpt

arXiv:2610.38196v1 Announce Type: new Abstract: Serverless platforms increasingly host machine learning (ML) inference workflows, modeled as directed acyclic graphs (DAGs) of interdependent functions. Beyond container startup, each ML node must load libraries, model weights, and CUDA kernels before it can run. These costs accumulate along dependent DAG paths and place initialization on the end-to-end critical path. Existing systems optimize one half of this problem. DAG-agnostic pre-loading prepares nodes the request may never reach, wasting host and GPU memory. DAG-aware serving routes and scales whole functions, leaving the loading stages inside a node untouched. This paper presents GearUp, a serverless DAG inference serving system that removes ML-node loading from the end-to-end critical path at low resource cost. GearUp profiles the loading stages of each node and schedules them inside the slack time the DAG exposes, hiding initialization behind upstream execution. It reuses initialized instances within and across requests to avoid redundant cold starts. A probabilistic, traffic-adaptive keep-alive policy sets how long idle instances are retained, balancing memory cost against cold-start risk under bursty load. On the AMBER Alert and FINRA-ML workflows with NVIDIA L40S GPUs, GearUp reduces median end-to-end latency by 64.5% and 75.9% against SMIless, for median speedups of 3.1x and 10.0x over cold execution. Integrated GPU and host memory allocation fall by up to 83.9% and 94.6% against eager pre-loading in InstaInfer. GearUp achieves 4.2x strong scaling on four workers.