mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-12 01:10:22 +00:00
fix container deletion
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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;"
|
||||
|
||||
Reference in New Issue
Block a user