SAIFIINDUSTRIES's picture
Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified
Raw History Blame Contribute Delete
1.38 kB
services:
# Ray Head Node (Server)
ray-head:
image: openroad/orfs:${ORFS_VERSION}
container_name: ray-head
command: >
cd /OpenROAD-flow-scripts
pip install -r ./tools/AutoTuner/requirements.txt
ray start --head --dashboard-port=8265 --port=6379 --dashboard-host=0.0.0.0 --block
volumes:
- ../../flow:/OpenROAD-flow-scripts/flow
- ../../tools/AutoTuner:/OpenROAD-flow-scripts/tools/AutoTuner
- ~/.local/shared-data/autotuner:/shared-data/autotuner
ports:
- "6379:6379" # redis
- "8265:8265" # dashboard
- "10001-10010:10001-10010" # ray ports
healthcheck:
test: ["CMD-SHELL", "pgrep -f 'ray::' || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
# Ray Worker Node
ray-worker:
image: openroad/orfs:${ORFS_VERSION}
container_name: ray-worker
command: >
cd /OpenROAD-flow-scripts
pip install -r ./tools/AutoTuner/requirements.txt
ray start --address=ray-head:10001 --block
volumes:
- ../../flow:/OpenROAD-flow-scripts/flow
- ../../tools/AutoTuner:/OpenROAD-flow-scripts/tools/AutoTuner
- ~/.local/shared-data/autotuner:/shared-data/autotuner
healthcheck:
test: ["CMD-SHELL", "pgrep -f 'ray::' || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s