gcp Google Cloud Blog ·

Google details GKE Pod snapshots for faster AI workload scaling

blogaigcpgaengineergcp-gkegcp-cloud-storage
announcement

This post details Google Kubernetes Engine (GKE) Pod snapshots, a capability designed to save and restore the running state of workloads, including CPU and GPU memory. It addresses the common challenge of cold starts in AI inference and agentic workflows, which often leads to overprovisioning expensive infrastructure. GKE Pod snapshots significantly reduce startup latency by up to 89% for large AI models, allowing for more efficient autoscaling and reduced idle GPU costs. The feature is configured via CRDs and is also applicable to other applications with long initialization phases beyond AI.

  • GKE Pod snapshots address cold starts in AI workloads
  • Enhancing AI inference scaling without the wait
  • Optimizing agentic workflows and sandboxes
  • Flexible configuration and broad applicability
Notes (4)
  • GKE Pod snapshots address cold starts in AI workloads

    The article explains how GKE Pod snapshots, introduced to save and restore workload state including CPU and GPU memory, solve the conflict between performance and cost in AI workloads. This feature helps reduce AI inference start-up by as much as 89%, enabling faster scaling and mitigating the need for overprovisioning.

  • Enhancing AI inference scaling without the wait

    GKE Pod snapshots solve the linear scaling penalty of model loading for generative AI by capturing a fully loaded state and persisting it in Cloud Storage. This allows new replicas to restore directly, bypassing the initialization phase and reducing startup latency by up to 89% for large models like llama3-70b.

  • Optimizing agentic workflows and sandboxes

    The feature provides advantages for agentic workflows, enabling quick initialization of isolated sandboxes for LLM-generated code execution and computer use tools. Pod snapshots also allow suspending idle sandboxes and resuming them instantly, leading to significant success, such as Codeway's Retake platform reducing startup latency to 8 seconds.

  • Flexible configuration and broad applicability

    Pod snapshots are designed to integrate easily into existing Kubernetes workflows, allowing users to define policies using Pod snapshot CRDs to control what to snapshot, where to store data, and retention settings. While primarily for AI, this workload-agnostic feature can speed up any application with long initialization, including complex Java applications or game servers.

Read the original announcement →

https://cloud.google.com/blog/products/containers-kubernetes/gke-pod-snapshots/

Related releases