From e10b1095a36bc61e3028c2a561edf98344279a0f Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 19 Oct 2016 07:18:13 +0000 Subject: [PATCH] Deploy to GitHub Pages: 76fb74dc2e542bcaffb726bb137ff112b213f82c --- doc/_sources/build/docker_install.txt | 2 +- doc/build/docker_install.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/_sources/build/docker_install.txt b/doc/_sources/build/docker_install.txt index 542b9bac27..e95de35f4d 100644 --- a/doc/_sources/build/docker_install.txt +++ b/doc/_sources/build/docker_install.txt @@ -69,7 +69,7 @@ If you want to launch container with GPU support, you need to set some environme .. code-block:: bash - export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}" + export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}')" export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}') docker run ${CUDA_SO} ${DEVICES} -it paddledev/paddle:gpu-latest diff --git a/doc/build/docker_install.html b/doc/build/docker_install.html index 4d37c99847..40670bc0c8 100644 --- a/doc/build/docker_install.html +++ b/doc/build/docker_install.html @@ -147,9 +147,9 @@ var _hmt = _hmt || [];

If you want to launch container with GPU support, you need to set some environment variables at the same time:

-
export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}"
-export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}')
-docker run ${CUDA_SO} ${DEVICES} -it paddledev/paddle:gpu-latest
+
export CUDA_SO="$(\ls /usr/lib64/libcuda* | xargs -I{} echo '-v {}:{}') $(\ls /usr/lib64/libnvidia* | xargs -I{} echo '-v {}:{}')"
+export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}')
+docker run ${CUDA_SO} ${DEVICES} -it paddledev/paddle:gpu-latest
 
-- GitLab