Skip to content

Commit

Permalink
Adding Cuda home environment values helps other libraries avoid unwan…
Browse files Browse the repository at this point in the history
…ted errors, for example DeepSpeed (#1360)
  • Loading branch information
lh0x00 authored Feb 1, 2024
1 parent 65e4cd1 commit 71487b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -708,4 +708,6 @@ RUN echo "$GIT_COMMIT" > /etc/git_commit && echo "$BUILD_DATE" > /etc/build_date
{{ if eq .Accelerator "gpu" }}
# Remove the CUDA stubs.
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH_NO_STUBS"
# Add the CUDA home.
ENV CUDA_HOME=/usr/local/cuda
{{ end }}

0 comments on commit 71487b6

Please sign in to comment.