File size: 695 Bytes
f730521
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# 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