Preview abstract
Compilers play a fundamental role at achieving peak performance for machine learning (ML) workloads. However, given the diverse nature of workloads and accelerators, compilers' heuristics and analytical cost models often result in sub-optimal performance, and thus waste precious datacenter resources. Furthermore, the multitude of tunable parameters and their complex interplay often make it impossible for human experts to manually find optimal configurations. In this paper, we present
CATWILD, a system that automatically optimizes ML jobs in Google's TPU fleet using compiler autotuning techniques. We describe CATWILD’s design and implementation, and evaluate its performance using a handful of representative metrics. We further report experiences and lessons learned from its five-year development and operation. To the best of our knowledge, CATWILD represents the first ML compiler autotuning solution deployed in datacenters at scale. Its successful rollout yielded substantial benefits, optimizing over 70% of daily TPU training jobs and achieving significant chip savingsView details
Preview abstract
Current discussions surrounding AI infrastructure emphasize the shortages of accelerators
needed for model training. However, an equally critical and often overlooked constraint is
utilization. In production training clusters, the limiting factor is the fraction of
theoretical hardware capacity utilized during a run. Scheduling overhead, communication
latency, and workload fragmentation routinely reduce effective throughput by 50%.
Expanding the hardware footprint of an underutilized cluster without addressing chip
utilization compounds costs and increases TCO.
View details