Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

skypilot-org/mock-train-workflow

Open more actions menu

Repository files navigation

Example training workflow on SkyPilot

This repo contains an example training workflow consisting of three simple SkyPilot tasks:

  1. data_preprocessing: Ingests data and writes it to a bucket.
  2. train: Trains a model on the data.
  3. eval: Evaluates the model. Can be optionally run on the same cluster as train.

These tasks don't actually run any code, but they demonstrate how to structure a training workflow on SkyPilot.

Usage

When developing the workflow, you can run the tasks independently using sky launch:

$ sky launch -c data data_preprocessing.yaml
...

The train and eval step can be run in a similar way, and the eval step can be run on the same cluster as the train step by setting the --cluster flag:

$ sky launch -c train train.yaml
...
# Run eval on the same cluster as train
$ sky exec train eval.yaml

About

Mock training workflow defined as SkyPilot YAMLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.