Spaces:
Runtime error
Runtime error
#SBATCH --job-name=visual_arena_controller | |
#SBATCH --gres=gpu:rtx6000:1 | |
#SBATCH --qos=m3 | |
#SBATCH --time=100:00:00 | |
#SBATCH --qos=deadline | |
#SBATCH --account=deadline | |
#SBATCH -c 4 | |
#SBATCH --mem=10G | |
#SBATCH --output=visual_arena_controller-%j.out | |
#SBATCH --error=visual_arena_controller-%j.err | |
# put your command here | |
ipAddr=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) | |
echo "ipAddr = $ipAddr" | |
python3 -m fastchat.serve.controller --host $ipAddr |