Skip to content

Commit

Permalink
Fix CUDA_HOME env var
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis authored Dec 17, 2024
1 parent 2a33c9f commit 00192f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ ENV GIT_COMMIT=${GIT_COMMIT} \
RUN echo "$GIT_COMMIT" > /etc/git_commit && echo "$BUILD_DATE" > /etc/build_date

{{ if eq .Accelerator "gpu" }}
# Add the CUDA home.
CUDA_HOME=/usr/local/cuda
# Add the CUDA home.
ENV CUDA_HOME=/usr/local/cuda
{{ end }}
ENTRYPOINT ["/usr/bin/env"]

0 comments on commit 00192f2

Please sign in to comment.