[Paper Review] Design and Operation of Shared Machine Learning Clusters on Campus
TACC is a full-stack cloud infrastructure that enables efficient, scalable, and reproducible execution of large-scale machine learning workloads through a 4-layer workflow abstraction—schema, compiler, scheduling, and execution—allowing dynamic integration of system optimizations with minimal code changes. It simplifies deployment and accelerates ML training via seamless support for distributed DNN training, optimized networking, and specialized hardware.
Amid the rapid advancements in large machine learning (ML) models, universities worldwide are investing substantial funds and efforts into GPU clusters. However, managing a shared GPU cluster poses a pyramid of challenges, from hardware configuration to resource allocation among users. This paper introduces SING, a full-stack solution designed to streamline the management of shared GPU clusters in academic institutions. Motivated by the pressing need for efficient resource sharing and the challenges posed by limited staffing, we present a comprehensive view of SING's architecture and design choices, which achieves operational efficiency (i.e., low maintenance cost and high resource utilization). We also share experience and insights from the real-world operations of SING, including analysis of its usage patterns and management of incidents and failures. This paper is part of our ongoing effort to improve the management of shared ML clusters. We open-source relevant resources to facilitate the development and operation of similar clusters for ML.
Motivation & Objective
- Address the gap between specialized ML systems and general-purpose cloud platforms by unifying their strengths in a single infrastructure.
- Enable efficient, dynamic, and reproducible execution of diverse ML workloads in shared campus clusters.
- Simplify integration of cutting-edge ML system research (e.g., communication scheduling, hardware acceleration) into production environments.
- Support multi-tenant, on-demand task submission with fine-grained resource allocation and cross-platform portability.
- Provide a serverless-like experience for ML researchers through a lightweight CLI tool (tcloud) for task submission, monitoring, and debugging.
Proposed method
- Abstract ML task execution into a 4-layer workflow: task schema, compiler, scheduling, and execution layers, decoupling optimization techniques from monolithic execution.
- Define a self-contained, unified task schema that encapsulates compute, network, QoS, code, dependencies, and runtime configurations for reproducibility.
- Use the compiler layer to parse task descriptions, prepare runtime environments, and generate optimized execution plans based on static characteristics (e.g., language, task size).
- Employ a dynamic scheduling layer that selects optimal runtime systems based on real-time factors such as task age, size, expected duration, and network topology.
- Enable execution on heterogeneous backends—including RDMA-connected GPUs, shared file systems, and smart NICs—via fail-safe switching and runtime selection.
- Integrate with existing system optimizations (e.g., BytePS, FlexFlow, Tiara) transparently, allowing zero or minimal code changes for users.
Experimental results
Research questions
- RQ1How can a full-stack ML infrastructure dynamically compose and apply diverse system optimizations (e.g., communication scheduling, hardware acceleration) to heterogeneous ML workloads?
- RQ2What abstraction layer design enables seamless integration of new ML system research findings into production clusters with minimal engineering overhead?
- RQ3How can a shared campus ML cluster support on-demand, multi-tenant task execution with fine-grained resource allocation and reproducibility?
- RQ4What mechanisms enable efficient, scalable, and portable task management across heterogeneous hardware and operating systems?
- RQ5How can a cloud infrastructure unify the goals of specialized ML systems and general-purpose cloud platforms without sacrificing performance or flexibility?
Key findings
- TACC’s 4-layer abstraction enables dynamic, composable application of system optimizations across diverse ML workloads, improving adaptability and performance.
- The tcloud CLI tool provides a serverless-like experience with cross-platform compatibility, enabling task submission and distributed debugging from any system with SSH access.
- TACC supports reproducible task execution through a self-contained task schema that encapsulates all execution parameters, ensuring consistent behavior across instances.
- The infrastructure enables zero or minimal code modifications for users to leverage advanced optimizations such as parameter server tuning, RDMA, and in-network computation.
- TACC’s scheduling layer can adaptively select underlying runtime systems based on real-time task and system characteristics, including expected duration and network topology.
- TACC successfully integrates existing system-level optimizations (e.g., from FlexFlow, BytePS, and Tiara) into a unified, extensible platform, reducing deployment friction for researchers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.