Skip to content

Release v0.9.0 #484

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

Merged
merged 229 commits into from
Nov 29, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
3ca5df0
Fix bug when only support AVX 2 (#150)
gangliao Sep 30, 2016
0276f15
add scripts to build ubuntu install package. (#132)
reyoung Sep 30, 2016
b52039b
some bug fix for sparse matrix (#133)
hedaoyuan Sep 30, 2016
2a0a539
Update build docs (#149)
gangliao Sep 30, 2016
b221509
[DOC CHANGE] Rerange Build docs & emphasize them in README.md (#151)
reyoung Sep 30, 2016
29c16e2
Update Readme (#153)
gangliao Oct 1, 2016
d8e2874
Fix CUDA_VERSION Comparsion (#165)
gangliao Oct 8, 2016
1c09e9d
Update readme (#155)
gangliao Oct 8, 2016
1c2ebe4
add interface and test of RecurrentGradientMachine (#156)
Zrachel Oct 8, 2016
db38043
bug fix for dataprovider for quick start inference (#168)
qingqing01 Oct 8, 2016
0ab3322
Support MAC OS Sierra (#169)
gangliao Oct 8, 2016
8a044d2
typo in image classification demo (#167)
stoneyang Oct 9, 2016
191fafe
support rectangle padding, stride, window and input for PoolProjectio…
qingqing01 Oct 9, 2016
9e11ca8
Use C++ 11 atomic_flag in MacOS as spin lock (#175)
gangliao Oct 10, 2016
86bb5ef
Read git sha1 when building Paddle, and add it to PADDLE_VERSION macro
QiJune Oct 10, 2016
199a6a4
add weight for cost layer interface (#177)
luotao1 Oct 10, 2016
9f244e4
Should not compile the two files if -DWITH_AVX=OFF. (#163)
bombhero Oct 10, 2016
3edc420
Add travis for osx (#189)
reyoung Oct 11, 2016
6f0d634
set MKL search path with intel64 (#188)
backyes Oct 11, 2016
e26f220
Mnist demo (#162)
Oct 12, 2016
43f7d7b
add interface and unittest for nce layer (#180)
luotao1 Oct 13, 2016
c2d418d
Merge internal changes (#198)
reyoung Oct 14, 2016
cebdb66
hierarchical rnn document, add new config example (#106)
luotao1 Oct 14, 2016
91df606
remove some copyfrom in AgentLayer and ExpandLayer, fix warning in se…
luotao1 Oct 14, 2016
c13bdb1
remove redundant HPPL_TYPE_DOUBLE (#200)
gangliao Oct 15, 2016
6d21ece
add cost_type constraint to weighted_cost interface (#206)
Zrachel Oct 17, 2016
4e43a59
remove unmerged internal documents (#205)
luotao1 Oct 17, 2016
e4952ca
Add FAQ (#128)
reyoung Oct 17, 2016
2f82d72
Fix bug in yield dictionary in DataProvider. (#197)
reyoung Oct 17, 2016
b22e50e
Update docker_instll.rst docker image name (#210)
emailweixu Oct 17, 2016
28bc05b
Fix sparse training for trainer_count=1 (#204)
emailweixu Oct 17, 2016
45280a0
Supplement doc for RNN (#214)
Zrachel Oct 18, 2016
58f896c
Speed up PyDP2, support numpy.float array (#207)
reyoung Oct 18, 2016
6bef839
fix bug in some different python environment (#220)
luotao1 Oct 18, 2016
76fb74d
Fix install_docker.rst and data_sources file open mode
reyoung Oct 19, 2016
e1f57bf
add base class for seqlastin/max/average layer (#187)
luotao1 Oct 19, 2016
e387cdb
Added Bidi-LSTM and DB-LSTM to quick_start demo (#226)
alvations Oct 21, 2016
ac383dd
add missing layer_attr (#234)
luotao1 Oct 24, 2016
e20ff3b
fix build bug in gcc46 (#236)
luotao1 Oct 24, 2016
e83950b
error in doc of quick_start (#228)
wen-bo-yang Oct 24, 2016
3dd8c9b
add maxout layer, including interface and unittest (#229)
luotao1 Oct 24, 2016
652b834
remove deprecated start input in img_pool_layer (#237)
luotao1 Oct 24, 2016
07b2e5d
Fix dataprovider converter for sparse data
Z-TAO Oct 24, 2016
9c5c38f
FIx check type unmatch in MaxOutLayer (#242)
gangliao Oct 25, 2016
d6944de
Sequence tagging demo (#225)
emailweixu Oct 26, 2016
d1d52bb
Update contribute_to_paddle.md (#248)
emailweixu Oct 26, 2016
46bd5f5
add input sparse data check for sparse layer at runtime (#247)
backyes Oct 26, 2016
cbe734b
Python trainer api (#193)
emailweixu Oct 27, 2016
45dca19
Change contribute to paddle to fit new branching model (#275)
reyoung Oct 28, 2016
0e1a22d
set test_period default value to 0 (#279)
backyes Oct 28, 2016
ca5a5ec
Make Paddle --save_dir support a directory name (#277)
luotao1 Oct 28, 2016
fc9ca53
fix interface bug of block_expand_layer and add unittest (#265)
luotao1 Oct 28, 2016
fa24cbd
Support empty Param Block in ParameterSever (#244)
backyes Oct 28, 2016
ddfff3a
Add bilinear interpolation layer
gangliao Oct 29, 2016
fd4eeaf
Merge conflict with maxout layer
gangliao Oct 30, 2016
460320a
fix type unmatch on gcc
gangliao Oct 30, 2016
212d339
Adding an introduction doc for Paddle to implement simplest linear re…
zhouxiao-coder Oct 31, 2016
6467c38
Add default cuda system path (#192)
gangliao Oct 31, 2016
12945b2
Add glog header path to include (#295)
backyes Oct 31, 2016
cdac60f
add SpatialPyramidPoolLayer c++ support
QiJune Nov 1, 2016
45c81a4
Add job=time in trainer, refine cudnn_conv to reduce gpu memory and s…
qingqing01 Nov 2, 2016
7180b42
Add some concepts documents to guide user for using paddle (#249)
reyoung Nov 2, 2016
fcf177f
reuse code of PoolProjection in PoolProjectionLayer
QiJune Nov 2, 2016
766a61c
fix conflict with baidu/develop
QiJune Nov 2, 2016
ee028bb
Add How to build docs (#312)
reyoung Nov 2, 2016
5acf136
Bug fix in CudnnConvLayer, which will lead to destruction error. (#317)
qingqing01 Nov 2, 2016
968464c
Fix a bug in testOnePeriod. (#322)
reyoung Nov 2, 2016
d412a5e
add user_arg to LayerConfig (#315)
Haichao-Zhang Nov 2, 2016
b282caf
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
QiJune Nov 3, 2016
9f9b4af
install the right python package version (#326)
emailweixu Nov 3, 2016
5f2059d
Add matrix inverse (#240)
lzhao4ever Nov 3, 2016
1de75c0
report error when use parallel_nn to train recurrent_nn model (#335)
hedaoyuan Nov 3, 2016
f6f80b9
install the right python package version (#340)
emailweixu Nov 4, 2016
ed83a1d
Fix minor errors in instructions of building Paddle on Mac OS X (#347)
wangkuiyi Nov 4, 2016
3424a4c
Fix bug and redundant code in hl_dso_loader.cc (#306)
gangliao Nov 4, 2016
33004ec
Fix glog check type unmatch in Util.cpp (#353)
gangliao Nov 4, 2016
3e2dc77
Add code coverage and coveralls (#296)
gangliao Nov 4, 2016
568d9cf
Add Issue template to guide user submit good issue (#354)
reyoung Nov 4, 2016
6c3a678
Add elementwise math operations (#343)
emailweixu Nov 4, 2016
36bda94
include mkl_lapacke.h (#359)
lzhao4ever Nov 5, 2016
8ff9aa3
Update ISSUE_TEMPLATE.md (#357)
gangliao Nov 5, 2016
744dba4
add rdma cmake support (#284)
backyes Nov 5, 2016
93e4d0c
using find_package for swig (#334)
backyes Nov 5, 2016
c64cd6f
Use diff to compare config unittest (#363)
wen-bo-yang Nov 7, 2016
e05f4ff
Fix SRL hang when exit. (#291)
reyoung Nov 7, 2016
5734880
Follow comments
gangliao Nov 7, 2016
bd38fac
Fix conflict
gangliao Nov 7, 2016
45b8c47
Add img_size for unit test
gangliao Nov 7, 2016
d373c10
Fix bilinear interp bug
gangliao Nov 7, 2016
6e12482
revert flags.cmake
gangliao Nov 7, 2016
724d6dd
Replace outputH to batchSize
gangliao Nov 7, 2016
91a4064
Follow comments
gangliao Nov 7, 2016
f9849ac
Revise one word in ISSUE_TEMPLATE.md (#371)
gangliao Nov 7, 2016
e802471
abstract outputSize function in CNN-related layers (#314)
luotao1 Nov 7, 2016
5a1e7db
Fix conflict
gangliao Nov 7, 2016
4905751
Add define for double getrf, getri (#381)
lzhao4ever Nov 7, 2016
ebad8e5
Add SumCost
Nov 4, 2016
38764bf
Add sum_cost to document
Nov 7, 2016
2e1d968
Remove Mac OS X build docs (#386)
gangliao Nov 8, 2016
5ece5c9
add python wrap for sppLayer
QiJune Nov 8, 2016
098e7ca
Cancelling Travis build with docs updates only. (#372)
gangliao Nov 8, 2016
8b5cb29
fix deadlink in Chinese quick start doc. (#389)
qingqing01 Nov 8, 2016
a275fe9
add python-related unittest problem in faq document (#377)
luotao1 Nov 8, 2016
56b23d1
Fix macOS quick start preprocess script. (#390)
reyoung Nov 8, 2016
a07da94
fix floating-point overflow problem of tanh (#355)
hedaoyuan Nov 8, 2016
f06f4df
py_paddle link zlib(#393)
backyes Nov 8, 2016
db569f2
fix merge conflict
QiJune Nov 8, 2016
57bc623
enable swig unittest in travis-ci (#394)
reyoung Nov 8, 2016
125c19a
fix some nvcc compile options (#392)
hedaoyuan Nov 8, 2016
db17575
Follow comments
gangliao Nov 8, 2016
cc04a7d
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
gangliao Nov 8, 2016
65af9f9
modify the format of diff information in protostr (#398)
luotao1 Nov 8, 2016
7f6e9ac
Fix minior bug
gangliao Nov 8, 2016
e2c0713
follow comments
QiJune Nov 8, 2016
3553576
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
QiJune Nov 8, 2016
0c7ac3d
Fix Travis Ci does not build when push patches (#399)
gangliao Nov 8, 2016
bdc9d10
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
QiJune Nov 8, 2016
70e0468
add getSize method for PoolProjection
QiJune Nov 8, 2016
8c40bfd
Make matrix well-conditioned when unittest inverse
Nov 7, 2016
992ac8f
Implement setDiag() with BaseMatrix::assign()
Nov 8, 2016
bc2b521
Follow comments
gangliao Nov 9, 2016
fd94e6a
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
gangliao Nov 9, 2016
eaf3dec
follow comments
QiJune Nov 9, 2016
14ba68f
Update FindAVX.cmake (#404)
gangliao Nov 9, 2016
e6c83f4
some tiny fixs (#406)
luotao1 Nov 9, 2016
bd50f93
[Work in Progress] Update cluster_train.md (#391)
wangkuiyi Nov 9, 2016
05204af
Fix memory leak in image classification demo, which is caused by data…
qingqing01 Nov 9, 2016
0519cc6
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
gangliao Nov 9, 2016
93dc44c
Update
gangliao Nov 9, 2016
4dada9c
Delelte old protostr
gangliao Nov 9, 2016
c8091ad
Follow comments
gangliao Nov 9, 2016
dfbde28
add some code comments for SppLayer
QiJune Nov 9, 2016
f173341
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
QiJune Nov 9, 2016
1c9f6f7
Update
gangliao Nov 9, 2016
65b8bb2
Fix a bug
gangliao Nov 9, 2016
5c88f07
initial take on deconv layers
Oct 21, 2016
70e4473
added convTrans test and python components
Oct 25, 2016
bda259b
added more test on convTrans layer and comments
Oct 26, 2016
aa2cd2c
Refactor ExpandConvTransLayer to share codes with ExpandConvLayer
Nov 1, 2016
2575b74
refactored ExpandConvLayer and ExpandConvTransLayer with ConvBaseLaye…
Nov 1, 2016
e68b50a
fixed a bug in refactoring ExpandConv/TransLayer
Nov 1, 2016
5fff96f
add another small test in test_LayerGrad for convTransLayer
Nov 2, 2016
5e4cc24
Revised deconv implementations according to luotao1
Nov 2, 2016
3d72e94
rebase deconv implementation with develop branch and resolve conflict…
Nov 2, 2016
fb20187
deconv layer implementation modification following luotao1 comments
Nov 3, 2016
d116b17
fix a small bug in ConvTransLayerBase in config_parser.py
Nov 4, 2016
7a322df
deconv implementation mionr changes in ConvBaseLayer.cpp and config_p…
Nov 4, 2016
03f4b1d
minor changes on deconv per luotao1 comments
Nov 7, 2016
53e1629
Refactored imageSize in ConvBaseLayer to MathUtil
Nov 8, 2016
4491209
minor change to convTransLayer test in test_LayerGrad
Nov 8, 2016
af7a50c
minor changes on deconv implementation and add protostr test for deco…
Nov 9, 2016
1c58e27
fixed a bug in parse_conv in config_parser.py
Nov 9, 2016
5ccf84a
Merge pull request #383 from lzhao4ever/fix_matrix_inverse
emailweixu Nov 9, 2016
9ff0db3
Generate bilinear protostr via Linux
gangliao Nov 10, 2016
8d4c453
set mixedlayer output size according to input operator (#414)
Nov 10, 2016
880774d
change the act.name for LinearActivation() to "linear" so that it won't
Nov 10, 2016
61444d9
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
QiJune Nov 10, 2016
f27ff4d
Revise code
gangliao Nov 10, 2016
a45e6c9
use yapf to format python code, add style config file
QiJune Nov 10, 2016
cfc965d
Merge pull request #269 from wangyang59/deconv
qingqing01 Nov 10, 2016
8295eb9
Merge pull request #287 from gangliao/bilinear
gangliao Nov 10, 2016
9dd588b
fix merge conflicts
QiJune Nov 10, 2016
64b7561
Add checkout name for Dockerfile
reyoung Nov 10, 2016
36fa251
'*' operator overload for LayerOutput
Nov 10, 2016
45f6e1a
change hlactivetype instead of act.name
Nov 11, 2016
a276684
Merge pull request #429 from emailweixu/math_mul
Nov 11, 2016
eb3bf9e
Merge pull request #360 from emailweixu/sum_cost
luotao1 Nov 11, 2016
ebb153b
Merge pull request #416 from yu239/hl_activetype
Nov 11, 2016
aa560db
fix bug in sum_cost
luotao1 Nov 11, 2016
c8da3f4
Merge pull request #433 from luotao1/bug
reyoung Nov 11, 2016
ca0bb40
Merge pull request #300 from QiJune/feature/sppnet
luotao1 Nov 11, 2016
62c5389
fix test_layerHelpers unittest error
QiJune Nov 11, 2016
b3bcc52
change python code style to pep8
QiJune Nov 11, 2016
3fc338a
Merge pull request #437 from QiJune/feature/sppnet
reyoung Nov 11, 2016
33b8164
Fix bug in multple objects in define_py_sources
reyoung Nov 11, 2016
ae7452f
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_py…
reyoung Nov 11, 2016
afba3a2
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_py…
reyoung Nov 11, 2016
4607d51
Add unittest for split datasource
reyoung Nov 11, 2016
904a43b
Merge pull request #440 from reyoung/feature/fix_pydataprovider_multi…
QiJune Nov 11, 2016
818c81f
Merge pull request #428 from reyoung/feature/add_check_env_for_docker
reyoung Nov 11, 2016
ef5e483
Merge pull request #422 from QiJune/feature/py_format_tool
reyoung Nov 11, 2016
069d000
multi_binary_cross_entropy when ids vector is provided
Nov 4, 2016
728defb
copy the data when createSparseMatrix
Nov 12, 2016
319742c
format python code in demo, doc, doc_cn and paddle directories
QiJune Nov 12, 2016
a1ba3f4
format python code in python directory
QiJune Nov 12, 2016
58e1b3b
Merge pull request #446 from QiJune/format_py_code_2nd
reyoung Nov 12, 2016
5591292
modifications according to comments
Nov 12, 2016
19d8146
Merge pull request #358 from yu239/multi_binary_cross_entropy
emailweixu Nov 12, 2016
b87427b
Merge pull request #445 from QiJune/format_py_code_1st
reyoung Nov 12, 2016
f2392ad
Add pre-commit config file.
reyoung Nov 12, 2016
836d613
Update pre-commit-config
reyoung Nov 12, 2016
48ea047
Bug fix in testing mode.
qingqing01 Nov 13, 2016
805856a
Merge pull request #452 from qingqing01/bug_fix_concat
reyoung Nov 13, 2016
07af31f
Refine clang-format for Paddle style
reyoung Nov 13, 2016
ae059ff
fix url of sub-pages
AoZhang Nov 14, 2016
cc5adfb
added resnet lstm architecture from GNMT
alvations Nov 14, 2016
44e3a35
Merge pull request #455 from alvations/develop
qingqing01 Nov 14, 2016
35c175d
Merge pull request #453 from AoZhang/develop
luotao1 Nov 14, 2016
e6396a1
modify document directory structure in model config helpers
luotao1 Nov 14, 2016
a0bd895
Merge pull request #463 from luotao1/doc2
luotao1 Nov 14, 2016
14f7390
Revert "fix url of sub-pages"
luotao1 Nov 14, 2016
0ba0f02
Merge pull request #464 from baidu/revert-453-develop
qingqing01 Nov 14, 2016
bf6f690
Add ScalingProjection
Nov 8, 2016
a6ad9a1
Fix unittest
Nov 11, 2016
2b841ec
Merge pull request #421 from emailweixu/scaling_projection
luotao1 Nov 15, 2016
9115ab1
Merge pull request #450 from reyoung/feature/pre-commit-hooks-scripts
reyoung Nov 15, 2016
f702484
Fix forwardTest for ids in python swig.
reyoung Nov 15, 2016
1f91c2f
Merge pull request #471 from reyoung/feature/fix_pypaddle_forword_ids
gangliao Nov 15, 2016
243a9a0
Bumping up version number to v0.9.0a0
reyoung Nov 15, 2016
82fafb7
Merge pull request #473 from reyoung/bumping_up_version_number
hedaoyuan Nov 15, 2016
c60f57b
Fix some problems in Debian build scripts.
reyoung Nov 15, 2016
4705083
Update dockerfile tags
reyoung Nov 15, 2016
c7641cc
Merge pull request #476 from reyoung/release/v0.9.0
gangliao Nov 15, 2016
3b5336a
Merge branch 'master' into release/v0.9.0
reyoung Nov 16, 2016
5b1ba87
Add version check for paddle
reyoung Nov 17, 2016
7b1d3c7
Refine ver2num function, add comments
reyoung Nov 17, 2016
6146a2e
Merge pull request #505 from reyoung/release/v0.9.0
qingqing01 Nov 17, 2016
39af2ba
Fix Debian package name in ubuntu install docs.
reyoung Nov 21, 2016
c9c60a1
Change demo datafile location by using CDN in baidu.
reyoung Nov 21, 2016
75553e2
Merge pull request #544 from reyoung/fix_deb_install_name
beckett1124 Nov 21, 2016
99c205b
Merge branch 'release/v0.9.0' into change_download_to_cdn
reyoung Nov 21, 2016
f3d816d
Merge pull request #545 from reyoung/change_download_to_cdn
reyoung Nov 22, 2016
68c5997
merge bugfix #593 and # 597 from develop branch
luotao1 Nov 25, 2016
5c76b26
Merge pull request #614 from luotao1/release/v0.9.0
qingqing01 Nov 25, 2016
341688b
Bumping up version number
reyoung Nov 25, 2016
9935d7d
Add Release notes
reyoung Nov 28, 2016
5b233fa
Merge pull request #619 from reyoung/release/v0.9.0
gangliao Nov 28, 2016
d118609
Refine documentation in RELEASE.md
reyoung Nov 29, 2016
0ad33b5
Merge pull request #652 from reyoung/release/v0.9.0
reyoung Nov 29, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[DOC CHANGE] Rerange Build docs & emphasize them in README.md (#151)
* Rerange Build docs & emphasize them in README.md

* Rerange Build docs & emphasize them in README.md
  • Loading branch information
reyoung authored and gangliao committed Sep 30, 2016
commit b221509695f2181714b3b68fa35c1d200d795a06
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

Welcome to the PaddlePaddle GitHub.

The software will be released on Sept. 30 with full documentation and installation support.
Do you wanna try and play PaddlePaddle? Just following the [Install Guide](http://www.paddlepaddle.org/doc/build/index.html) and [Quick Start](http://www.paddlepaddle.org/doc/demo/quick_start/index_en.html). The chinese version is [Install Guide](http://www.paddlepaddle.org/doc_cn/build_and_install/index.html) and [Quick Start](http://www.paddlepaddle.org/doc_cn/demo/quick_start/index.html).

A pre-release version is available now for those who are eager to take a look.
Please refer to our [release log](https://github.com/baidu/Paddle/releases) to track the latest feature of PaddlePaddle.

PaddlePaddle (PArallel Distributed Deep LEarning) is an easy-to-use,
efficient, flexible and scalable deep learning platform, which is originally
Expand Down
91 changes: 0 additions & 91 deletions doc/build/docker_install.md

This file was deleted.

122 changes: 122 additions & 0 deletions doc/build/docker_install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
Docker installation guide
==========================

PaddlePaddle provide the `Docker <https://www.docker.com/>`_ image. `Docker`_ is a lightweight container utilities. The performance of PaddlePaddle in `Docker`_ container is basically as same as run it in a normal linux. The `Docker`_ is a very convenient way to deliver the binary release for linux programs.

.. note::

The `Docker`_ image is the recommended way to run PaddlePaddle

PaddlePaddle Docker images
--------------------------

There are 12 `images <https://hub.docker.com/r/paddledev/paddle/tags/>`_ for PaddlePaddle, and the name is :code:`paddle-dev/paddle`, tags are\:


+-----------------+------------------+------------------------+-----------------------+
| | normal | devel | demo |
+=================+==================+========================+=======================+
| CPU | cpu-latest | cpu-devel-latest | cpu-demo-latest |
+-----------------+------------------+------------------------+-----------------------+
| GPU | gpu-latest | gpu-devel-latest | gpu-demo-latest |
+-----------------+------------------+------------------------+-----------------------+
| CPU WITHOUT AVX | cpu-noavx-latest | cpu-devel-noavx-latest | cpu-demo-noavx-latest |
+-----------------+------------------+------------------------+-----------------------+
| GPU WITHOUT AVX | gpu-noavx-latest | gpu-devel-noavx-latest | gpu-demo-noavx-latest |
+-----------------+------------------+------------------------+-----------------------+

And the three columns are:

* normal\: The docker image only contains binary of PaddlePaddle.
* devel\: The docker image contains PaddlePaddle binary, source code and essential build environment.
* demo\: The docker image contains the dependencies to run PaddlePaddle demo.

And the four rows are:

* CPU\: CPU Version. Support CPU which has :code:`AVX` instructions.
* GPU\: GPU Version. Support GPU, and cpu has :code:`AVX` instructions.
* CPU WITHOUT AVX\: CPU Version, which support most CPU even doesn't have :code:`AVX` instructions.
* GPU WITHOUT AVX\: GPU Version, which support most CPU even doesn't have :code:`AVX` instructions.

User can choose any version depends on machine. The following script can help you to detect your CPU support :code:`AVX` or not.

.. code-block:: bash

if cat /proc/cpuinfo | grep -q avx ; then echo "Support AVX"; else echo "Not support AVX"; fi

If the output is :code:`Support AVX`, then you can choose the AVX version of PaddlePaddle, otherwise, you need select :code:`noavx` version of PaddlePaddle. For example, the CPU develop version of PaddlePaddle is :code:`paddle-dev/paddle:cpu-devel-latest`.

The PaddlePaddle images don't contain any entry command. You need to write your entry command to use this image. See :code:`Remote Access` part or just use following command to run a :code:`bash`

.. code-block:: bash

docker run -it paddledev/paddle:cpu-latest /bin/bash


Download and Run Docker images
------------------------------

You have to install Docker in your machine which has linux kernel version 3.10+ first. You can refer to the official guide https://docs.docker.com/engine/installation/ for further information.

You can use :code:`docker pull ` to download images first, or just launch a container with :code:`docker run` \:

.. code-block:: bash

docker run -it paddledev/paddle:cpu-latest


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

.. code-block:: bash

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


Some notes for docker
---------------------

Performance
+++++++++++

Since Docker is based on the lightweight virtual containers, the CPU computing performance maintains well. And GPU driver and equipments are all mapped to the container, so the GPU computing performance would not be seriously affected.

If you use high performance nic, such as RDMA(RoCE 40GbE or IB 56GbE), Ethernet(10GbE), it is recommended to use config "-net = host".




Remote access
+++++++++++++


If you want to enable ssh access background, you need to build an image by yourself. Please refer to official guide https://docs.docker.com/engine/reference/builder/ for further information.

Following is a simple Dockerfile with ssh:

.. literalinclude:: ../../doc_cn/build_and_install/install/paddle_ssh.Dockerfile

Then you can build an image with Dockerfile and launch a container:

.. code-block:: bash

# cd into Dockerfile directory
docker build . -t paddle_ssh
# run container, and map host machine port 8022 to container port 22
docker run -d -p 8022:22 --name paddle_ssh_machine paddle_ssh

Now, you can ssh on port 8022 to access the container, username is root, password is also root:

.. code-block:: bash

ssh -p 8022 root@YOUR_HOST_MACHINE

You can stop and delete the container as following:

.. code-block:: bash

# stop
docker stop paddle_ssh_machine
# delete
docker rm paddle_ssh_machine
23 changes: 8 additions & 15 deletions doc/build/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,24 @@ Install PaddlePaddle

install_*
internal/install_from_jumbo.md
docker_install.rst
ubuntu_install.rst

Build from Source
-----------------

If you want to hack and contribute PaddlePaddle source code, following guides can help you\:
.. warning::

.. toctree::
:maxdepth: 1
:glob:
Please use :code:`deb` package or :code:`docker` image to install paddle. The building guide is used for hacking or contributing to PaddlePaddle.


build_from_source.md
contribute_to_paddle.md

Docker and Debian Package installation
--------------------------------------

Note: The installation packages are still in pre-release
state and your experience of installation may not be smooth.
If you want to hack and contribute PaddlePaddle source code, following guides can help you\:

If you want to pack docker image, the following guide can help you\:

.. toctree::
:maxdepth: 1
:glob:

docker_install.md
ubuntu_install.md
build_from_source.md
contribute_to_paddle.md

21 changes: 0 additions & 21 deletions doc/build/ubuntu_install.md

This file was deleted.

25 changes: 25 additions & 0 deletions doc/build/ubuntu_install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Debian Package installation guide
=================================

PaddlePaddle supports :code:`deb` pacakge. The installation of this :code:`deb` package is tested in ubuntu 14.04, but it should be support other debian based linux, too.

There are four versions of debian package, :code:`cpu`, :code:`gpu`, :code:`cpu-noavx`, :code:`gpu-noavx`. And :code:`noavx` version is used to support CPU which does not contain :code:`AVX` instructions. The download url of :code:`deb` package is \: https://github.com/baidu/Paddle/releases/


After downloading PaddlePaddle deb packages, you can use :code:`gdebi` install.

.. code-block:: bash

gdebi paddle-*.deb

If :code:`gdebi` is not installed, you can use :code:`sudo apt-get install gdebi` to install it.

Or you can use following commands to install PaddlePaddle.

.. code-block:: bash

dpkg -i paddle-*.deb
apt-get install -f

And if you use GPU version deb package, you need to install CUDA toolkit and cuDNN, and set related environment variables(such as LD_LIBRARY_PATH) first. It is normal when `dpkg -i` get errors. `apt-get install -f` will continue install paddle, and install dependences.

25 changes: 19 additions & 6 deletions doc_cn/build_and_install/index.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
编译与安装
========================

PaddlePaddle提供数个预编译的二进制来进行安装,包括Docker镜像,ubuntu的deb安装包等。我们推荐使用Docker镜像来部署环境,同时欢迎贡献更多的安装包。

Note: The intallation packages are still in pre-release state and your experience of installation may not be smooth.
安装
++++

注意:目前PaddlePaddle的安装包还处在pre-release的状态,使用起来或许会不是很顺畅
PaddlePaddle提供数个预编译的二进制来进行安装,包括Docker镜像,ubuntu的deb安装包等。我们推荐使用Docker镜像来部署环境,同时欢迎贡献更多的安装包

.. toctree::
:maxdepth: 1
:glob:

源码下载(对内) <../build/internal/download_paddle_source_zh_cn.rst>
使用Jumbo安装(对内) <../build/internal/install_from_jumbo.rst>
从源码编译安装(对内) <../build/internal/build_from_source_zh_cn.rst>
install/docker_install.rst
install/ubuntu_install.rst



编译
++++

.. warning::

编译选项主要推荐高级用户查看,普通用户请走安装流程。

.. toctree::
:maxdepth: 1
:glob:

源码下载(对内) <../build/internal/download_paddle_source_zh_cn.rst>
从源码编译安装(对内) <../build/internal/build_from_source_zh_cn.rst>
cmake/index.rst
Loading