Skip to content

Commit

Permalink
CI: Add --net=host to DOCKER_OPT_IB
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankochin committed Jan 7, 2024
1 parent d1a6765 commit 582c42b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildlib/pr/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
DOCKER_OPT_VOLUMES: -v /hpc/local:/hpc/local -v /auto/sw_tools:/auto/sw_tools
DOCKER_OPT_IB: --ulimit memlock=-1:-1 --device=/dev/infiniband/
DOCKER_OPT_IB: --ulimit memlock=-1:-1 --device=/dev/infiniband/ --net=host
DOCKER_OPT_GPU: --gpus all $(DOCKER_OPT_IB)
DOCKER_OPT_ARGS: --cap-add=SYS_PTRACE

Expand All @@ -11,10 +11,10 @@ resources:
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES)
- container: centos7_ib
image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos7:5
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_IB) --net host
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_IB)
- container: centos7_cuda11
image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos7-mofed5.4-cuda11:1
options: $(DOCKER_OPT_ARGS) --net=host $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_GPU)
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_GPU)
- container: fedora
image: rdmz-harbor.rdmz.labs.mlnx/ucx/fedora33:1
options: $(DOCKER_OPT_ARGS)
Expand Down Expand Up @@ -170,7 +170,7 @@ resources:
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES)
- container: ubuntu22_cuda12
image: rdmz-harbor.rdmz.labs.mlnx/ucx/x86_64/ubuntu22.04-mofed5-cuda12:3
options: $(DOCKER_OPT_ARGS) --net=host $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_GPU)
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES) $(DOCKER_OPT_GPU)
- container: ubuntu2204_rocm_6_0_0
image: registry.hub.docker.com/rocm/ucx:rocm-6.0.0
options: $(DOCKER_OPT_ARGS) $(DOCKER_OPT_VOLUMES)
Expand Down

0 comments on commit 582c42b

Please sign in to comment.