Skip to content

Commit

Permalink
chore: Set eth0 as NCCL socket, use new NCCL version (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechsromek authored Jul 30, 2024
1 parent 52aa7e2 commit b878e57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y pkg-config wget libssl-dev ca-certifica
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb \
&& dpkg -i cuda-keyring_1.1-1_all.deb \
&& apt-get update \
&& apt-get install -y cuda-toolkit-12-2 libnccl2 libnccl-dev
&& apt-get install -y cuda-toolkit-12-2 libnccl2=2.22.3-1+cuda12.2 libnccl-dev=2.22.3-1+cuda12.2

USER 65534
ENTRYPOINT ["/bin/server"]
3 changes: 3 additions & 0 deletions deploy/stage/mpc1-stage/values-gpu-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
env:
- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: RUST_BACKTRACE
value: "full"

Expand Down
3 changes: 3 additions & 0 deletions deploy/stage/mpc2-stage/values-gpu-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ env:
- name: RUST_BACKTRACE
value: "full"

- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: SMPC__ENVIRONMENT
value: "stage"

Expand Down
3 changes: 3 additions & 0 deletions deploy/stage/mpc3-stage/values-gpu-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ env:
- name: RUST_BACKTRACE
value: "full"

- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: SMPC__ENVIRONMENT
value: "stage"

Expand Down

0 comments on commit b878e57

Please sign in to comment.