-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update index_en.rst #9400
update index_en.rst #9400
Conversation
|
|
||
TBD | ||
############################## | ||
compile, install and unit test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize this, please. It should be Compile, Install, and Unit Test
|
||
.. contents:: | ||
|
||
1. CUDA driver version is insufficient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be Insufficient CUDA driver version
1. CUDA driver version is insufficient | ||
---------------------------------------------------------------- | ||
|
||
Many users usually face the issue like `Cuda Error: CUDA driver version is insufficient for CUDA runtime version` when running the paddlepaddle GPU docker image.The cause is that you may not map the local CUDA driver to a container directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
face the issue -> face issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddlepaddle -> PaddlePaddle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put a space:
image.The cause is -> image. The cause is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker -> Docker
$ export DEVICES=$(\ls /dev/nvidia* | xargs -I{} echo '--device {}:{}') | ||
$ docker run ${CUDA_SO} ${DEVICES} -it paddlepaddle/paddle:latest-gpu | ||
|
||
For more infomation about docker's installation and usage, please refer to `PaddlePaddle Docker documentation <http://www.paddlepaddle.org/docs/0.11.0/documentation/zh/getstarted/build_and_install/docker_install_en.html>`_ . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker -> Docker
For more infomation about docker's installation and usage, please refer to `PaddlePaddle Docker documentation <http://www.paddlepaddle.org/docs/0.11.0/documentation/zh/getstarted/build_and_install/docker_install_en.html>`_ . | ||
|
||
|
||
2. The version mismatch between PythonLibs and PythonInterpr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be Version mismatch between PythonLibs and PythonInterpreter
2. The version mismatch between PythonLibs and PythonInterpr | ||
---------------------------------------------------------------- | ||
|
||
It is a common bug when CMake looks up python.If you install multiple versions of python, Cmake may find the version mismatch between PythonLibs and PythonInterpr . You are forced to specify a python version, as follows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be PythonInterpreter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put a space up python.If you -> up python. If you
|
||
You should specify ``<exc_path>``, ``<lib_path>``, ``<inc_path>`` to your local paths. | ||
|
||
3. The version of Paddle is 0.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be PaddlePaddle version is 0.0.0
4. paddlepaddle\*.whl is not a supported wheel on this platform. | ||
------------------------------------------------------------------------ | ||
|
||
The primary cause for this issue is that it can not find the correct paddlepaddle installation package that matches your current system.The latest paddlepaddle python installation package supports Linux x86_64 and MacOS 10.12 os including python2.7 and pip 9.0.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddlepaddle -> PaddlePaddle
|
||
5. ImportError: No module named v2 | ||
---------------------------------- | ||
please uninstall paddle v1 version if you have installed before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be
Please uninstall Paddle V1 if you have installed it before.
|
||
pip uninstall py_paddle paddle | ||
|
||
Then install python for PaddlePaddle , enter the build directory and run the following commands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the extra space:
python for PaddlePaddle , -> Python for PaddlePaddle,
|
||
The solution is: | ||
|
||
* Remove the old PaddlePaddle to make a clean environment for the unit tests. If the PaddlePaddle package is already in python's site-packages, unit tests would refer the python package in site-packages instead of the python package in the :code:`/python` directory of the source directory. Setting :code:`PYTHONPATH` to :code:`/python` is also useless because python's search path would give the priority to the installed python package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop the
Remove the old PaddlePaddle -> Remove old PaddlePaddle
If the PaddlePaddle package is already -> If PaddlePaddle package is already
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python -> Python
* Remove the old PaddlePaddle to make a clean environment for the unit tests. If the PaddlePaddle package is already in python's site-packages, unit tests would refer the python package in site-packages instead of the python package in the :code:`/python` directory of the source directory. Setting :code:`PYTHONPATH` to :code:`/python` is also useless because python's search path would give the priority to the installed python package. | ||
|
||
|
||
8. Fail to download the MKLML library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be:
Failed to download MKML library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fix #8922