Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Examples] SkyPilot + Temporal example #4896

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

romilbhardwaj
Copy link
Collaborator

Example showing how to run a mock workflow using temporal. Requires remote API server.

@romilbhardwaj romilbhardwaj requested review from Michaelvll and concretevitamin and removed request for Michaelvll March 7, 2025 17:10
- [SkyPilot](https://docs.skypilot.co/en/latest/getting-started/installation.html) installed on temporal workers
- [Remote SkyPilot API server](https://docs.skypilot.co/en/latest/reference/api-server/api-server.html)

Using the SkyPilot API Server eliminates the need for managing SkyPilot state across workers and allows credentials to be stored securely in the API server.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels too much info in this section. No explanation needed at this stage, I feel?

2. **`train.yaml`**: Trains a model using the data in the bucket.
3. **`eval.yaml`**: Evaluates the model and writes the evaluation results to the bucket.

These tasks are defined in the [mock-train-workflow](https://github.com/skypilot-org/mock-train-workflow/tree/clientserver_example) repository. The repository is cloned during the workflow to execute the tasks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it easy to inline these here? Much easier to click around & they will be inlined into docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants