FlowMaker: From Tasks to Cost-Efficient Generative AI Workflow Deployments
Organizations: The University of Texas at Austin
Abstract
Generative AI workflows execute user tasks by composing sequences of LLM calls, where each call performs a sub-task (e.g., summarization or translation), forming a workflow. Executing such workflows requires decisions over workflow structure, model assignments, and deployment configurations, which jointly determine latency, cost, and accuracy under dynamic workloads and resource constraints. Existing systems optimize these decisions in isolation or fix them early, leading to suboptimal cost and goodput. We make two key observations. First, efficient serving requires jointly exploring all combinations of workflows, model choices, and deployment configurations under dynamic cluster state. Second, reuse of deployed LLMs is critical for reducing cost, but must be performed on-the-fly, as reuse depends on current load and resource availability. Together, these make selecting a workflow-variant-a combination of workflow, models, and deployment configuration-a time-critical problem. We present FlowMaker, which exposes a task-level interface and selects workflow-variants on behalf of users. To realize this, we design a constraint-guided load-aware pruning algorithm for fast, on-the-fly decisions. FlowMaker improves goodput by up to 10.14 and reduces cost by up to 2.77 compared to state-of-the-art baselines, including Murakkab.
Figures & tables
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Description | Symbol | Description |
|---|---|---|---|
| Task (in natural language) | Nodes | ||
| Set of workflows | Node (model, config) | ||
| Set of subtasks | Node’s ID | ||
| Set of models | GPU mapping | ||
| Set of configs (TP, PP) | Latency SLO | ||
| Set of deployed LLMs | Accuracy SLO |
| API | Parameters |
|---|---|
| register_model | model, [accuracy] |
| deploy_task | task, latSLO, accSLO workflow_variant |
| inference_task | task, inputText |
| Trace | 25% | 50% | 75% | 100% |
|---|---|---|---|---|
| Code | 0.100 | 0.133 | 0.167 | 0.200 |
| Conversation | 0.050 | 0.067 | 0.083 | 0.100 |
LLM Serving
Large language model serving studies how to deliver model responses with low latency, high throughput, and efficient use of compute and memory.
See all 214 papers