SkyPilot Task JSON
SkyPilot Task JSON to specify a task (resource requirements, setup commands, run commands, file mounts, storage mounts, and so on)
| Type | object |
|---|---|
| File match |
skypilot-task.yml
skypilot-task.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/skypilot-task-json/latest.json |
| Source | https://www.schemastore.org/skypilot-task.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
name
string
workdir
string
event_callback
string
num_nodes
integer
resources
object
file_mounts
object
1 nested properties
/datasets-storage
object
5 nested properties
name
string
Name of storage, optional when source is bucket URI
source
string
Source path, can be local or s3/gcs URL. Optional, do not specify to create an empty bucket.
store
string
Could be either 's3' or 'gcs'; default: None. Optional.
persistent
boolean
Defaults to True; can be set to false. Optional.
mode
string
Either MOUNT or COPY. Optional.
service
object
setup
string
run
string
envs
object
inputs
Record<string, number>
outputs
Record<string, number>