QI JUN
7287630e83
Repair nccl op test ( #8575 )
...
* fix nccl op unit test
* fix build error
* format code
* refine nccl related unit test
* fix build error
* add setGPUData
* clean up
* follow comments
* rm test_nccl.cu
* follow comment
* rm wait
7 years ago
Tao Luo
6f50dee4d5
compile and install the static library of fluid inference ( #7827 )
...
* compile and install the static library of fluid inference
* fix dynload_cuda not in CPU mode
* update shared library and adjust the deploy of openblas
* adjust the deploy of openblas
* * auto add all fluid modules for static library
* use libprotobuf.a instead of libprotobuf-lite.a for profiler
* use set_property to set the global varible instead of ENV
* add gpu depends of fluid modules, auto add inference_lib_dist depends
* change the condition of openblas_lib, and fix a typo
7 years ago
Yiqun Liu
ae2026e134
Fix building error of missing end-group for Android. ( #8680 )
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Liu Yiqun
e4d9989af0
Simplify the cmake of inference.
7 years ago
Luo Tao
d2caf777ae
set FLAGS_warpctc_dir to pass the test_warpctc_op unit test
7 years ago
Luo Tao
420f9c3873
Merge branch 'develop' into warpctc_deps
7 years ago
Liu Yiqun
6ac2e079b3
Enable whole-archive flag in cc_test and use cc_test to rewrite the CMakeLists.txt of inference unittest.
7 years ago
Luo Tao
ca636eedb9
remove libwarpctc.so in core.so and libpaddle_fluid.so
7 years ago
Liu Yiqun
9b3f2c39f2
Add a simple example for fluid to do inference in C++ code.
7 years ago
Yancey
1b612d3a76
Fix grpc compile warning ( #6050 )
...
* fix grpc compile warn
* update
* -Wnon-virtual-dtor -> -Wno-non-virtual-dtor
7 years ago
QI JUN
1238706d72
Refine unittest with setting gflags ( #5476 )
...
* add gflags for C++ unittest
7 years ago
武毅
0a8a86e0c9
Send recv op ( #5520 )
...
* WIP send recv op
* WIP send recv
* put grpc impl in details
* put grpc impl in details
* update wip
* update proto
* update proto
* update proto
* clean cmake
* wip on op implementations
* wip on op implementations
* compile ok adding ut
* wip unitest
* add extern cares for linking
* wip add ut
* working version send recv
* revert optimizer.py
* update test cmake
* add libtool to dockerfile
* update cmake dependency
* update cmake depends
* update cmake grpc depends
* fix cmake dependency
* fix compile error
* fix compile
* follow comments
* update
* update copyfrom
7 years ago
Qiao Longfei
c9a96575d5
py_test and test_image_classification_train support argument ( #5934 )
...
* py_test support argument, test_image_classification_train support argument
* use REMOVE_ITEM to rm item from list in cmake
7 years ago
Yancey1989
cd29714af0
fix py unit test executable
7 years ago
Luo Tao
52272bc076
fix openblas bug: undefined reference to pthread_atfork
7 years ago
xzl
54a03ab31d
add paddle_protobuf_generate_cpp() Func which could dynamic set RUNTIME_LITE mode for paddle
8 years ago
Qiao Longfei
d0ad82cff1
fix nv_library ( #4370 )
...
* fix nv_library
* fix symbol in gpu_info.h
8 years ago
Liu Yiqun
dd2f477a50
Fix bug in cc_library, when merging several libraries into one on Linux.
8 years ago
qiaolongfei
3df8ee1ff7
use lib-python as python test dir
8 years ago
qiaolongfei
c304e02813
fix py_padde test
8 years ago
qiaolongfei
e2ccbccb02
support python test without installation python package
8 years ago
liaogang
7ecdf6ad93
Add py_test
8 years ago
liaogang
b58725bd51
Add cpplint for *.h and cuda *.cu
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
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
5812302e38
Merge pull request #2856 from helinwang/race
...
Turn on race detector for all go tests
8 years ago
liaogang
365b457a04
Merge conflicts
8 years ago
Helin Wang
a751c79331
turn on race detector for all go tests
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
gangliao
6986a89331
FIX: add -lrt for link
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
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