ray/doc/examples/cython/ray-project/project.yaml
Eric Liang 9b8218aabd
[docs] Move all /latest links to /master (#11897)
* use master link

* remae

* revert non-ray

* more

* mre
2020-11-10 10:53:28 -08:00

47 lines
1.4 KiB
YAML

# This file is generated by `ray project create`.
name: ray-example-cython
description: "Example of how to use Cython with ray"
tags: ["ray-example", "cython"]
documentation: https://docs.ray.io/en/master/advanced.html#cython-code-in-ray
cluster:
config: ray-project/cluster.yaml
environment:
requirements: ray-project/requirements.txt
shell: # Shell commands to be ran for environment setup.
- pip install -e .
commands:
- name: example1
command: python cython_main.py example1
help: "Run a simple Cython function"
- name: example2
command: python cython_main.py example2
help: "Run a simple recursive Cython function"
- name: example3
command: python cython_main.py example3
help: "Run a simple typed Cython function"
- name: example4
command: python cython_main.py example4
help: "Run a Cython defined with cpdef"
- name: example5
command: python cython_main.py example5
help: "Run a Cython defined with cdef"
- name: example6
command: python cython_main.py example6
help: "Run a simple Cython class"
- name: example7
command: python cython_main.py example7
help: "Run Cython with function from BrainIAK"
- name: example8
command: python cython_main.py example8
help: "Run Cython with BLAS"
output_files: [
# Save the logs from the latest run in snapshots.
"/tmp/ray/session_latest/logs"
]