ray/doc/examples/streaming/.rayproject/project.yaml

33 lines
827 B
YAML
Raw Normal View History

# This file is generated by `ray project create`.
name: ray-example-streaming
description: "A simple ray example for a streaming wordcount"
tags: ["ray-example", "streaming", "wordcount", "data-processing"]
cluster: .rayproject/cluster.yaml
environment:
requirements: .rayproject/requirements.txt
commands:
- name: run
command: python streaming.py --num-mappers {{num_mappers}} --num-reducers {{num_reducers}}
help: "Start the streaming example."
params:
- name: num-mappers
help: "Number of mapper actors used"
default: 3
type: int
- name: num-reducers
help: "Number of reducer actors used"
default: 4
type: int
config:
tmux: true
output_files: [
# Save the logs from the latest run in snapshots.
"/tmp/ray/session_latest/logs"
]