Liu Yiqun
9dccdd77a1
Add c-api interface, paddle_gradient_machine_create_for_inference_with_parameters,
...
to create a gradient machine for inference using merged model with parameters
which is genearted by `paddle merge_model`.
8 years ago
qiaolongfei
3df8ee1ff7
use lib-python as python test dir
8 years ago
qiaolongfei
c304e02813
fix py_padde test
8 years ago
liaogang
7a56d46a8a
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_BINARY_DIR
8 years ago
qiaolongfei
e2ccbccb02
support python test without installation python package
8 years ago
fengjiayi
501da57fb8
Merge pull request #3316 from wangkuiyi/remove_wget_progress_info
...
Remove wget progress info from downloading MKLML
8 years ago
Yi Wang
d777ac52bc
Simplify MKLML download command
8 years ago
Yi Wang
4b321446dc
Remove wget progress info from downloading MKLML
8 years ago
Yi Wang
af2040bc7e
Change git tag of any
8 years ago
gangliao
50fe7abef4
Merge pull request #3295 from gangliao/cpplint_new
...
enhance cpplint cmake
8 years ago
Yi Wang
953c51f588
Merge pull request #3282 from wangkuiyi/eigen_warning
...
Add --expt-relaxed-constexpr to surppress Eigen warnings
8 years ago
gangliao
ec2c753c3d
Merge pull request #3290 from PaddlePaddle/cblas_new
...
Import HPC linear algebra libs as cblas target for cc_library deps
8 years ago
liaogang
3ce497ca5a
enhance cpplint cmake
8 years ago
Yi Wang
498e9de405
Merge pull request #3286 from wangkuiyi/fix_any
...
Use PaddlePaddle fork of any
8 years ago
Yi Wang
5ceb7d12d6
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into eigen_warning
8 years ago
liaogang
7ecdf6ad93
Add py_test
8 years ago
qijun
b36f3ae761
follow comments and add flags in cuda 8.0
8 years ago
liaogang
2f9c443be3
fix name typo
8 years ago
liaogang
47c0116653
Import HPC linear algebra libs as cblas target
8 years ago
Tao Luo
fd64369f30
Merge pull request #3244 from tensor-tang/issue3232
...
remove global linker and exe from mkldnn iomp
8 years ago
Yi Wang
f6f312418d
Move --expt-relaxed-constexpt as a NVCC flag
8 years ago
Yi Wang
0c2f472ca4
Use PaddlePaddle fork of any
8 years ago
Yi Wang
6b51540419
Add --expt-relaxed-constexpr to surppress Eigen warnings
8 years ago
Yi Wang
9283233650
Mark the reason of using a personal repo temporarily
8 years ago
Yi Wang
06ab61fd23
Use my personal version of gflags to surpress unnecessary warnings
8 years ago
Yu Yang
a720d21dcd
Paddle always not use `virtualenv` to unit-test
...
* User must install Paddle python package before unittest.
* Or use docker to build Paddle
8 years ago
Yu Yang
329370e8ca
Merge branch 'develop' of github.com:baidu/Paddle into feature/fast_python_unittest
8 years ago
xuwei06
3c798828a9
SKip cpplint if source is not changed.
8 years ago
tensor-tang
547fb6fbfc
Merge remote-tracking branch 'upstream/develop' into issue3232
8 years ago
tensor-tang
e71976f221
remove global linker and exe from mkldnn iomp
8 years ago
liaogang
430b421906
Fix conflicts
8 years ago
liaogang
b58725bd51
Add cpplint for *.h and cuda *.cu
8 years ago
Yu Yang
359e79e543
Faster Python unittest
...
* Do not use `virtualenv` in Docker
* Split unittest into many target, make them parallel
8 years ago
Tao Luo
ca39600930
Merge pull request #3168 from tensor-tang/develop
...
update MKLDNN cmakes
8 years ago
tensor-tang
e6f62f79c3
add meesage and cmake cache arg
8 years ago
tensor-tang
1bd64f18ed
move MKLDNN and MKLML install path to build third party path
...
and disable both when build doc and MacOS
8 years ago
qijun
edb57292f0
add cmake patch for gcc version larger than 4.9
8 years ago
qijun
5364b3944e
use cuda default stream
8 years ago
qijun
d962c2a997
fix bug in CUDADeviceContext
8 years ago
Tao Luo
ef28f66f86
Merge pull request #2940 from tensor-tang/develop
...
enable Intel MKLDNN library and Intel MKL small package
8 years ago
tensor-tang
95ce961cef
fix permission issue
8 years ago
tensor-tang
75f66768bb
fix the permission issue of installing mklml
8 years ago
tensor-tang
2fd43fc5a0
separate mklml download path and install path
8 years ago
tensor-tang
19ec08fa86
change install path of mkldnn and mklml
8 years ago
tensor-tang
a7e23a4cc2
fix link error static to shared
8 years ago
tensor-tang
f6dd8ae164
fix make warning compile with mkldnn
8 years ago
tensor-tang
577bb4e346
rename mkllite to mklml
8 years ago
qijun
f46961e223
Merge remote-tracking branch 'baidu/develop' into implement_basic_OpKernel
8 years ago
tensor-tang
1601c34aa5
fix ld bug when enable WITH_TESTING
8 years ago
tensor-tang
f490d94210
separate MKL_LITE from MKLDNN
8 years ago
qijun
14cfb8c262
fix gpu build error
8 years ago
Helin Wang
3d4e808ce4
cmake: fix problem that go_library is never rebuilt.
...
`merge_static_libs` also have the similar logic of using ${dummyfile},
I am not sure if there needs a change or not.
8 years ago
tensor-tang
89a4158038
enable MKLDNN library and MKL small package
8 years ago
hedaoyuan
f146b03b44
Merge pull request #2824 from hedaoyuan/fix_nnpack
...
Fix some link errors about NNPACK.
8 years ago
Liu Yiqun
ac8c8bd5fb
Merge branch 'develop' into update_android_dockerfile
8 years ago
gangliao
9b8451cc14
Merge pull request #2888 from gangliao/cpplint
...
FIX: cpplint code style
8 years ago
liaogang
13b0dcd295
ENH: add cpplint
8 years ago
helinwang
57a6212558
Merge pull request #2884 from helinwang/glide
...
cmake: do not run glide install every time.
8 years ago
helinwang
5812302e38
Merge pull request #2856 from helinwang/race
...
Turn on race detector for all go tests
8 years ago
Helin Wang
fbfbe93a78
cmake: do not run glide install every time.
8 years ago
Liu Yiqun
6c3027571a
Disable invalid cross-compiling variables for cmake of higher version.
8 years ago
liaogang
365b457a04
Merge conflicts
8 years ago
Helin Wang
a751c79331
turn on race detector for all go tests
8 years ago
Yu Yang
a0aaafe9de
Add a sample op, `add_op`
...
* Refine register methods, make Op can get rid of whole-archieve
* `USE_OP` before a op is used.
* Add unittest for add_op.
8 years ago
hedaoyuan
90cf44d79a
Merge pull request #2816 from hedaoyuan/armv8
...
Compile for armv8.
8 years ago
hedaoyuan
a7c7a82626
Fix a small mistake.
8 years ago
Helin Wang
2231b92a89
go_binary: remove hardcoded library link path
8 years ago
helinwang
f5f7d6bd4f
Merge pull request #2811 from helinwang/go_test_1
...
Add go testing into cmake
8 years ago
Helin Wang
e4be077ffa
Add go testing into cmake and fix libpaddle_go_optimizer.a link path
8 years ago
hedaoyuan
4a12e2217c
Merge branch 'develop' of https://github.com/baidu/Paddle into armv8
8 years ago
hedaoyuan
ea3a1df18b
Fix some compilation errors in some Android environments.
8 years ago
hedaoyuan
06748210d4
Fix some link errors about NNPACK.
8 years ago
gangliao
6986a89331
FIX: add -lrt for link
8 years ago
hedaoyuan
51690f1045
Compile for armv8.
8 years ago
Yu Yang
27b196ba6d
Expose paddle.framework by pybind11 ( #2793 )
...
* Expose paddle.framework by pybind11
* Export paddle.framework.{Scope, Variable} to paddle.v2.framework.core.
* See python/paddle/v2/framework/tests/test_scope.py for Python usage
* See paddle/pybind/pybind.cc for C++ bind code.
* add copyright
8 years ago
liaogang
49fd49f76b
Fix conflicts
8 years ago
qijun
8e4d04376d
fix dyload link undefined reference dlsym
8 years ago
liaogang
1ce2fca484
Merge conflicts
8 years ago
xuwei06
f7fa9f6725
Fix paddle build when it's a subdirectory of another project
8 years ago
liaogang
ce0d67040d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_glog
8 years ago
liaogang
c78f41a331
FIX: explicitly specify glog install path
8 years ago
gangliao
73e29d7adc
Merge pull request #2751 from gangliao/fix_merge
...
FIX: propagation dependencies and rebuild out of date libs
8 years ago
武毅
77604bca27
Merge pull request #2748 from typhoonzero/add_golang_precommit
...
Add golang precommit
8 years ago
liaogang
847535f4fe
FIX: propagation dependencies under linux
8 years ago
liaogang
adf8c95b62
FIX: propagation dependencies under linux
8 years ago
Yu Yang
e2ea1f42e9
Generate python protobufs for paddle.v2.framework
...
Python should be able to manipulate Protobuf message because:
1. Python's `create_op_creation_methods` take the `OpProto` array to
generate all `op_creation_methods` in RunTime.
2. All `op_creation_methods` will create an `OpDesc` and pass it to
Paddle C++ method `CreateOp` and return the Op handle.
Here is the list of what is added in this commit:
* Add `protobuf_generate_python` if it is not defined.
* Before cmake 3.4, `protobuf_generate_python` is not defined. Just
copy the implementation of that function in `protobuf.cmake`
* Add `py_proto_compile` function in `cmake/generic.cmake`.
* It follows bazel's API interface.
* https://github.com/pubref/rules_protobuf#rules
* Add an empty package named `paddle.v2.framework`, all python code of
`paddle::framework` will be in that package.
* Generate protobuf's python module `__init__.py` by `touch` while
compiling.
* Change setup.py.in, make `paddle.v2.framework.proto` uses the
generated protobuf pythons.
8 years ago
liaogang
3e4ba647ee
FIX: remove duplicate
8 years ago
liaogang
d6ecae779a
FIX: propagation dependencies and out of date rebuild
8 years ago
liaogang
3ad8e36471
FIX: merge static libs with propagation dependencies
8 years ago
yi.wu
78f1274d6e
remove unnessesary cc_test link
8 years ago
gongweibao
2e302085d7
fix bugs
8 years ago
gongweibao
1409b17e4f
add fixme
8 years ago
gongweibao
166dfbb085
fix cmake errors
8 years ago
liaogang
817f317bef
FIX: INTERFACE path
8 years ago
liaogang
a211374d53
FIX: interface deps under cmake < 3.3
8 years ago
liaogang
ccb87a97ba
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into include_eign3
8 years ago
Yu Yang
b7397031e9
Add target_link_libraries for cc_library
...
It will fix #2728 .
Maybe it is silly to `target_link_libraries` for static library,
because a static library do not need to link other libraries. But
it will tell cmake how to propagate dependencies.
The solution comes from
[here](http://floooh.github.io/2016/01/12/cmake-dependency-juggling.html ).
* Also change op_proto_test DEPS for testing this fix works.
8 years ago
liaogang
414c2b1734
FIX: add any as interface dep
8 years ago
liaogang
b8cc07920e
FIX: add eigen3 interface deps
8 years ago
Yu Yang
3de3894b82
Add DEPS to `proto_library`
...
Missing DEPS will cause compile error when parallel is large.
8 years ago