GKE Dynamic Slicing for TPUs: Architecture and Operational Benefits

GKE Dynamic Slicing is now generally available for TPU workloads, decoupling logical TPU slice formation from physical nodepool provisioning. Instead of creating a static nodepool for each TPU slice topology, administrators pre-provision capacity as uniform 16-VM (4x4x4) TPU cube nodepools, and the GKE slice controller assembles or partitions slices at workload scheduling time. Google reports up to 5x faster AI workload startup and 4.5x faster recovery compared with static nodepools, with the goal of improving TPU goodput, fleet utilization, and resilience at scale.

The previous model required separate fixed TPU slice topology nodepools, which increased startup time and complexity, prevented multi-host nodepools from hosting multiple AI workloads, and forced manual delete-and-recreate cycles when needs changed. A single hardware fault could also crash an entire slice, creating large failure domains and slow reprovisioning. Dynamic slicing addresses this using TPU optical circuit switching (OCS) to stitch or partition TPU cubes at runtime.

Two forms are offered. Super-slicing dynamically connects multiple TPU cubes, each a 4x4x4 16-VM topology, to form larger slice topologies that exceed a single cube; the OCS network configuration is altered at scheduling time to stitch cubes into the topology specified in the Kubernetes manifest. Sub-slicing partitions a single pre-provisioned TPU cube into smaller independent slices, allowing multiple jobs with different topology requirements to run concurrently and isolated within the same physical cube, with the ICI network activated to form sub-slices and deconstructed after workload completion.

Key operational improvements include zero-downtime topology agility, eliminating the delete-and-create nodepool cycle; faster job startup by assembling logical slices from pre-provisioned nodepools; improved fleet utilization through multi-tenant packing and provisioning partially healthy nodepools; faster recovery by isolating large slice failures to a TPU cube and swapping unhealthy cubes in one to two minutes; and enhanced visibility into potential TPU partitions within each cube for proactive scheduling.

Getting started requires a one-time pre-provisioning of TPU capacity into nodepools of 16 VMs each. This introduces incremental provisioning nodepools, a fault-tolerant model that supersedes all-or-nothing slice creation: GKE provisions using all available healthy hosts even if some hosts in a 4x4x4 slice are faulty, then reconciles by adding pending nodes once hosts recover. After enabling the slice controller and GKE scheduler, workloads indicate the need for dynamic slices via annotations, which trigger the scheduler to create a Slice Custom Resource and form the slice at runtime.

For failures, repair is targeted by slicing mode. For super-slicing, hardware failures are isolated to a TPU cube, and the scheduler reforms the slice by removing the unhealthy cube and using healthy cubes. For sub-slicing, slices on faulty infrastructure are dynamically reformed using available healthy partitions. Dynamic slicing is available for TPUs in all regions where TPUs are available, but is supported exclusively in TPU All Capacity under reservation mode.

GKE dynamic slicing on TPUs

View Original