AI/TLDR

SkyPilot

Run AI jobs on any cloud or Kubernetes and land on the cheapest available GPUs

Overview

SkyPilot is a system for running, managing, and scaling AI workloads across any compute you have access to. You describe a job once in a small YAML file, and SkyPilot provisions the resources, syncs your code, runs the job, and cleans up idle machines when it finishes.

It is built for AI teams who want a single way to launch jobs without hand-managing each cloud, and for infra teams who want one control plane over Kubernetes, Slurm, reserved GPUs, and more than 20 cloud providers. Your existing GPU, TPU, and CPU jobs run with no code changes.

Within compute orchestration, SkyPilot sits above individual schedulers and cloud APIs. It handles GPU/TPU/CPU provisioning with smart failover across providers, queues and auto-recovers jobs, and runs everything inside your own cloud accounts and clusters (BYOC).

What it does

  • One interface to run jobs on Kubernetes, Slurm, reserved GPUs, or 20+ clouds including AWS, GCP, Azure, OCI, Lambda, RunPod, and Nebius
  • Flexible provisioning of GPUs, TPUs, and CPUs with automatic failover to available, cheaper infrastructure
  • Autostop and binpacking to clean up idle resources and pack workloads onto shared clusters
  • Job queueing, multi-node and gang scheduling, and automatic recovery of failed jobs
  • Local-style development on Kubernetes: SSH into pods, sync code, or connect your IDE
  • BYOC design: clusters launch inside your own cloud accounts, VPCs, and Kubernetes clusters

Getting started

Install SkyPilot with the cloud and Kubernetes backends you need, then launch your first cluster from a short task YAML.

Install SkyPilot

Install with uv (pip, nightly, and from-source are also supported) and pick the infra extras you plan to use. This example enables Kubernetes and the major clouds.

bashbash
uv pip install "skypilot[kubernetes,aws,gcp,azure,oci,nebius,lambda,runpod,fluidstack,paperspace,cudo,ibm,scp,seeweb,shadeform,verda]"

Define a task

Write a task YAML that declares the resources you want, a setup step, and the command to run. If you omit infra, SkyPilot picks the cheapest option for you.

yamlyaml
resources:
  infra: k8s/coreweave
  accelerators: B200:8

workdir: .

setup: |
  uv pip install torch

run: |
  echo "Hello, SkyPilot!"
  nvidia-smi

Launch and check status

Provision a cluster and run the task with sky launch, then view your clusters with sky status.

bashbash
sky launch -c mycluster hello_sky.yaml
sky status

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Running model training or fine-tuning jobs on whichever cloud has the cheapest available GPUs
  • Giving an infra team one control plane over multiple Kubernetes and Slurm clusters
  • Queueing and auto-recovering many batch jobs across a shared GPU fleet
  • Spinning up an interactive dev environment on Kubernetes with code sync and IDE access

How SkyPilot compares

SkyPilot alongside other open-source gpu & compute clouds tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Daytona★ 72.2kDaytona is an open-source runtime that spins up isolated sandboxes in under 90ms so agents can safely run and persist AI-generated code.
Ray★ 43.2kA distributed computing framework that scales Python and ML workloads for training, tuning, data processing, and serving.
Prefect★ 23.3kA Python-native workflow orchestration tool for scheduling, running, and monitoring data and ML pipelines.
Dagster★ 15.8kA data and ML pipeline orchestrator with a declarative asset model, built-in lineage, and observability.
Kubeflow★ 15.8kA Kubernetes toolkit that brings together pipelines, notebooks, and training operators for running ML workflows at scale.
E2B★ 13kE2B is open-source infrastructure that runs AI-generated code inside secure, isolated cloud sandboxes, controlled from JavaScript or Python SDKs.
OpenSandbox★ 12kOpenSandbox gives AI agents a safe place to run code and commands, with one unified API across Docker and Kubernetes runtimes and SDKs in five languages.
SkyPilot★ 10.3kRun AI jobs on any cloud or Kubernetes and land on the cheapest available GPUs