qiaolongfei
de3c5175c5
fix typo
7 years ago
dzhwinter
5129bddc2c
"change eigen mirror"
7 years ago
qiaolongfei
fdf99bbe6f
follow comment
7 years ago
Qiao Longfei
5c58eee552
Merge pull request #10690 from jacquesqiao/add-use-op-to-paddle-lib
...
add pybind.h to inference lib for static link
7 years ago
qiaolongfei
1aeb6c5c6d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add-mkldnn-to-paddle-lib
7 years ago
qiaolongfei
269a62a2b5
add mkldnn to paddle lib
7 years ago
qiaolongfei
ff24f789cb
update pybind.h source dir
7 years ago
qiaolongfei
11a8814758
add pybind.h to inference lib for static link
7 years ago
yuyang18
dfbe06ccab
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/fix_ninja_build
7 years ago
yuyang18
dc6ce071d4
Polish cmake
7 years ago
qiaolongfei
2ddca7196d
update boost dst dir
7 years ago
qiaolongfei
efd425cb5e
only copy header file of boost
7 years ago
qiaolongfei
af2cd942bb
copy boost
7 years ago
Wu Yi
b3e5a88450
Patch mkldnn for build on gcc 4.8.2 ( #10616 )
...
* test_patch_mkldnn
* use patch file
* follow comments
* fix patch
7 years ago
Luo Tao
329655dd7b
update mklml version
...
disable building tests and examples when install mkldnn
skip -Werror=unused-result
7 years ago
Wojciech Uss
d0e8bd2905
bump mkldnn version
7 years ago
dzhwinter
eb6f9dd5de
Feature/cuda9 cudnn7 ( #10140 )
...
* "re-commit "
* "picked up"
* "fix ci"
* "fix pdb hang up issue in cuda 9"
7 years ago
dzhwinter
c26204027f
"fix cuda9 error" ( #10271 )
...
* "fix cuda9 error"
* "change commit id"
* "remote git tag"
7 years ago
Luo Tao
71f51ff64a
refine tensorrt cmake and dockerfile
7 years ago
Luo Tao
d4682247e1
auto find tensorrt library
7 years ago
typhoonzero
d9e2ff333e
grpc version to 1.10.x
7 years ago
Liu Yiqun
449bdde58a
Correct some typos.
7 years ago
Wu Yi
8d4d6eae5c
Merge pull request #9863 from typhoonzero/grpc_version_update
...
Update grpc version
7 years ago
Yiqun Liu
e90e7ab237
Remove the use of ARCHIVE_START/END ( #9844 )
...
* Add USE_OP of all operators and kernels and remove ARCHIVE_START/END in CMakeLists.txt of inference unittests.
* Remove ARCHIVE_START/END when linking inference shared library.
* Disable some fluid related cmake operations for cross-compiling.
7 years ago
typhoonzero
d798e3258d
update grpc version
7 years ago
Luo Tao
38f8676989
remove unused nccl.cmake
7 years ago
Yi Wang
8dbd9c394e
Fix part of the cpplint errors in fluid/platform ( #9802 )
7 years ago
Yi Wang
25ad6884bb
Merge branch 'develop' of http://github.com/paddlepaddle/paddle into cpplint-memory-detail
7 years ago
Yi Wang
45bc4538c4
Update paddle_memory in CMakeLists.txt files
7 years ago
Yi Wang
e185502ebe
Fix cpplint errors with paddle/fluid/platform/dynload ( #9715 )
...
* Update source files.
* Update headers
* Update
* Update
* Update
* Update
* Fix a CMake dependency
7 years ago
Yi Wang
c839ec6c47
Update rcordio
7 years ago
Lei Wang
09b4a1a361
Build: generate all the build related files into one directory. ( #9512 )
7 years ago
qiaolongfei
72913dc2a6
change mklml download url to bce
7 years ago
Yang Yu
af230d9bef
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cpp_parallel_executor
7 years ago
Yang Yu
b0775588c0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cpp_parallel_executor
7 years ago
Xi Chen
1daa96579c
adding comments for this fix
7 years ago
Xi Chen
06aaea8a64
Revert "test removal of redundant line"
...
This reverts commit d4f4935530
.
7 years ago
Xi Chen
d4f4935530
test removal of redundant line
7 years ago
Xi Chen
0e7413938a
added missing *.pb.h *.pb.cc generation to fix distribute build issue
7 years ago
Luo Tao
d573195dde
rm libmklml_gnu.so
7 years ago
Yu Yang
50e7e25db3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cpp_parallel_executor
7 years ago
Luo Tao
ae820a34bc
Merge branch 'develop' into infer_mkl
7 years ago
qiaolongfei
ac94242ea9
change boost download url to speed up download
7 years ago
sabreshao
e50205e744
CMake refine for HIP support.
...
1. Add option WITH_AMD_GPU.
2. Add cmake/hip.cmake for HIP toolchain.
3. Some external module such as eigen may need HIP port.
4. Add macro hip_library/hip_binary/hip_test to cmake/generic.cmake.
5. Add one HIP source concat.hip.cu as an example. Each .cu may have its corresponding .hip.cu.
7 years ago
sabreshao
45c988d86a
Demostration of cmake refine for HIP support.
...
1. Add option WITH_AMD_GPU.
2. Add cmake/hip.cmake for HIP toolchain.
3. Some external module such as eigen may need HIP port.
4. Add macro hip_library/hip_binary/hip_test to cmake/generic.cmake.
5. Add one HIP source concat.hip.cu as an example. Each .cu may have its corresponding .hip.cu.
7 years ago
Yu Yang
6f0dfd89a4
Single GPU ParallelExecutor complete
7 years ago
Luo Tao
e42b8f8a11
fix mklml install path
7 years ago
Luo Tao
de13f0eb4e
Merge branch 'develop' into infer_mkl
7 years ago
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
Luo Tao
5030681c36
add MKL for fluid static and shared library
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
qiaolongfei
8ccb091fb4
fix snappy build on macos
7 years ago
Yu Yang
9dc69582de
Make recordio simple
7 years ago
dongzhihong
69c7991108
"add snappy library"
7 years ago
Yiqun Liu
ae2026e134
Fix building error of missing end-group for Android. ( #8680 )
7 years ago
Xin Pan
6720198731
Merge pull request #8663 from panyx0718/test2
...
First timeline version
7 years ago
Xin Pan
12843a3a53
Firt timeline version
7 years ago
Yu Yang
22b5c07a7d
Fix the compilation on CUDA 9.1/GCC 5.3
...
* Make CUPTI_LIB_PATH not passing by macro.
* Add missing header
7 years ago
Xin Pan
b9ec24c6e9
Extend current profiler for timeline and more features.
7 years ago
Yi Wang
9890bb5987
Explain why we choose an old version of boost ( #7967 )
7 years ago
Yang Yang
0717ff8b90
make boost library hosted on our server
7 years ago
Tao Luo
c77715e3af
Merge pull request #8410 from jczaja/prv-match-mkldnn-build-type-with-paddle-type
...
Fix MKLDNN build type to match Paddle build type
7 years ago
Jacek Czaja
5e1640f7e4
- Fix MKLDNN build type to match Paddle build type
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Tao Luo
da02a5812c
refine inference_lib_dist after code move, and add it to docker/build.sh ( #8379 )
...
* refine inference_lib_dist after code move, and add it to docker/build.sh
* remove is_directory in inference_lib.cmake
7 years ago
Yu Yang
06f10942a8
Merge pull request #8275 from reyoung/feature/rewrite_vector
...
Rewrite mixed_vector.h
7 years ago
Yu Yang
ef1aba39a6
Rewrite mixed_vector.h
7 years ago
Liu Yiqun
e4d9989af0
Simplify the cmake of inference.
7 years ago
Tao Luo
6c3b78b7cf
Merge pull request #7977 from luotao1/inference_lib_dist
...
make inference_lib_dist for fluid inference shared library
7 years ago
Yu Yang
b41205d9a6
Disable BUILD_TESTS for warpctc ( #8210 )
...
* It will sightly faster compile and make warpctc compile
well on CUDA 9 and GCC 5.5
7 years ago
Luo Tao
f28dc9a68d
refine inference_lib.cmake
7 years ago
Luo Tao
59e4dd5797
add independent inference_lib.cmake
7 years ago
Luo Tao
446198dab6
Merge branch 'develop' into inference_lib_dist
7 years ago
Luo Tao
96d4bf5337
prevent make clean from cleaning ExternalProject boost
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
119da44954
Merge branch 'develop' into core_add_inference_unittest
7 years ago
Luo Tao
9b5d41b636
make inference_lib_dist
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
yi.wu
90a5fd26a9
fix boost down link
7 years ago
yi.wu
a8c46f33d8
downgrade boost to fit manylinux
7 years ago
dangqingqing
e5fc79d88a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into boost_cmake
7 years ago
Luo Tao
ca636eedb9
remove libwarpctc.so in core.so and libpaddle_fluid.so
7 years ago
dangqingqing
a89e1b85fe
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into boost_cmake
7 years ago
dangqingqing
da018e31bd
Remove boost installing step and remove boost installation in Dockerfile scripts.
7 years ago
Luo Tao
5c056535ed
Merge branch 'develop' into fluid_infer
7 years ago
Tao Luo
eaa8d68006
Merge pull request #7693 from luotao1/openblas_install
...
refine openblas install lib when CAPI
7 years ago
dzhwinter
e983cc90fc
"fix decode bug" ( #7711 )
...
* "fix decode bug"
* "follow commnet"
* "fix error"
* "fix hook bug"
* fix based comment
* fix copyright
* fix based on comment
7 years ago
dangqingqing
564c6abda3
Add cmake for extern project of boost.
7 years ago
Luo Tao
b4685675df
refine openblas install lib when CAPI
7 years ago
Luo Tao
c0f0f2337e
add WITH_FLUID option and third party INSTALL for fluid api
7 years ago
gongweibao
535fefb7e8
Fix grpc bugs ( #7435 )
...
Fix grpc bugs
7 years ago
dzhwinter
b9b75377a2
Feature/hooks ( #7513 )
...
* add copyright hook
* add copyright hook
* refine copyright hook
* "test copyright hook"
* fix check style
* fix ci
7 years ago
Yiqun Liu
b5fda2723f
Port WarpCTC Operator ( #5107 )
...
* Add Seq2BatchFunctor, which will be used in WarpCTCOp.
* Implement WrapCTCFunctor and WrapCTCKernel.
* Add unittest of warpctc_op.
* Modify the check_output inferface in python unittest framework to allow check a subset of outputs.
* Use absolute offset lod in warpctc_op and related functors.
* Refine the comments of warpctc_op.
* The new python unittest supports checking a subset of the outputs, so revoke the previous change.
* Rename the transform from LoDTensor to Tensor with shape [max_sequence_length, num_sequences, sequence_width] to PaddingSequenceFunctor.
* Update to the newest codes.
* Rename the PaddingSequenceFunctor to PaddingLoDTensorFunctor and remove the computation of dimensions out of the functos.
7 years ago
tensor-tang
6de2049651
use the mkldnn shared lib so.0
7 years ago
tensor-tang
11ed2f2f93
package right mkldnn and mklml libs if enabled in capi
7 years ago
tensor-tang
6177cb5162
Merge remote-tracking branch 'upstream/develop' into context
7 years ago
Tao Luo
809122cb5a
Merge pull request #7097 from Xreki/core_inference_example
...
Add a simple C++ inference example for fluid
7 years ago
Tao Luo
6f347faafe
Merge pull request #6401 from Xreki/fix_build_android_openblas
...
Update the version of openblas for Android and iOS
7 years ago
tensor-tang
5bf5650dcf
generate mkldnn dummy target for static deps
7 years ago
Liu Yiqun
9b3f2c39f2
Add a simple example for fluid to do inference in C++ code.
7 years ago
hedaoyuan
0295b00066
Add libprotobuf-lite.a when install. ( #6340 )
...
* Add libprotobuf-lite.a when install.
* Fix protobuf.cmake
* Bug fix
7 years ago
Liu Yiqun
6dc0e663f4
Merge branch 'develop' into fix_build_android_openblas
7 years ago
Luo Tao
e5dcefc4d3
remove ATLAS library
7 years ago
tensor-tang
69b44f2f19
unify MKL macro definition
7 years ago
Liu Yiqun
2bdd3e43fa
Update the version of openblas.
7 years ago
Yancey1989
c53a9c8d44
compile cblas library as static
7 years ago
kexinzhao
1d1555e2e5
Merge pull request #5716 from kexinzhao/float16
...
Add half precision float16 data type
7 years ago
dzhwinter
e0ac34a620
"fix build cares" ( #6097 )
7 years ago
武毅
067381e2e2
Merge pull request #6146 from typhoonzero/add_switch_distributed
...
Add switch for distributed support
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
Yiqun Liu
7480291c62
Add version and commit information in capi config.h and use unofficial glog for Android API < 21. ( #6113 )
...
* Automatically configure the version and commit information in capi.
* Use the unofficial glog repository for building for Android (API < 21).
7 years ago
typhoonzero
1a852861b2
add switch for distributed support
7 years ago
qingqing01
5f0d081886
Merge pull request #6115 from qingqing01/protobuf-v3.2
...
Use protobuf v3.2.0 for MOBILE_INFERENCE compiling.
7 years ago
Yu Yang
3a8311f819
Fix compile error for gcc 6.3 ( #6112 )
7 years ago
dangqingqing
a0648ee449
Add comments.
7 years ago
dangqingqing
4d47683b1c
Use protobuf v3.2.0 for MOBILE_INFERENCE compiling.
7 years ago
QI JUN
1238706d72
Refine unittest with setting gflags ( #5476 )
...
* add gflags for C++ unittest
7 years ago
Yu Yang
dc91c4e3a4
Fix MacOS compile ( #6062 )
7 years ago
Kexin Zhao
4901184ee9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into float16
7 years ago
Kexin Zhao
41bd1f9115
fix gpu test, clean code and add cmake
7 years ago
武毅
4ecbab42d8
Fix compile on cudnn7 ( #5982 )
...
* fix compile on cudnn7
* update
* update
* make silent
7 years ago
Yu Yang
6375c8cacb
Fix MacOS compile ( #5978 )
...
* Fix MacOS compile
* Update GRPC
* Unset PROTOBUF_EXEC
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
Qiao Longfei
1f6002edc0
update gflags ( #5904 )
7 years ago
Yancey1989
cd29714af0
fix py unit test executable
7 years ago
dangqingqing
94e86897fa
update code and fix conflicts.
7 years ago
dangqingqing
082bc7af56
Use CUDA_ARCH_NAME=All in the paddle/scripts/docker/build.sh and remove 20 21(20) in cmake/cuda.cmake.
7 years ago
tensor-tang
1578c20aaf
add the missing macro PADDLE_USE_MKLDNN
7 years ago
tensor-tang
cece368d6f
Merge remote-tracking branch 'upstream/develop' into refine
7 years ago
Yiqun Liu
c808fbbfcb
Support the build for multiple architectures at one cmake command (iOS). ( #5677 )
...
* Support the build for multiple architectures at one cmake command (iOS).
* Update the documentations.
7 years ago
tensor-tang
8496eab45a
make mklml necessary when with_mkldnn
7 years ago
dangqingqing
3d080f3ad5
Refine cmake about CUDA to automatically detect GPU arch by default.
...
1. Automatically detect GPU arch by default.
2. Specify -DCUDA_ARCH_NAME=All when releasing PaddlePaddle new version
7 years ago
Luo Tao
49ac0480e6
fix a lot of warnings -Wunused-but-set-variable and Wunused-variable when compile openBlas
7 years ago
Yiqun Liu
d3ef2543f9
Fix compiling error for Android, and installing error for cmake of low version. ( #5660 )
7 years ago
Luo Tao
52272bc076
fix openblas bug: undefined reference to pthread_atfork
7 years ago
Tao Luo
97c1bb1694
Merge pull request #5521 from tensor-tang/develop
...
fix EQUAL unknown
7 years ago
Yu Yang
5e13e706f9
Fix CI compile ( #5526 )
7 years ago
tensor-tang
df105ac940
fix EQUAL unknown
7 years ago
Luo Tao
34d02f94b5
RollBACK the openblas.cmake
7 years ago
Luo Tao
7835d49384
remove PADDLE_USE_MKL
7 years ago
Luo Tao
5a5b729747
remove unused INTEL_MKL_ROOT etc.
7 years ago
tensor-tang
4fd432fdac
update mkldnn tag
...
and abandoned deprecated sum API interface
7 years ago
tensor-tang
a1856be5eb
update mklml tag
7 years ago
Yiqun Liu
bba6223598
Enable the build for iOS simulator. ( #5211 )
7 years ago
Yiqun Liu
288ffdd715
Correct the install command, static library name and typo in nccl.cmake. ( #5048 )
7 years ago
Qiao Longfei
ee998a9c44
CPU Batch Norm Op ( #4964 )
...
* init batch norm op
* prepare input output
* compute mean_out var_out save_mean save_var on CPU
* active is test
* use eigen to do computation
* complete batch norm forward
* set default momentum to 0.9
* add batch norm grad op in CPU
* add tensor_format and NHWC support, add python test
* add test training
* add batch norm gradient test
* improve comment, fix foward Python UnitTest
* add gradient test
* fix eigen warning
* follow name style
* fix a bug
* change float to T
* add simple forward test
* test with different place
* add backward test
* refine python test
* remove old python test code
* code clean
* follow code style
* update comment
7 years ago
Luo Tao
fb4744fd6a
fix nccl compiler error
7 years ago
Yu Yang
94e741d6f0
Use external project for NCCL ( #5028 )
7 years ago
Yu Yang
43c6ff212e
Feature/nccl dso ( #5001 )
...
* "add nccl enforce"
* Dev
* Update comment
* Add nccl test
* Follow comments
7 years ago
hedaoyuan
6316b40a2c
Merge pull request #4753 from hedaoyuan/inference
...
Use MinSizeRel compile third_party library when build for mobile infe…
7 years ago
helinwang
ce91f85ec5
Add GIT tag for all cmake dependencies. ( #4776 )
7 years ago
hedaoyuan
773d064ae0
Use MinSizeRel compile third_party library when build for mobile inference.
7 years ago
xzl
07e5d86787
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into protobuf_lite
7 years ago
xzl
54a03ab31d
add paddle_protobuf_generate_cpp() Func which could dynamic set RUNTIME_LITE mode for paddle
7 years ago
Yan Chunwei
843ed8e320
dynamic recurrent op forward c++ implentation ( #4597 )
7 years ago
hedaoyuan
aa1e92ec9a
Merge branch 'develop' of https://github.com/baidu/Paddle into inference
7 years ago
Yi Wang
f985700abf
Resolve conflict
7 years ago
Yu Yang
84500f9487
Change `PADDLE_ONLY_CPU` to `PADDLE_WITH_GPU`
...
By shell command
```bash
sed -i 's#ifdef PADDLE_ONLY_CPU#ifndef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'`
sed -i 's#ifndef PADDLE_ONLY_CPU#ifdef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'`
```
7 years ago
Yi Wang
5f51d0afc4
Add -D PADDLE_WITH_CUDA in cmake/configure.cmake
7 years ago
hedaoyuan
d94dd75e3b
Remove string, scripts and retain cuda.
7 years ago
hedaoyuan
ea4672bea0
Remove optimizer.
7 years ago
hedaoyuan
33299ef972
Remove cuda.
7 years ago
hedaoyuan
3c66b307f7
Remove the pserver, trainer, evaluators and some useless gradientmachines when compile mobile inference library.
7 years ago
Qiao Longfei
d0ad82cff1
fix nv_library ( #4370 )
...
* fix nv_library
* fix symbol in gpu_info.h
7 years ago
Tao Luo
330e9929ec
Merge pull request #4310 from tensor-tang/vgg
...
enable VGG with MKLDNN layers
7 years ago
Yiqun Liu
2d8467ee9d
Merge pull request #4320 from Xreki/fix_android_linking_error
...
Fix bug in cc_library, when merging several libraries into one on Linux.
8 years ago
Liu Yiqun
dd2f477a50
Fix bug in cc_library, when merging several libraries into one on Linux.
8 years ago
tensor-tang
f96d31d552
only link iomp when with MKLDNN and MKLML
8 years ago
Liu Yiqun
35dd981db0
Fix linking error on mac.
8 years ago
Yiqun Liu
a9202e89cf
Merge pull request #3764 from Xreki/build_ios
...
Add the support of the cross-compiling for iOS devices
8 years ago
Liu Yiqun
46ee8ceecb
Move the sreach and link of veclib to iOS's toolchain file .
8 years ago
Luo Tao
70cadf9350
Merge branch 'develop' into use_op
8 years ago
Luo Tao
0597f4de99
auto generate USE_OP() in pybind.cc
8 years ago
Liu Yiqun
76338fb6a7
Merge branch 'develop' into build_ios
8 years ago
Liu Yiqun
9e524fce1b
Remove the generation of executable, such as paddle_trainer, when setting WITH_C_API.
8 years ago
Liu Yiqun
b4d710ce12
Merge branch 'develop' into build_ios
8 years ago
Liu Yiqun
5991a35e58
Install the automatically built, compiled libraries under third_party when
...
executing `make install` and WITH_C_API is set.
8 years ago
Liu Yiqun
7976876993
Add the finding of iOS's native vecLib.framework.
8 years ago
Liu Yiqun
d1f5f49826
Merge branch 'develop' into build_ios
8 years ago
Liu Yiqun
a98c9e6bbf
Add third_party_android back to the cache directories to speedup travis.
8 years ago
Liu Yiqun
2fc012c54c
Merge branch 'develop' into build_android_clang
8 years ago
Liu Yiqun
8e5f54320f
Refine the toolchain file of Android to use clang as default compiler.
8 years ago
Liu Yiqun
50c63dc9e7
Merge branch 'develop' into build_android_clang
8 years ago
Liu Yiqun
0ea4e2588b
Update the version of OpenBLAS and set the sysroot to fix compiling error using clang on Mac.
8 years ago
Liu Yiqun
fb93a8be27
Add paddle_pserver back to c-api library, because it is used in Evaluator.h.
8 years ago
Liu Yiqun
36fc405261
Merge branch 'develop' into build_ios
8 years ago
Luo Tao
2e8d47dd09
simplify and make quiet in the download of mklml.cmake
8 years ago
Liu Yiqun
aeea8ab1c4
Remove the linking of train-related libraries when cross-compiling for Android and iOS.
...
Recover the mistakenly deleted WARPCTC variable in cmake.
8 years ago
Liu Yiqun
d57ffc4557
Deliver the cross-compilng platform-specific args to external libraries.
8 years ago
Luo Tao
6479118895
fix download mklml error
8 years ago
Liu Yiqun
0cb3906d5c
Merge branch 'develop' into build_ios
8 years ago
Liu Yiqun
473161f919
Merge branch 'ios_cross_compile' into build_ios
8 years ago
Liu Yiqun
224f8b06f4
Support building for multiple architecures at one time.
8 years ago
Liu Yiqun
d2435ba81c
Disable the finding of python, swig related packages completely when WITH_PYTHON and WITH_SWIG_PY are set to OFF.
8 years ago
Liu Yiqun
fb38e6620e
Seperate the codes that cannot and don't need to build for iOS devices.
8 years ago
Liu Yiqun
43dde9353b
Refine the cross-compiling toolchain file for iOS.
8 years ago
Liu Yiqun
f241773c4f
Support to use clang for Android cross-compiling.
8 years ago
zlx
11cb75f8bb
add the ios cross compile
8 years ago
tensor-tang
2efac83aaa
Merge remote-tracking branch 'upstream/develop' into merge
8 years ago
hedaoyuan
a683a56f69
Merge pull request #3549 from hedaoyuan/convolution
...
Use EigenBlasGemm improve convolution computing performance in ARMv7 environment.
8 years ago
Yi Wang
1eb98e2fef
Set the default cuDNN installation path
8 years ago
tensor-tang
462b9b1d20
update mkldnn tag v0.10
8 years ago
hedaoyuan
adcca2cc06
Add PADDLE_USE_EIGEN_FOR_BLAS macro.
8 years ago
qijun
13c20ad39e
remove --default-stream per-thread nvcc flag
8 years ago
qijun
5e62605c69
Merge remote-tracking branch 'baidu/develop' into implement_EigenCudaStreamDevice
8 years ago
qijun
95fe318e3e
init
8 years ago
tensor-tang
318fee8389
refine cblas
8 years ago
tensor-tang
2be3d32711
use shared lib when mkl
8 years ago
Yi Wang
2ca13944b6
Merge pull request #3378 from gangliao/proj_name
...
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_…
8 years ago
Yiqun Liu
d2258a41a7
Merge pull request #3400 from Xreki/capi_read_assets
...
Support to create a gradient machine with merged model in c-api
8 years ago
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
dzhwinter
0bc529281b
Merge pull request #2712 from dzhwinter/fix_style_check
...
Fix style check
8 years ago
dongzhihong
1100f97e57
"fix style check"
8 years ago
wuyi05
cee264f3f9
update for comments
8 years ago
yi.wu
9c853c269d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cmake_go_vendor
8 years ago
liaogang
9e445eca89
FIX: Replace static libs check via system warning
8 years ago
dzhwinter
0ea5725068
Merge pull request #2680 from gangliao/protobu'f
...
FIX: Always build protobuf from source
8 years ago
gangliao
3f44578226
Merge pull request #2681 from gangliao/remove_python_cmake
...
ENH: Remove deprecated python build
8 years ago
helinwang
fae606fc96
Merge pull request #2659 from helinwang/cmake
...
Improve Go cmake, add go/master/c into cmake include path..
8 years ago
liaogang
5fc9b116d5
ENH: Remove deprecated python build
8 years ago
liaogang
d09bbb559d
FIX: Always build protobuf from source
8 years ago
Helin Wang
38790c1c21
fix according to comment
8 years ago
liaogang
a53952165b
FIX: merge objects to static lib
8 years ago
Helin Wang
59cf5e7796
Fix Go cmake
8 years ago
gangliao
c5dc0b7329
Merge pull request #2668 from QiJune/feature/more_choice_for_eigen
...
add more choice for eigen downloading
8 years ago
qijun
c18275ffb3
add more choice for eigen downloading
8 years ago
Yu Yang
3d44fd5bf3
Follow yiqun's comments
8 years ago
Yu Yang
2d3c186a96
Follow comments
8 years ago
Yu Yang
b88ca542ba
Rename pb_cc_library -> proto_library
8 years ago
Yu Yang
32d6587242
Use protobuf_generate_cpp
8 years ago
Yu Yang
456f9cc89f
Remove Python protobuf function
8 years ago
Yu Yang
64b78b1656
Fix TravisCI
8 years ago
Yu Yang
30b75a5103
Also add pb_py_library
8 years ago
Yu Yang
b1a311c44d
Add pb_cc_library in generic.cmake
...
Fix #2567
8 years ago
qijun
c5d9ca8617
fix eigen include path
8 years ago
wuyi05
155e40ef26
using glide for go package vendor
8 years ago
qijun
ab91232cf6
add cmake external project for eigen
8 years ago
wuyi05
714c2c2d42
fix go get -d ./..
8 years ago
gangliao
de77faf589
Merge pull request #2583 from gangliao/go_generic
...
FIX: Polish go library
8 years ago
liaogang
4bfd757e78
ENH: Add go doc
8 years ago
liaogang
5c67669d10
FIX: support shared type
8 years ago
liaogang
736af1f1a5
FIX: go get dependencies automatically
8 years ago
liaogang
09a50cb9b3
ENH: Change to CMAKE variable
8 years ago
Liu Yiqun
16f8508d74
Use CMake system variables, such as CMAKE_STATIC_LIBRARY_PREFIX/SUFFIX, instead.
8 years ago
liaogang
869f2b3861
FIX: Polish go library
8 years ago
Liu Yiqun
c89fe83a77
Fix the problem that protobuf cannot be used as a DEPS argument in cc_library.
8 years ago
Yi Wang
252ef0cb31
Update
8 years ago
Yi Wang
71f8c3bb98
Rearrange paragraphs
8 years ago
Yi Wang
a28ba1a6ac
Rewrite tutorial comments in generic.cmake
8 years ago