Skip to content

Commit 4f683c0

Browse files
committed
add env for dlcluster docker command for slurm job
Signed-off-by: Yuanjing Xue <[email protected]>
1 parent 9645814 commit 4f683c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jenkins/L0_Test.groovy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ def runLLMTestlistOnSlurm(pipeline, platform, testList, config=VANILLA_CONFIG, p
261261
}
262262

263263
if (CloudManager.isNodeOnline(nodeName)) {
264-
def dockerArgs = "--gpus ${gpuCount} --cap-add=SYS_ADMIN --ipc=host --security-opt seccomp=unconfined -u root:root -v /home/scratch.trt_llm_data:/scratch.trt_llm_data:ro -v /tmp/ccache:${CCACHE_DIR}:rw -v /tmp/pipcache/http-v2:/root/.cache/pip/http-v2:rw --cap-add syslog -e NVIDIA_IMEX_CHANNELS=0"
264+
def dockerArgs = "--gpus ${gpuCount} --cap-add=SYS_ADMIN --ipc=host --security-opt seccomp=unconfined -u root:root -v /home/scratch.trt_llm_data:/scratch.trt_llm_data:ro -v /tmp/ccache:${CCACHE_DIR}:rw -v /tmp/pipcache/http-v2:/root/.cache/pip/http-v2:rw --cap-add syslog"
265+
266+
if (partition.clusterName == "dlcluster") {
267+
dockerArgs += " -e NVIDIA_IMEX_CHANNELS=0"
268+
}
269+
println dockerArgs
265270
slurmRunner = runInDockerOnNodeMultiStage(LLM_DOCKER_IMAGE, nodeName, dockerArgs, false)
266271
executeLLMTestOnSlurm(pipeline, platform, testList, config, perfMode, stageName, splitId, splits, skipInstallWheel, cpver, slurmRunner)
267272
} else {

0 commit comments

Comments
 (0)