Skip to content

Commit bfb588d

Browse files
author
STEFANO BOSISIO
committed
add mods in container
1 parent 1154ccb commit bfb588d

File tree

4 files changed

+14
-76
lines changed

4 files changed

+14
-76
lines changed

.github/container/Dockerfile.base

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,24 @@ RUN pip install --upgrade --ignore-installed --no-cache-dir -e /opt/pip pip-tool
139139
## Symlink for cuDNN
140140
###############################################################################
141141

142-
ADD install-cudnn.sh /usr/local/bin
143-
RUN install-cudnn.sh
142+
ADD symlnk-cudnn.sh /usr/local/bin
143+
RUN symlnk-cudnn.sh
144144

145145
###############################################################################
146146
## Symlink for NCCL
147147
###############################################################################
148148

149-
# same fro this
150-
ADD install-nccl.sh /usr/local/bin
151-
RUN install-nccl.sh
149+
ADD symlnk-nccl.sh /usr/local/bin
150+
RUN symlnk-nccl.sh
151+
152+
##############################################################################
153+
## Add Amazon EFA
154+
##############################################################################
155+
156+
ADD --chmod=777 \
157+
install-efa.sh \
158+
test-aws-efa.sh \
159+
/usr/local/bin/
152160

153161

154162
##############################################################################
@@ -160,11 +168,6 @@ ADD nccl-sanity-check.cu /opt
160168
RUN install-nccl-sanity-check.sh
161169
ADD jax-nccl-test parallel-launch /usr/local/bin/
162170

163-
###############################################################################
164-
## Add the systemcheck to the entrypoint.
165-
###############################################################################
166-
167-
COPY check-shm.sh /opt/nvidia/entrypoint.d/
168171

169172
###############################################################################
170173
## Install the nsys-jax JAX/XLA-aware profiling scripts, patch Nsight Systems

.github/container/install-ofed.sh

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/container/install-cudnn.sh renamed to .github/container/symlnk-cudnn.sh

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,4 @@ for cudnn_file in $(dpkg -L ${libcudnn_pkgs} | sort -u); do
3838
else
3939
echo "Skipping ${cudnn_file}"
4040
fi
41-
done
42-
43-
# # replicate the original symlinks too, so we'll have /opt/nvidia/cudnn/include/cudnn.sh
44-
# find /usr/include -maxdepth 1 -name "cudnn*.h" -type l | while read -r symlink; do
45-
# symlink_name=$(basename "${symlink}")
46-
# symlink_target=$(readlink "${symlink}")
47-
# # Check if the symlink points to x86_64-linux-gnu/
48-
# if [[ "${symlink_target}" == "${arch}/"* ]]; then
49-
# # Adjust the symlink target to point within our symlink directory
50-
# adjusted_target="${prefix}/include/${symlink_target#${arch}/}"
51-
# # Destination symlink within the symlink directory
52-
# link_name="${prefix}/include/${symlink_name}"
53-
# link_dir=$(dirname "${link_name}")
54-
# mkdir -p "${link_dir}"
55-
# # Check if the symlink already exists
56-
# if [[ -e "${link_name}" ]]; then
57-
# echo "Symlink ${link_name} already exists. Skipping."
58-
# else
59-
# ln -s "${adjusted_target}" "${link_name}"
60-
# fi
61-
# else
62-
# echo "Skipping symlink ${symlink} with target ${symlink_target}"
63-
# fi
64-
# done
41+
done
File renamed without changes.

0 commit comments

Comments
 (0)