Files
scgenerator/slurm/start_worker.sh
2023-07-27 11:11:13 +02:00

6 lines
153 B
Bash

#!/bin/bash
head /proc/cpuinfo
echo "starting ray worker node"
ray start --address $1 --redis-password=$2 --num-cpus=$SLURM_CPUS_PER_TASK
sleep infinity