Download tools/start_llms.sh from RightNowAI/duplex-v0: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/start_llms.sh
- Command line
-
hf download hf://RightNowAI/duplex-v0/tools/start_llms.sh
-
curl -L -o start_llms.sh https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/start_llms.sh
695 Bytes
| # The dialogue writer: one Qwen3-32B (Apache-2.0) replica per GPU given, each on its own | |
| # local port 800<gpu>. Uses the upstream vLLM image already on this machine (by digest). | |
| # Only containers named duplex-llm-* are ever started or stopped by this repository. | |
| set -euo pipefail | |
| IMAGE=vllm/vllm-openai@sha256:88175ddf4f59944ccbb24c6b60c1bc535a160be3c4f09a3b08702c5e301a599e | |
| for g in "$@"; do | |
| sudo docker run -d --rm --name "duplex-llm-$g" --gpus "\"device=$g\"" --ipc=host \ | |
| -v /data/train/models/Qwen3-32B:/model:ro -p "127.0.0.1:800$g:8000" \ | |
| "$IMAGE" /model --served-model-name Qwen/Qwen3-32B --port 8000 --max-model-len 8192 --max-num-seqs 256 | |
| done | |