SkyPilot is a framework for running LLMs, AI, and batch jobs on any cloud.This integration uses the Runpod CLI infrastructure to spin up on-demand Pods and deploy Serverless endpoints with SkyPilot.
Create a file named hello_sky.yaml with the following content:
Copy
resources: cloud: runpod# Working directory (optional) containing the project codebase.# Its contents are synced to ~/sky_workdir/ on the cluster.workdir: .# Setup commands (optional).# Typical use: pip install -r requirements.txt# Invoked under the workdir (i.e., can use its files).setup: | echo "Running setup."# Run commands.# Typical use: make use of resources, such as running training.# Invoked under the workdir (i.e., can use its files).run: | echo "Hello, SkyPilot!" conda env list
3
Launch your project
Launch your project on the cluster:
Copy
sky launch -c mycluster hello_sky.yaml
4
Confirm your GPU type
You’ll see the available GPU options. Confirm your GPU type and the cluster will start spinning up.