diff --git a/launch-cluster.sh b/launch-cluster.sh index 17f6949..97d4da0 100755 --- a/launch-cluster.sh +++ b/launch-cluster.sh @@ -559,7 +559,7 @@ make_node_script() { local tmp; tmp=$(mktemp /tmp/vllm_node_script_XXXXXX.sh) grep -v -- '--distributed-executor-backend' "$script_path" > "$tmp" - echo "$extra" >> "$tmp" + sed -i "$ s/$/ $extra/" "$tmp" chmod +x "$tmp" echo "$tmp" }