These templates are a set of minimal examples & tutorials for customers to run on the anyscale platform.
If the template is generic to Ray & Ray libraries, please consider adding the template in: https://github.com/ray-project/ray/tree/master/doc/source/templates
To setup the environment:
- Install pre-commit
pip install pre-commit
- Install the git hook scripts
pre-commit install
To add a template:
-
Add your template as a directory under
templates/<your-template-name>
For example:
templates/my-awesome-template <name-of-your-template>/ README.md <name-of-your-template>.ipynb/py
Your template does not need to be a Jupyter notebook. It can also be presented as a Python script.
All templates MUST have a
README.md
or aREADME.ipynb
file. -
Add your compute configuration under
configs/<your-template-name>
(for both AWS and GCE). -
Update the product repo
backend/workspace-templates.yaml
to point to the new template added here after being merged.