GKE Dynamic Slicing is generally available to speed up TPU workloads

Provider post Google Cloud AI & Machine Learning · Based on the provider's own account.

Google Cloud has made Dynamic Slicing generally available for TPU workloads on Google Kubernetes Engine (GKE). The feature separates the provisioning of physical TPU capacity from the formation of logical slices. Google says this can make AI workloads start up to five times faster and recover from failures 4.5 times faster.

Previously, different TPU slice topologies required separately configured, fixed nodepools. Dynamic Slicing uses pre-provisioned TPU cubes, each containing 16 virtual machines, as building blocks. With super-slicing, an optical TPU switch connects multiple cubes into larger slices. Sub-slicing instead partitions a cube on demand into smaller, isolated slices for multiple jobs.

Google says this lets teams use nodepools more flexibly, run smaller workloads together, and make use of healthy hosts in partially faulty nodepools. During failures, the impact is intended to be limited to a cube; Google says unhealthy cubes can be replaced in one to two minutes. GKE provides schedulers optimized for the feature, while also allowing teams to use custom schedulers.

The feature requires TPU capacity to be pre-provisioned in nodepools of 16 VMs each. It is available in regions where TPUs are offered, but only for TPU All Capacity under reservation mode. The original post explains the architecture, setup, and workload configuration examples: Google Cloud: GKE Dynamic Slicing.

🇬🇧 https://cloud.google.com/blog/products/containers-kubernetes/gke-dynamic-slicing-on-tpus

Leave a Comment

The weekly brief: selected developments, projects and videos