SLoB: Suboptimal Load Balancing Scheduling in Local Heterogeneous GPU Clusters for Large Language Model Inference
- 7 August 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computational Social Systems
- Vol. 11 (6) , 7941-7951
Abstract
Large language models (LLMs) are becoming powerful engines for social productivity in the manufacturing lifecycle. Existing application-level LLMs inference services focus on large datacenter and small edge intelligence (EI) scenarios, adopting iteration-level batch schedulers to solve resource utilization and inference speed problems. However, these services are incompatible with the scene of medium-sized local heterogeneous graphics processing unit (GPU) clusters with specific patterns, whose scale is between the two aforementioned scenarios. This type of scene proposes tradeoff problems for inference resource and speed, as well as user satisfaction problems for the semisparse frequency of queries with streaming responses. We propose suboptimal load balancing (SLoB), a distributed LLMs inference service scheduler in medium-sized local heterogeneous GPU clusters. SLoB leverages a multilevel adapter to accommodate LLMs usage patterns of scenes and balance resource utilization with inference efficiency. For semisparse problems, it adopts a mixed-priority pipeline scheduler with the least-padding principle to improve users’ satisfaction, a metric considering the weights of different tokens in streaming responses. Based on the system prototype, our experiments under simulated workloads demonstrate that SLoB gains a maximum improvement of 29.4× under the satisfaction metric compared with the traditional run-to- completion scheduling solution while improving by up to 3.0× compared with the state-of-the-art (SOTA) solution Orca.Keywords
Funding Information
- Shanghai Key Laboratory of Scalable Computing and Systems
- Eighth Research Institute of China Aerospace Science and Technology Group Company, Ltd. (USCAST2023-17, USCAST2023-21)
This publication has 21 references indexed in Scilit:
- SMSS: Stateful Model Serving in Metaverse With Serverless Computing and GPU SharingIEEE Journal on Selected Areas in Communications, 2023
- Automatic Pipeline Parallelism: A Parallel Inference Framework for Deep Learning Applications in 6G Mobile Communication SystemsIEEE Journal on Selected Areas in Communications, 2023
- OSTTD: Offloading of Splittable Tasks With Topological Dependence in Multi-Tier Computing NetworksIEEE Journal on Selected Areas in Communications, 2022
- DeepSpeed- Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale2022
- SLO-Aware Inference Scheduler for Heterogeneous Processors in Edge PlatformsACM Transactions on Architecture and Code Optimization, 2021
- Blockchain-Based Federated Learning for Device Failure Detection in Industrial IoTIEEE Internet of Things Journal, 2020
- E-OSched: a load balancing scheduler for heterogeneous multicoresThe Journal of Supercomputing, 2018
- LSTM-Based Analysis of Industrial IoT EquipmentIEEE Access, 2018
- Multi-source data fusion using deep learning for smart refrigeratorsComputers in Industry, 2018
- Data-Driven Intelligent Transportation Systems: A SurveyIEEE Transactions on Intelligent Transportation Systems, 2011