[Done] Upgrade CUDA 8.0 in Docker#1699
Merged
Merged
Conversation
Contributor
|
@gangliao 驱动的问题可以先试试nvidia-docker,如果nvidia-docker也不行的话,应该是我们编译/镜像的问题。如果可以,估计是运行方法的问题。 |
Contributor
|
我做了如下命令: sudo rm -rf build third_party
docker build --no-cache -t paddle-cuda-8-new .
docker run -v $PWD:/paddle -e "WITH_GPU=ON" -e "WITH_AVX=ON" paddle-cuda-8-new
docker build -t paddle-cuda-8 -f build/Dockerfile .
nvidia-docker run -it --entrypoint bash paddle-cuda-8仍然有 git HEAD是最新的,在 git diff: @gangliao 能否再看一下/按我贴上来的的命令也试一下? |
typhoonzero
approved these changes
Mar 27, 2017
Contributor
typhoonzero
left a comment
There was a problem hiding this comment.
LGTM.应该是没问题了,暂时没有安装了cuda8的机器,在7.5的机器运行会输出:nvidia-docker | 2017/03/27 13:47:47 Error: unsupported CUDA version: driver 7.5 < image 8.0.61 说明已经正确识别了驱动了。
Contributor
Author
|
@helinwang @typhoonzero 可以访问试试 nvidia-docker run -it --entrypoint bash paddle-cuda-8-gang |
helinwang
requested changes
Mar 27, 2017
Contributor
helinwang
left a comment
There was a problem hiding this comment.
我这里试了一下,还需要改一下cmake/cudnn.cmake:
diff --git a/cmake/cudnn.cmake b/cmake/cudnn.cmake
index e5b59be..c31f6c5 100644
--- a/cmake/cudnn.cmake
+++ b/cmake/cudnn.cmake
@@ -11,6 +11,7 @@ list(APPEND CUDNN_CHECK_LIBRARY_DIRS
${CUDNN_ROOT}
${CUDNN_ROOT}/lib64
${CUDNN_ROOT}/lib
+ ${CUDNN_ROOT}/lib/x86_64-linux-gnu
$ENV{CUDNN_ROOT}
$ENV{CUDNN_ROOT}/lib64
$ENV{CUDNN_ROOT}/lib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #1695