Skip to content
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

Release v0.9.0 #484

Merged
merged 229 commits into from
Nov 29, 2016
Merged
Show file tree
Hide file tree
Changes from 227 commits
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@
# The document of clang-format is
# http://clang.llvm.org/docs/ClangFormat.html
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
#
# TODO(yuyang18): Add python and other language code style
---
Language: Cpp
BasedOnStyle: Google
IndentWidth: 2
TabWidth: 2
ContinuationIndentWidth: 4
AccessModifierOffset: -2 # The private/protected/public has no indent in class
PointerAlignment: Left # int* p/int& p, not int *p/int &p
Standard: Cpp11
AllowAllParametersOfDeclarationOnNextLine: true
BinPackParameters: false
BinPackArguments: false
...

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ build/
*.user

.vscode
.idea
.idea
.project
.cproject
.pydevproject
Makefile
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
sha: c25201a00e6b0514370501050cf2a8538ac12270
hooks:
- id: remove-crlf
- repo: https://github.com/reyoung/mirrors-yapf.git
sha: v0.13.2
hooks:
- id: yapf
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: 4ef03c4223ad322c7adaa6c6c0efb26b57df3b71
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: end-of-file-fixer
# TODO(yuyang): trailing whitespace has some bugs on markdown
# files now, please not add it to pre-commit hook now
# - id: trailing-whitespace
#
# TODO(yuyang): debug-statements not fit for Paddle, because
# not all of our python code is runnable. Some are used for
# documenation
# - id: debug-statements
3 changes: 3 additions & 0 deletions .style.yapf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[style]
based_on_style = pep8
column_limit = 80
25 changes: 23 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ language: cpp
cache: ccache
sudo: required
dist: trusty
os:
- linux
- osx
env:
- JOB=DOCS
- JOB=BUILD_AND_TEST
matrix:
exclude:
- os: osx
env: JOB=DOCS # Only generate documentation in linux

addons:
apt:
packages:
Expand All @@ -27,9 +35,22 @@ addons:
- libgoogle-glog-dev
- libgflags-dev
- libgtest-dev
- curl
- lcov
- graphviz
- swig
before_install:
- pip install wheel protobuf sphinx breathe recommonmark
- sudo paddle/scripts/travis/before_install.sh
- |
if [ ${JOB} == "BUILD_AND_TEST" ]; then
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)'
then
echo "Only markdown docs were updated, stopping build process."
exit
fi
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo paddle/scripts/travis/before_install.linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then paddle/scripts/travis/before_install.osx.sh; fi
- pip install wheel protobuf sphinx breathe recommonmark virtualenv numpy
script:
- paddle/scripts/travis/main.sh
notifications:
Expand Down
59 changes: 48 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ cmake_minimum_required(VERSION 2.8)

project(paddle CXX C)
set(PADDLE_MAJOR_VERSION 0)
set(PADDLE_MINOR_VERSION 8)
set(PADDLE_PATCH_VERSION 0b1)
set(PADDLE_MINOR_VERSION 9)
set(PADDLE_PATCH_VERSION 0)
set(PADDLE_VERSION ${PADDLE_MAJOR_VERSION}.${PADDLE_MINOR_VERSION}.${PADDLE_PATCH_VERSION})

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set(PROJ_ROOT ${CMAKE_SOURCE_DIR})
include(package)
include(swig)
find_package(SWIG 2.0)
find_package(CUDA QUIET)
find_package(Protobuf REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
Expand Down Expand Up @@ -40,6 +40,9 @@ option(WITH_TESTING "Compile and run unittest for PaddlePaddle" ${GTEST_FOUND})
option(WITH_DOC "Compile PaddlePaddle with documentation" OFF)
option(WITH_SWIG_PY "Compile PaddlePaddle with py PaddlePaddle prediction api" ${SWIG_FOUND})
option(ON_TRAVIS "Running test on travis-ci or not." OFF)
option(ON_COVERALLS "Generating code coverage data on coveralls or not." OFF)
option(COVERALLS_UPLOAD "Uploading the generated coveralls json." ON)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel"
Expand All @@ -49,11 +52,16 @@ endif()
include(enableCXX11)
include(cpplint)
include(ccache)
if(WITH_RDMA)
include(rdma)
endif()
include(util)
include(flags)
include(cudnn)
include(FindPythonModule)
include(check_packages)
include(swig)
include(coveralls)

# add PaddlePaddle version
if(DEFINED ENV{PADDLE_VERSION})
Expand All @@ -65,6 +73,19 @@ else()
Subversion_WC_INFO(${PROJ_ROOT} Project)
add_definitions(-DPADDLE_VERSION=${Project_WC_REVISION})
endif()
elseif(EXISTS ${PROJ_ROOT}/.git/)
find_package(Git REQUIRED)
execute_process(
COMMAND ${GIT_EXECUTABLE} log -1 --format=%H
WORKING_DIRECTORY ${PROJ_ROOT}
OUTPUT_VARIABLE GIT_SHA1
RESULT_VARIABLE GIT_RESULT
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
if(NOT ${GIT_RESULT})
add_definitions(-DPADDLE_VERSION=\"${GIT_SHA1}\")
else()
message(WARNING "Cannot add paddle version from git tag")
endif()
endif()
endif()

Expand All @@ -74,11 +95,24 @@ if(NOT WITH_GPU)
add_definitions(-DHPPL_STUB_FUNC)
list(APPEND CMAKE_CXX_SOURCE_FILE_EXTENSIONS cu)
else()
if(${CUDA_VERSION_MAJOR} GREATER 6)
if(COMPILER_SUPPORT_CXX11)
LIST(APPEND CUDA_NVCC_FLAGS -std=c++11)
endif()
endif()

# TODO(yuyang18): Change it to remove std=c++11 in cuda compile.
set(CUDA_PROPAGATE_HOST_FLAGS OFF)
if(NOT CUDNN_FOUND)
message(FATAL_ERROR "Paddle need cudnn to compile")
endif()
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} "-g -O3 --use_fast_math")

if(WITH_AVX)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} "-Xcompiler ${AVX_FLAG}")
else(WITH_AVX)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} "-Xcompiler ${SSE3_FLAG}")
endif(WITH_AVX)

if(WITH_DSO)
set(CUDA_LIBRARIES "")
Expand All @@ -91,7 +125,7 @@ else()
endif(NOT WITH_GPU)

if(WITH_DOUBLE)
add_definitions(-DPADDLE_TYPE_DOUBLE -DHPPL_TYPE_DOUBLE)
add_definitions(-DPADDLE_TYPE_DOUBLE)
set(ACCURACY double)
else(WITH_DOUBLE)
set(ACCURACY float)
Expand All @@ -102,11 +136,11 @@ if(NOT WITH_TIMER)
endif(NOT WITH_TIMER)

if(WITH_AVX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${AVX_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${AVX_FLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${AVX_FLAG}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${AVX_FLAG}")
else(WITH_AVX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse3")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SSE3_FLAG}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SSE3_FLAG}")
endif(WITH_AVX)

if(WITH_PYTHON)
Expand All @@ -116,12 +150,15 @@ else(WITH_PYTHON)
add_definitions(-DPADDLE_NO_PYTHON)
endif(WITH_PYTHON)

if(NOT WITH_RDMA)
add_definitions(-DPADDLE_DISABLE_RDMA)
endif()
if(WITH_RDMA)
include_directories("${RDMA_INC_DIR}")
else(WITH_RDMA)
add_definitions(-DPADDLE_DISABLE_RDMA)
endif(WITH_RDMA)

if(WITH_GLOG)
add_definitions(-DPADDLE_USE_GLOG)
include_directories(${LIBGLOG_INCLUDE_DIR})
endif()

if(WITH_GFLAGS)
Expand Down
14 changes: 14 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Thank you for contributing to PaddlePaddle. Submitting an issue is a great help for us.
Both Chinese and English issues are welcome.

It's hard to solve a problem when important details are missing.
Before submitting the issue, look over the following criteria before handing your request in.

- [ ] Was there a similar issue submitted or resolved before ? You could search issue in the github.
- [ ] Did you retrieve your issue from widespread search engines ?
- [ ] Is my description of the issue clear enough to reproduce this problem?
* If some errors occurred, we need details about `how do you run your code?`, `what system do you use?`, `Are you using GPU or not?`, etc.
* If you use an recording [asciinema](https://asciinema.org/) to show what you are doing to make it happen, that's awesome! We could help you solve the problem more quickly.
- [ ] Is my description of the issue use the github markdown correctly?
* Please use the proper markdown syntaxes for styling all forms of writing, e.g, source code, error information, etc.
* Check out [this page](https://guides.github.com/features/mastering-markdown/) to find out much more about markdown.
75 changes: 41 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,67 @@
# PaddlePaddle
[![Build Status](https://travis-ci.org/baidu/Paddle.svg?branch=master)](https://travis-ci.org/baidu/Paddle)

Welcome to the PaddlePaddle GitHub.

The software will be released on Sept. 30 with full documentation and installation support.
[![Build Status](https://travis-ci.org/baidu/Paddle.svg?branch=master)](https://travis-ci.org/baidu/Paddle)
[![Coverage Status](https://coveralls.io/repos/github/baidu/Paddle/badge.svg?branch=develop)](https://coveralls.io/github/baidu/Paddle?branch=develop)
[![Join the chat at https://gitter.im/PaddlePaddle/Deep_Learning](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/PaddlePaddle/Deep_Learning?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)

A pre-release version is available now for those who are eager to take a look.
Welcome to the PaddlePaddle GitHub.

PaddlePaddle (PArallel Distributed Deep LEarning) is an easy-to-use,
efficient, flexible and scalable deep learning platform, which is originally
developed by Baidu scientists and engineers for the purpose of applying deep
learning to many products at Baidu.

Our vision is to enable deep learning for everyone via PaddlePaddle.
Please refer to our [release announcement](https://github.com/baidu/Paddle/releases) to track the latest feature of PaddlePaddle.

## Features

- **Flexibility**

PaddlePaddle supports a wide range of neural network architectures and
optimization algorithms. It is easy to configure complex models such as
neural machine translation model with attention mechanism or complex memory
connection.
PaddlePaddle supports a wide range of neural network architectures and
optimization algorithms. It is easy to configure complex models such as
neural machine translation model with attention mechanism or complex memory
connection.

- **Efficiency**

In order to unleash the power of heterogeneous computing resource,
optimization occurs at different levels of PaddlePaddle, including
computing, memory, architecture and communication. The following are some
examples:
1. Optimized math operations through SSE/AVX intrinsics, BLAS libraries
(e.g. MKL, ATLAS, cuBLAS) or customized CPU/GPU kernels.
2. Highly optimized recurrent networks which can handle **variable-length**
sequence without padding.
3. Optimized local and distributed training for models with high dimensional
sparse data.
In order to unleash the power of heterogeneous computing resource,
optimization occurs at different levels of PaddlePaddle, including
computing, memory, architecture and communication. The following are some
examples:

- Optimized math operations through SSE/AVX intrinsics, BLAS libraries
(e.g. MKL, ATLAS, cuBLAS) or customized CPU/GPU kernels.
- Highly optimized recurrent networks which can handle **variable-length**
sequence without padding.
- Optimized local and distributed training for models with high dimensional
sparse data.

- **Scalability**

With PaddlePaddle, it is easy to use many CPUs/GPUs and machines to speed
up your training. PaddlePaddle can achieve high throughput and performance
via optimized communication.
With PaddlePaddle, it is easy to use many CPUs/GPUs and machines to speed
up your training. PaddlePaddle can achieve high throughput and performance
via optimized communication.

- **Connected to Products**

In addition, PaddlePaddle is also designed to be easily deployable. At Baidu,
PaddlePaddle has been deployed into products or service with a vast number
of users, including ad click-through rate (CTR) prediction, large-scale image
classification, optical character recognition(OCR), search ranking, computer
virus detection, recommendation, etc. It is widely utilized in products at
Baidu and it has achieved a significant impact. We hope you can also exploit
the capability of PaddlePaddle to make a huge impact for your product.
In addition, PaddlePaddle is also designed to be easily deployable. At Baidu,
PaddlePaddle has been deployed into products or service with a vast number
of users, including ad click-through rate (CTR) prediction, large-scale image
classification, optical character recognition(OCR), search ranking, computer
virus detection, recommendation, etc. It is widely utilized in products at
Baidu and it has achieved a significant impact. We hope you can also exploit
the capability of PaddlePaddle to make a huge impact for your product.

## Installation
See [Installation Guide](http://paddlepaddle.org/doc/build/) to install from pre-built package or build from the source code. (Note: The installation packages are still in pre-release state and your experience of installation may not be smooth.).

Check out the [Install Guide](http://paddlepaddle.org/doc/build/) to install from
pre-built packages (**docker image**, **deb package**) or
directly build on **Linux** and **Mac OS X** from the source code.

## Documentation
- [Chinese Documentation](http://paddlepaddle.org/doc_cn/) <br>
Both [English Docs](http://paddlepaddle.org/doc/) and [Chinese Docs](http://paddlepaddle.org/doc_cn/) are provided for our users and developers.

- [Quick Start](http://paddlepaddle.org/doc/demo/quick_start/index_en) <br>
You can follow the quick start tutorial to learn how use PaddlePaddle
Expand All @@ -81,9 +88,9 @@ See [Installation Guide](http://paddlepaddle.org/doc/build/) to install from pre
- [Source Code Documents](http://paddlepaddle.org/doc/source/) <br>

## Ask Questions

If you want to ask questions and discuss about methods and models, welcome
to send email to paddle-dev@baidu.com. Framework development discussions and
Please join the [**gitter chat**](https://gitter.im/PaddlePaddle/Deep_Learning) or send email to
**paddle-dev@baidu.com** to ask questions and talk about methods and models.
Framework development discussions and
bug reports are collected on [Issues](https://github.com/baidu/paddle/issues).

## Copyright and License
Expand Down
Loading