fix container deletion

This commit is contained in:
empyreus
2026-03-31 19:05:11 +00:00
parent 0c8f4fd583
commit 49aeea0660
2 changed files with 2 additions and 3 deletions

View File

@@ -87,8 +87,8 @@ steps:
export RANK=0
export MASTER_ADDR=127.0.0.1
export MASTER_PORT=12345
ls -la
cd sglang
torchrun --nproc_per_node gpu \
--nnodes $WORLD_SIZE \

View File

@@ -103,7 +103,6 @@ if $USE_DOCKER; then
# If using the sglang container, launch it first
if [ "${CONTAINER_NAME}" = "mscclpp-sglang-test" ]; then
parallel-ssh -i "${PSSH_COMMON[@]}" \
"sudo docker rm -f ${CONTAINER_NAME} 2>/dev/null; \
sudo docker run -itd --name=${CONTAINER_NAME} --privileged --net=host --ipc=host --gpus=all -w /root -v /mnt:/mnt lmsysorg/sglang:latest bash"
INNER="set -euxo pipefail;"