Download tools/start_copies.sh from RightNowAI/duplex-v0: direct link, hf CLI and curl.
- Browser
- Download file 576 Bytes
-
https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/start_copies.sh
- Command line
-
hf download hf://RightNowAI/duplex-v0/tools/start_copies.sh
-
curl -L -o start_copies.sh https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/start_copies.sh
576 Bytes
| # One copy of the baseline per GPU, each in its own tmux session (ports 9999, 9991 ... 9997). | |
| # GPUS="0 1 2 3" bash tools/start_copies.sh default: all eight | |
| # Stop them with: for g in 0 1 2 3 4 5 6 7; do sudo docker stop duplex-vllm-$g; done | |
| mkdir -p /data/train/logs | |
| for g in ${GPUS:-0 1 2 3 4 5 6 7}; do | |
| p=$([ "$g" = 0 ] && echo 9999 || echo 999$g) | |
| tmux new-session -d -s vllm$g "cd /data/train/duplex && GPU=$g PORT=$p MODEL_DIR=/data/train/models/Step-Audio-R1.1 bash serving/launch_vllm.sh > /data/train/logs/vllm_$g.log 2>&1" | |
| done | |
| tmux ls | |