@@ -16,6 +16,12 @@ PaddlePaddle must be installed on all nodes. If you have GPU cards on your nodes
PaddlePaddle build and installation guide can be found [here](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/index_en.html).
In addition to above, the `cmake` command should be run with the option `WITH_DISTRIBUTE` set to on. An example bare minimum `cmake` command would look as follows:
Please find the complete demo from [here](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/tests/book_distribute/notest_dist_fit_a_line.py). In parameter server node run the following in the command line:
Please find the complete demo from [here](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/tests/book_distribute/notest_dist_fit_a_line.py).
First `cd` into the folder that contains the `python` files. In this case:
```bash
cd /paddle/python/paddle/v2/fluid/tests/book_distribute
```
In parameter server node run the following in the command line:
<spanid="have-paddlepaddle-installed"></span><h3>Have PaddlePaddle installed<aclass="headerlink"href="#have-paddlepaddle-installed"title="Permalink to this headline">¶</a></h3>
<p>PaddlePaddle must be installed on all nodes. If you have GPU cards on your nodes, be sure to properly install drivers and CUDA libraries.</p>
<p>PaddlePaddle build and installation guide can be found <aclass="reference external"href="http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/index_en.html">here</a>.</p>
<p>In addition to above, the <codeclass="docutils literal"><spanclass="pre">cmake</span></code> command should be run with the option <codeclass="docutils literal"><spanclass="pre">WITH_DISTRIBUTE</span></code> set to on. An example bare minimum <codeclass="docutils literal"><spanclass="pre">cmake</span></code> command would look as follows:</p>
<spanid="update-the-training-script"></span><h3>Update the training script<aclass="headerlink"href="#update-the-training-script"title="Permalink to this headline">¶</a></h3>
...
...
@@ -319,7 +323,12 @@
</div>
<divclass="section"id="e2e-demo">
<spanid="e2e-demo"></span><h3>E2E demo<aclass="headerlink"href="#e2e-demo"title="Permalink to this headline">¶</a></h3>
<p>Please find the complete demo from <aclass="reference external"href="https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/tests/book_distribute/notest_dist_fit_a_line.py">here</a>. In parameter server node run the following in the command line:</p>
<p>Please find the complete demo from <aclass="reference external"href="https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/tests/book_distribute/notest_dist_fit_a_line.py">here</a>.
First <codeclass="docutils literal"><spanclass="pre">cd</span></code> into the folder that contains the <codeclass="docutils literal"><spanclass="pre">python</span></code> files. In this case:</p>