提交 fa864cb1 编写于 作者: T Travis CI

Deploy to GitHub Pages: 08e9bfa8

上级 0cf46c86
......@@ -3,30 +3,54 @@
.. _install_steps:
安装流程
++++++++
PaddlePaddle针对不同的用户群体提供了多种安装方式。
PaddlePaddle提供pip和Docker的安装方式:
专注深度学习模型开发
-----------------
PaddlePaddle提供了多种python wheel包,可通过pip一键安装:
.. toctree::
:maxdepth: 1
pip_install_cn.rst
这是最便捷的安装方式,请根据机器配置和系统选择对应的安装包。
关注底层框架
----------
PaddlePaddle提供了基于Docker的安装方式,请参照以下教程:
.. toctree::
:maxdepth: 1
:maxdepth: 1
pip_install_cn.rst
docker_install_cn.rst
docker_install_cn.rst
编译流程
++++++++
我们推荐在Docker中运行PaddlePaddle,该方式具有以下优势:
.. warning::
- 无需单独安装第三方依赖
- 方便分享运行时环境,易于问题的复现
建议直接使用上述安装流程,方便快速安装。只有在遇到需要独立定制的二进制时才需要编译。
对于有定制化二进制文件需求的用户,我们同样提供了从源码编译安装PaddlePaddle的方法:
.. toctree::
.. toctree::
:maxdepth: 1
build_from_source_cn.rst
常见问题解答
++++++++++
.. warning::
需要提醒的是,这种安装方式会涉及到一些第三方库的下载、编译及安装,整个安装过程耗时较长。
常见问题汇总
-----------
如果在安装过程中遇到了问题,请先尝试在下面的页面寻找答案:
:ref:`常见问题解答 <install_faq>`
如果问题没有得到解决,欢迎向PaddlePaddle社区反馈问题:
`常见问题解答 <http://www.paddlepaddle.org/docs/develop/documentation/zh/faq/build_and_install/index_cn.html>`_
`创建issue <https://github.com/PaddlePaddle/Paddle/issues/new>`_
.. _install_faq:
###################
编译安装与单元测试
###################
......
......@@ -200,31 +200,47 @@
<div class="section" id="id1">
<h1>安装与编译<a class="headerlink" href="#id1" title="永久链接至标题"></a></h1>
<div class="section" id="install-steps">
<span id="id2"></span><h2>安装流程<a class="headerlink" href="#install-steps" title="永久链接至标题"></a></h2>
<p>PaddlePaddle提供pip和Docker的安装方式:</p>
<p id="install-steps">PaddlePaddle针对不同的用户群体提供了多种安装方式。</p>
<div class="section" id="id2">
<h2>专注深度学习模型开发<a class="headerlink" href="#id2" title="永久链接至标题"></a></h2>
<p>PaddlePaddle提供了多种python wheel包,可通过pip一键安装:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="pip_install_cn.html">使用pip安装</a></li>
<li class="toctree-l1"><a class="reference internal" href="docker_install_cn.html">使用Docker安装运行</a></li>
</ul>
</div>
<p>这是最便捷的安装方式,请根据机器配置和系统选择对应的安装包。</p>
</div>
<div class="section" id="id3">
<h2>编译流程<a class="headerlink" href="#id3" title="永久链接至标题"></a></h2>
<div class="admonition warning">
<p class="first admonition-title">警告</p>
<p class="last">建议直接使用上述安装流程,方便快速安装。只有在遇到需要独立定制的二进制时才需要编译。</p>
<h2>关注底层框架<a class="headerlink" href="#id3" title="永久链接至标题"></a></h2>
<p>PaddlePaddle提供了基于Docker的安装方式,请参照以下教程:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="docker_install_cn.html">使用Docker安装运行</a></li>
</ul>
</div>
<p>我们推荐在Docker中运行PaddlePaddle,该方式具有以下优势:</p>
<ul class="simple">
<li>无需单独安装第三方依赖</li>
<li>方便分享运行时环境,易于问题的复现</li>
</ul>
<p>对于有定制化二进制文件需求的用户,我们同样提供了从源码编译安装PaddlePaddle的方法:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="build_from_source_cn.html">从源码编译</a></li>
</ul>
</div>
<div class="admonition warning">
<p class="first admonition-title">警告</p>
<p class="last">需要提醒的是,这种安装方式会涉及到一些第三方库的下载、编译及安装,整个安装过程耗时较长。</p>
</div>
</div>
<div class="section" id="id4">
<h2>常见问题解答<a class="headerlink" href="#id4" title="永久链接至标题"></a></h2>
<p><a class="reference external" href="http://www.paddlepaddle.org/docs/develop/documentation/zh/faq/build_and_install/index_cn.html">常见问题解答</a></p>
<h2>常见问题汇总<a class="headerlink" href="#id4" title="永久链接至标题"></a></h2>
<p>如果在安装过程中遇到了问题,请先尝试在下面的页面寻找答案:</p>
<p><a class="reference internal" href="../faq/build_and_install/index_cn.html#install-faq"><span class="std std-ref">常见问题解答</span></a></p>
<p>如果问题没有得到解决,欢迎向PaddlePaddle社区反馈问题:</p>
<p><a class="reference external" href="https://github.com/PaddlePaddle/Paddle/issues/new">创建issue</a></p>
</div>
</div>
......
......@@ -201,12 +201,12 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="id1">
<h1><a class="toc-backref" href="#id2">编译安装与单元测试</a><a class="headerlink" href="#id1" title="永久链接至标题"></a></h1>
<div class="section" id="install-faq">
<span id="id1"></span><h1><a class="toc-backref" href="#id2">编译安装与单元测试</a><a class="headerlink" href="#install-faq" title="永久链接至标题"></a></h1>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
<li><a class="reference internal" href="#id1" id="id2">编译安装与单元测试</a><ul>
<li><a class="reference internal" href="#install-faq" id="id2">编译安装与单元测试</a><ul>
<li><a class="reference internal" href="#docker-gpu-cuda-driver-version-is-insufficient" id="id3">1. 运行Docker GPU镜像出现 &#8220;CUDA driver version is insufficient&#8221;</a></li>
<li><a class="reference internal" href="#cmake-pythonlibspythoninterp" id="id4">2. CMake源码编译, 找到的PythonLibs和PythonInterp版本不一致</a></li>
<li><a class="reference internal" href="#cmake-paddle0-0-0" id="id5">3. CMake源码编译,Paddle版本号为0.0.0</a></li>
......
......@@ -218,7 +218,7 @@
</pre></div>
</div>
</div></blockquote>
<p>更详细的安装和编译方法参考:<a class="reference internal" href="../build_and_install/index_cn.html#install-steps"><span class="std std-ref">安装流程</span></a></p>
<p>更详细的安装和编译方法参考:<span class="xref std std-ref">install_steps</span></p>
</div>
<div class="section" id="id3">
<h2>快速使用<a class="headerlink" href="#id3" title="永久链接至标题"></a></h2>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册