This commit is contained in:
empyreus
2026-04-02 16:53:10 +00:00
parent dba58416b9
commit faa600c3be
2 changed files with 2 additions and 3 deletions

View File

@@ -27,7 +27,6 @@ steps:
displayName: Install mscclpp
runRemoteArgs: '--container sglang-mscclpp-test'
remoteScript: |
rm -rf mscclpp
git clone https://github.com/microsoft/mscclpp.git
cd mscclpp
mkdir build

View File

@@ -99,13 +99,13 @@ if [ "${CONTAINER_NAME}" == "sglang-mscclpp-test" ]; then
# InfiniBand: use --privileged for RDMA device access
parallel-ssh -i -t 0 -h ${HOSTFILE} -x "-i ${KeyFilePath}" -O $SSH_OPTION \
"sudo docker run --rm -itd --privileged --net=host --ipc=host ${LAUNCH_OPTION} \
-w /root -v ${DST_DIR}:/root/mscclpp -v /opt/microsoft:/opt/microsoft --ulimit memlock=-1:-1 --name=sglang-mscclpp-test \
-w /root -v /opt/microsoft:/opt/microsoft --ulimit memlock=-1:-1 --name=sglang-mscclpp-test \
--entrypoint /bin/bash lmsysorg/sglang:latest"
else
# Non-IB: grant SYS_ADMIN and disable seccomp instead of full --privileged
parallel-ssh -i -t 0 -h ${HOSTFILE} -x "-i ${KeyFilePath}" -O $SSH_OPTION \
"sudo docker run --rm -itd --net=host --ipc=host ${LAUNCH_OPTION} --cap-add=SYS_ADMIN --security-opt seccomp=unconfined \
-w /root -v ${DST_DIR}:/root/mscclpp -v /opt/microsoft:/opt/microsoft --ulimit memlock=-1:-1 --name=sglang-mscclpp-test \
-w /root -v /opt/microsoft:/opt/microsoft --ulimit memlock=-1:-1 --name=sglang-mscclpp-test \
--entrypoint /bin/bash lmsysorg/sglang:latest"
fi
else