| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,6 +28,7 @@ ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH} | |||
| 28 | 28 | # CUDA user libraries, either manually or through the use of nvidia-docker) exclude them. One | |
| 29 | 29 | # convenient way to do so is to obscure its contents by a bind mount: | |
| 30 | 30 | # docker run .... -v /non-existing-directory:/usr/local/cuda/lib64/stubs:ro ... | |
| 31 | + ENV LD_LIBRARY_PATH_NO_STUBS="/usr/local/nvidia/lib64:/usr/local/cuda/lib64:$LD_LIBRARY_PATH" | ||
| 31 | 32 | ENV LD_LIBRARY_PATH="/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH" | |
| 32 | 33 | ENV NVIDIA_VISIBLE_DEVICES=all | |
| 33 | 34 | ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility | |
@@ -101,3 +102,6 @@ RUN pip install pycuda && \ | |||
| 101 | 102 | # Re-add TensorBoard Jupyter extension patch | |
| 102 | 103 | # b/139212522 re-enable TensorBoard once solution for slowdown is implemented. | |
| 103 | 104 | # ADD patches/tensorboard/notebook.py /opt/conda/lib/python3.7/site-packages/tensorboard/notebook.py | |
| 105 | + | ||
| 106 | + # Remove the CUDA stubs. | ||
| 107 | + ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH_NO_STUBS" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments