Skip to main content

SkyPilot: An intercloud broker for the clouds

Project description

SkyPilot

pytest Documentation Status

SkyPilot is a framework for easily running machine learning[1] workloads on any cloud through a unified interface. No knowledge of cloud offerings is required or expected – you simply define the workload and its resource requirements, and SkyPilot will automatically execute it on AWS, Google Cloud Platform or Microsoft Azure.

Key features

  • Run existing projects on the cloud with zero code changes
  • No cloud lock-in – seamlessly run your code across different cloud providers (AWS, Azure or GCP)
  • Minimize costs by leveraging spot instances and automatically stopping idle clusters
  • Automatic recovery from spot instance failures
  • Automatic fail-over to find resources across regions and clouds
  • Store datasets on the cloud and access them like you would on a local file system
  • Easily manage job queues across multiple clusters

Getting Started

You can find our documentation here.

Example SkyPilot Task

Tasks in SkyPilot are specified as a YAML file containing the resource requirements, data to be synced, setup commands and the task commands. Here is an example.

# my-task.yaml
resources:
  # 1x NVIDIA V100 GPU
  accelerators: V100:1

# Number of VMs to launch in the cluster
num_nodes: 1

# Working directory (optional) containing the project codebase.
# Its contents are synced to ~/sky_workdir/ on the cluster.
workdir: .

# Commands to be run before executing the job
# Typical use: pip install -r requirements.txt, git clone, etc.
setup: |
  echo "Running setup."

# Commands to run as a job
# Typical use: make use of resources, such as running training.
run: |
  echo "Hello, SkyPilot!"
  conda env list

This task can be launched on the cloud with the sky launch command.

$ sky launch my-task.yaml

SkyPilot will perform multiple functions for you:

  1. Find the lowest priced VM instance type across different clouds
  2. Provision the VM
  3. Copy the local contents of workdir to the VM
  4. Run the task's setup commands to prepare the VM for running the task
  5. Run the task's run commands

Please refer to Quickstart for more on how to use SkyPilot.

Issues, feature requests and questions

We are excited to hear your feedback! SkyPilot has two channels for engaging with the community - GitHub Issues and GitHub Discussions.

Contributing

We welcome and value all contributions to the project! Please refer to the contribution guide for more on how to get involved.

[1]: SkyPilot is primarily targeted at machine learning workloads, but it can also support many general workloads. We're excited to hear about your use case and would love to hear more about how we can better support your requirements - please join us in this discussion!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skypilot-0.1.1rc1.tar.gz (278.5 kB view details)

Uploaded Source

Built Distribution

skypilot-0.1.1rc1-py3-none-any.whl (324.9 kB view details)

Uploaded Python 3

File details

Details for the file skypilot-0.1.1rc1.tar.gz.

File metadata

  • Download URL: skypilot-0.1.1rc1.tar.gz
  • Upload date:
  • Size: 278.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for skypilot-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 a8bd33a358916e1984dcdf1465fbe40397266df5af39950362833d783db759e0
MD5 9e4f63b6f5a2a9956cbf39244b35bb44
BLAKE2b-256 8a90e922edb7d431db9b01b776b5194df0f93a1c9add6014b475dc174d2dabdc

See more details on using hashes here.

File details

Details for the file skypilot-0.1.1rc1-py3-none-any.whl.

File metadata

  • Download URL: skypilot-0.1.1rc1-py3-none-any.whl
  • Upload date:
  • Size: 324.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for skypilot-0.1.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 458422ff0f0e0e2dc2d8356e72aad8b1ad19a12ec0fc609ed9b68fa9aee22803
MD5 cc6b5ddc00ae9eeeae68e936fe25b318
BLAKE2b-256 7920decff083cfb17c16c12438e5f46ad43332ad8c62ff602308f28967ee6f49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page