Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 99274
Research on Container Scheduling Techniques for Deep Learning Training Tasks
Authors: Guanping Xie
Abstract:
Abstract——With the widespread application of machine learning across various fields, current AI models possess powerful capabilities in data processing and analysis, enabling them to effectively meet the functional requirements of complex environments. Meanwhile, containerization technology, due to its lightweight nature, isolation, and ease of deployment, has become an effective technical vehicle for task scheduling and resource management in training clusters. However, in machine learning training clusters, the diverse container resource demands brought by complex model structures, as well as heterogeneous resource contention, pose significant challenges to the orchestration and management of compute-intensive machine learning tasks. Furthermore, due to the limited processing capabilities of a single node, distributed training techniques have been introduced to accelerate the handling of massive datasets and complex model training, which in turn leads to more complex topological relationships among task containers and increases the difficulty of container scheduling. In this context, this paper focuses on containerized AI model training tasks and conducts research on task orchestration from the perspectives of interference mitigation and load optimization in containerized machine learning systems. The research is carried out for both centralized and distributed training scenarios, and the main contributions are summarized as follows: (1) Deployment strategy for containers in centralized training tasks based on model characteristics. To address the issues of insufficient awareness of resource demands during containerized deep learning deployments and the performance interference caused by resource contention among co-located tasks, this paper proposes a container deployment scheme for deep learning applications based on model characteristics. The strategy incorporates awareness of characteristics such as computational workload, parameter count, and model architecture to predict container resource requirements. Based on this, it evaluates the interference level by measuring the increased task completion time under different model co-location combinations. The scheduling problem is then modeled with consideration of system load balancing, and a heuristic scheduling solution based on a genetic algorithm is employed to complete task container placement. Experimental results show that the proposed method can accurately estimate resource demands, effectively balance task interference and system load, and reduce the completion time of deep learning training tasks. (2) Scheduling scheme for distributed training task containers based on hybrid optimization of interference and communication.To address the performance interference and communication bottlenecks between distributed units that arise when deep learning workloads are co-located in a distributed environment, this paper proposes a container scheduling scheme based on hybrid optimization of interference and communication. Based on a proposed affinity-based container deployment framework for scheduling units, a resource model for distributed units is established to sense interference levels, and a cross-device communication model is constructed according to the structural characteristics of distributed training. Finally, a scheduling policy based on reinforcement learning is designed to perform hybrid optimization scheduling of containers in terms of interference and communication. Simulation results demonstrate that the proposed scheme can optimize data transmission between containers in distributed training tasks while avoiding task performance degradation due to excessive resource contention. This effectively compensates for the shortcomings of current cluster schedulers in addressing communication and contention problems in distributed training, and provides a viable solution for performance optimization in containerized distributed deep learning systems.Keywords: Container Technology, Machine Learning, Distributed Training, Resourcce Contention.
Procedia PDF Downloads 90