-
Notifications
You must be signed in to change notification settings - Fork 589
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
base: master
Are you sure you want to change the base?
Conversation
…into separate modules.
…reduce repetition.
- the cloud used is now configurable via an env var - the bucket url is now configurable via an env var - adds a sample .env with the required env vars to run the example
… (stored on disk) across activities.
…o orchestrators_temporal_apiserver
- [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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
Example showing how to run a mock workflow using temporal. Requires remote API server.