mirror of
https://github.com/vale981/ray
synced 2025-03-09 21:06:39 -04:00
32 lines
827 B
YAML
32 lines
827 B
YAML
# 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"
|
|
]
|