Skip to content
Snippets Groups Projects
Unverified Commit 47a60bef authored by Ramesh Sampath's avatar Ramesh Sampath Committed by GitHub
Browse files

Remove global setting of LD_LIBRARY_PATH

This change failed to capture the downstream effects of tensorflow installs on CPU that doesn't have the Cuda libraries. 

The smoke test failed to capture the effect correctly when importing tensorflow on systems that didn't have this global variable set.  
```
>>> import tensorflow as tf
```
parent 667d70f1
Branches
No related tags found
No related merge requests found
...@@ -21,10 +21,6 @@ RUN /build_devtoolset.sh devtoolset-9 /dt9 ...@@ -21,10 +21,6 @@ RUN /build_devtoolset.sh devtoolset-9 /dt9
################################################################################ ################################################################################
FROM nvidia/cuda:11.2.2-base-ubuntu20.04 as devel FROM nvidia/cuda:11.2.2-base-ubuntu20.04 as devel
################################################################################ ################################################################################
# LD Library Path is not correctly set. It points to /usr/local/nvidia/lib:/usr/local/nvidia/lib64
RUN echo $LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda-11.1/lib64"
COPY --from=builder /dt7 /dt7 COPY --from=builder /dt7 /dt7
COPY --from=builder /dt9 /dt9 COPY --from=builder /dt9 /dt9
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment