Skip to content

Commit bbe10ed

Browse files
pyc96narutolhy
authored andcommitted
Add GKE's default CUDA runtime lib location to PATH and LD_LIBRARY_PATH. (sgl-project#8544)
1 parent bfd220f commit bbe10ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
88
CUDA_HOME=/usr/local/cuda \
99
GDRCOPY_HOME=/usr/src/gdrdrv-2.4.4/ \
1010
NVSHMEM_DIR=/sgl-workspace/nvshmem/install
11+
# Add GKE default lib and bin locations.
12+
ENV PATH="${PATH}:/usr/local/nvidia/bin" \
13+
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/nvidia/lib:/usr/local/nvidia/lib64"
1114

1215
# Set timezone and install all packages
1316
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \

0 commit comments

Comments
 (0)