MinT:用于训练和服务数百万LLM的托管基础设施
MinT: Managed Infrastructure for Training and Serving Millions of LLMs
AI总结:
提出MinT系统,通过LoRA适配器管理实现大规模基础模型上的高效训练与在线服务,支持百万级策略目录。
摘要:
我们提出MindLab Toolkit (MinT),一个用于低秩适配(LoRA)后训练和在线服务的托管基础设施系统。MinT针对这样一种场景:在少量昂贵的基模型部署上产生许多训练好的策略。MinT不是将每个策略实现为合并的完整检查点,而是保持基模型驻留,并通过回滚、更新、导出、评估、服务和回滚等阶段移动导出的LoRA适配器修订版,将分布式训练、服务、调度和数据移动隐藏在服务接口后面。MinT沿三个维度扩展此路径。Scale Up将LoRA RL扩展到前沿规模的密集和MoE架构,包括MLA和DSA注意力路径,训练和服务已验证超过1T总参数。Scale Down仅移动导出的LoRA适配器,在秩1设置中可小于基模型大小的1%;适配器仅移交将测量步骤在4B密集模型上减少18.3倍,在30B MoE上减少2.85倍,而并发多策略GRPO将挂钟时间缩短1.77倍和1.45倍,且不提高峰值内存。Scale Out将持久策略可寻址性与CPU/GPU工作集分离:张量并行部署支持10^6规模的可寻址目录(通过100K测量单引擎扫描)和集群规模的千适配器活动波,冷加载作为计划的服务工作处理,打包的MoE LoRA张量将实时引擎加载提高8.5-8.7倍。因此,MinT管理百万规模的LoRA策略目录,同时在共享的1T级基模型上训练和服务选定的适配器修订版。
英文摘要:
We present MindLab Toolkit (MinT), a managed infrastructure system for Low-Rank Adaptation (LoRA) post-training and online serving. MinT targets a setting where many trained policies are produced over a small number of expensive base-model deployments. Instead of materializing each policy as a merged full checkpoint, MinT keeps the base model resident and moves exported LoRA adapter revisions through rollout, update, export, evaluation, serving, and rollback, hiding distributed training, serving, scheduling, and data movement behind a service interface. MinT scales this path along three axes. Scale Up extends LoRA RL to frontier-scale dense and MoE architectures, including MLA and DSA attention paths, with training and serving validated beyond 1T total parameters. Scale Down moves only the exported LoRA adapter, which can be under 1% of base-model size in rank-1 settings; adapter-only handoff reduces the measured step by 18.3x on a 4B dense model and 2.85x on a 30B MoE, while concurrent multi-policy GRPO shortens wall time by 1.77x and 1.45x without raising peak memory. Scale Out separates durable policy addressability from CPU/GPU working sets: a tensor-parallel deployment supports 10^6-scale addressable catalogs (measured single-engine sweeps through 100K) and thousand-adapter active waves at cluster scale, with cold loading treated as scheduled service work and packed MoE LoRA tensors improving live engine loading by 8.5-8.7x. MinT thus manages million-scale LoRA policy catalogs while training and serving selected adapter revisions over shared 1T-class base models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。