arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.22402cs.DCcs.AI
收藏

高效多模型编排用于自托管大型语言模型

Efficient Multi-Model Orchestration for Self-Hosted Large Language Models

Bhanu Prakash Vangala, Tanu Malik

AI总结:

Pick和Spin框架通过混合路由模块和自适应自动化,提升自托管LLM的效率和经济性,实现更高的成功率、更低的延迟和成本。

摘要:

自托管大型语言模型(LLMs)正越来越吸引寻求隐私、成本控制和定制化的组织。然而,部署和维护内部模型在GPU利用率、工作负载路由和可靠性方面存在挑战。我们介绍了Pick和Spin,一个实用的框架,使自托管LLM编排变得可扩展且经济。基于Kubernetes,它集成了一个统一的Helm基于部署系统,自适应的scale-to-zero自动化,以及一个混合路由模块,利用关键词启发法和轻量级DistilBERT分类器平衡成本、延迟和准确性。我们评估了四个模型,Llama-3(90B)、Gemma-3(27B)、Qwen-3(235B)和DeepSeek-R1(685B)在八个公开基准数据集上,五个推理策略和两种路由变体,涵盖31,019个提示和163,720次推理运行。Pick和Spin在相同模型的静态部署中实现了高达21.6%的更高成功率,30%的更低延迟和33%的更低GPU成本每查询。

英文摘要:

Self-hosting large language models (LLMs) is increasingly appealing for organizations seeking privacy, cost control, and customization. Yet deploying and maintaining in-house models poses challenges in GPU utilization, workload routing, and reliability. We introduce Pick and Spin, a practical framework that makes self-hosted LLM orchestration scalable and economical. Built on Kubernetes, it integrates a unified Helm-based deployment system, adaptive scale-to-zero automation, and a hybrid routing module that balances cost, latency, and accuracy using both keyword heuristics and a lightweight DistilBERT classifier. We evaluate four models, Llama-3 (90B), Gemma-3 (27B), Qwen-3 (235B), and DeepSeek-R1 (685B) across eight public benchmark datasets, with five inference strategies, and two routing variants encompassing 31,019 prompts and 163,720 inference runs. Pick and Spin achieves up to 21.6% higher success rates, 30% lower latency, and 33% lower GPU cost per query compared with static deployments of the same models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑