Kexin Zhao
c1e9b1e37e
Merge pull request #9231 from kexinzhao/elementwise_add_fp16
...
Add float16 support to Elementwise Add op
7 years ago
Qiao Longfei
37a272e670
add executor.prepare ( #9022 )
...
optimize executor.run
7 years ago
fengjiayi
a944d57181
refine code
7 years ago
fengjiayi
a4f397fb68
add an unittest
7 years ago
qingqing01
30b70323b4
Expose RMSProp optimizer. ( #9247 )
...
* Add RMSProp optimizer warpper.
* Follow comments.
7 years ago
fengjiayi
91b6d60003
Merge branch 'fix_bug_in_recordio' into dev_MultiEpochReader
7 years ago
fengjiayi
bce08d19cc
Python wrapper for MultiPassReader
7 years ago
fengjiayi
2532b922dc
Add more unittests and fix bugs
7 years ago
wanghaoshuang
ad63722ed9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into average_model
7 years ago
wanghaoshuang
68c9f6ef11
Fix error while params_grads[1]==None
7 years ago
fengjiayi
f863866471
Add an unitest
7 years ago
武毅
5008020d19
Merge pull request #9154 from typhoonzero/pserver_parallel
...
pserver runs in parallel
7 years ago
fengjiayi
02b7d8bea5
Merge branch 'fix_bug_in_recordio' into dev_MultipleReader
7 years ago
typhoonzero
d806fd4114
no print
7 years ago
whs
7e526a6cb8
Merge pull request #9213 from wanghaoshuang/adadelta
...
Add python wrapper for Adadelta optimizer
7 years ago
Yang yaming
381c6a026d
Merge pull request #9100 from pkuyym/fix-9049
...
Enhance sequence_expand operator
7 years ago
Kexin Zhao
d307b5e4a6
Merge remote-tracking branch 'upstream/develop' into elementwise_add_fp16
7 years ago
Kexin Zhao
5271c32d24
Merge pull request #9223 from kexinzhao/dropout_fp16
...
Add float16 support to dropout operator
7 years ago
Yu Yang
d2cb3790e9
Wait all evernts
7 years ago
wanghaoshuang
89c9f79c8b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into adadelta
7 years ago
wanghaoshuang
7c59ac484f
Refine doc and use 'raise' instead of assert
7 years ago
Kexin Zhao
3da094fd7b
rearrange test
7 years ago
Kexin Zhao
509c8399b8
address comments
7 years ago
wanghaoshuang
e01c770c05
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into average_model
7 years ago
wanghaoshuang
d22f4de794
Refine sum_accumulates_op.
7 years ago
yangyaming
2c22552542
Fix some comments and adapt test_machine_translation.py.
7 years ago
yangyaming
2f2c5f5e60
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-9049
7 years ago
Kexin Zhao
4bf168b274
add fp16 kernel for elementwise add
7 years ago
wangyang59
26734cfe77
expose dilation option to conv2d and add bias/activation option to con2d_trans
7 years ago
Kexin Zhao
18d616ed70
add float16 arithmetic operators on new GPU
7 years ago
Kexin Zhao
d03dbb97f9
remove AttrType
7 years ago
Kexin Zhao
05ad15832a
initial commit
7 years ago
Abhinav Arora
35c373db11
Support copy in Fluid channels ( #9138 )
...
* Support copy in Fluid channels
* Address PR review comments
7 years ago
wanghaoshuang
de2d7299ae
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into adadelta
7 years ago
wanghaoshuang
72847ad031
Add python API for Adadelta optimizer.
7 years ago
yangyaming
cd11b1bd5c
Set default value of y to None.
7 years ago
yangyaming
869a6f9cea
Add python wrapper.
7 years ago
Yu Yang
48619bc981
Shrink model
7 years ago
Yu Yang
ee697b8b5a
Larger model
7 years ago
Tomasz Patejko
192cc5dd32
Implementation of MKLDNN LRN
7 years ago
yangyaming
332b665fc7
Enhanced cpp implementation and unit test.
7 years ago
wanghaoshuang
cad4d7f325
Refine initial and API of ModelAverage API
...
1. Implement 'with model_average.apply()' syntax
2. Init apply_program and restore_program in __init__ functin of ModelAverage
7 years ago
caoying03
a6e64242d8
follow comments.
7 years ago
Yu Yang
f8141d90c8
Debug
7 years ago
Yu Yang
389ea18a4e
Debug code
7 years ago
Yu Yang
9cb8f50302
Complete fetch op
7 years ago
Kexin Zhao
6ec0f91273
decrease atol
7 years ago
caoying03
c87d11a716
Merge branch 'develop' into enhance_reshape
7 years ago
Kexin Zhao
e870947cfd
fix batch norm fp16 param type
7 years ago
fengjiayi
87ac675ae7
Add python wrapper for open_files_op
7 years ago
wanghaoshuang
92a01d4994
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into average_model
7 years ago
wanghaoshuang
87fe52c109
Add ModelAverage class to optimizer.py
7 years ago
wanghaoshuang
016d0eb7f7
Add python API for sum op.
7 years ago
wanghaoshuang
aee686771c
Add clone_variable function for Block class.
7 years ago
Kexin Zhao
3233b2b323
update test
7 years ago
Kexin Zhao
5e36757c37
fix test
7 years ago
Kexin Zhao
151cfff90b
add more tests
7 years ago
Kexin Zhao
0a95a44b9a
add python batch norm inference test
7 years ago
Kexin Zhao
df99b16a16
Merge pull request #9167 from kexinzhao/pool2d_fp16
...
Add float16 support for pool 2d operator
7 years ago
Kexin Zhao
dfec1df14f
address comments
7 years ago
Kexin Zhao
3f5705c346
Merge pull request #9148 from kexinzhao/cast_op_fp16
...
Add float16 support for cast op
7 years ago
Kexin Zhao
bfbc25bdb8
add fp16 pool2d support
7 years ago
yangyaming
58730ba131
Enhance unit test.
7 years ago
Yu Yang
9fc0b596a9
Test more
7 years ago
qiaolongfei
2f1778868e
fix regularizer when gradient is None
7 years ago
Yu Yang
0ef9edf566
Stash
7 years ago
Yu Yang
5e87cd7574
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cpp_parallel_executor
7 years ago
typhoonzero
b8f4c8599e
pserver runs in parallel
7 years ago
Kexin Zhao
8e7310146f
Merge pull request #9143 from kexinzhao/numpy_conv2d_pool2d_fp16
...
Add float16 support for cudnn conv2d
7 years ago
Kexin Zhao
6ef4f1f8c0
small fix
7 years ago
Kexin Zhao
f3c5e81556
add fp16 for cast op
7 years ago
Tao Luo
4f3b73ed97
Merge pull request #9128 from luotao1/layer_function_generator
...
fix AttributeError: 'module' object has no attribute 'framework_pb2'
7 years ago
qingqing01
7c1a0b77a0
Delete the detection_output_op, which had been split into several operators. ( #9121 )
7 years ago
Kexin Zhao
e967d19b0a
add more tests
7 years ago
Kexin Zhao
a13ec3432a
fix test error
7 years ago
Varun Arora
26a9208394
New PingPong test for testing channels / concurrency ( #9132 )
...
* New test for testing channels / concurrency
* Formatting fix
7 years ago
Kexin Zhao
e4de5dc347
add conv2d fp16 support
7 years ago
Luo Tao
8a3d7647d2
fix AttributeError: 'module' object has no attribute 'framework_pb2'
7 years ago
qingqing01
1cd700d8e8
Fix bug in LRN operator. ( #9124 )
7 years ago
qingqing01
b5a16dca20
Fix a critical bug in softmax_with_cross_entropy_op backward. ( #9120 )
...
* Fix a critical bug in softmax_with_cross_entropy_op, which will lead to the wrong gradients.
* Enhance unit testing.
7 years ago
Yu Yang
d84ddcf123
Stash
7 years ago
Thuan Nguyen
1e4c504e60
Implement Select OP ( #9088 )
...
* Fix old documentation for channel_recv
* Initial design of CSP select
* Redesign channel implementation for Select Op
* Remove unecessary header
* Initial checkin of select op, currently will read all the conditional_op in the cases block and also pull out all channels involved in the select.
* Init python select op API
* Python select bug fix when checking op creates block
* Add case_to_execute as (a) input to select, (b) into the passed inputs into the select op
* Add in addition code for select op
* Init fibonacci test from python
* implement fibonnaci sequence test
* update fib unit test
* Improve select test cases
* Shorten non-pep-8-ed lines
* Add methods on channel needed by select op
* Fix compile issues, finish implementation, still need to debug code
* Fix issue with fibonncci test, it works now!
* Change QueueMessage callback to take in an ChannelAction enum, fix select unit test
* Fix case attributes
* Fix issue with select control flow
* Make cases - previously on each selectcase conditional_block - attributes to select
* Use class constants for type of channel
* Change select op to take in "cases" attribute
* return boolean from select callback function to tell Channel if this RECV or SEND should be executed
* Improve attributes and inputs comments on select op
* Fix issues with python unit test
* Assert fibonacci final output
* Fix issue when channel name / channel var is null for "default" case in select op
* Assert base select test output
* Make QueueMessage use shared pointer and modify the order of the callback
* Fixing the order in which the callback is called
* Move channel utility methods to paddle/fluid/operators/concurrency/channel_util
* Create channel_util and move channel util methods
* Fix crash when calling select_op
* Fix deadlock
* Fix issue of channel destructor deadlock
* Fix precommit issues
* Accidentally checked in changes to beam_search_op, reverting change.
* Fix dependency issue in concurrency cmake
* add device_context dependency for concurrency target
7 years ago
Yu Yang
35744e7b36
Polish code
7 years ago
Xin Pan
d284cf88e5
Merge pull request #9037 from panyx0718/develop
...
Better timeline
7 years ago
dzhwinter
128adf53cb
[Speed]implement cudnn sequence softmax cudnn ( #8978 )
...
* "add softmax cudnn functor support"
* "add testing"
* "refine cmakelist"
* "sequence softmax forward speed up"
* "add softmax grad"
* "fix sequence softmax test"
* "add double precision'
* "fix softmax test"
* "add softmax cudnn support"
* "fix softmax cudnn test"
* "add softmax to nn.py"
* "fix compile bug"
* "refine cmakelist"
* "fix ci"
* "fix based on comment"
* "fix based on comments"
* "fix ci"
7 years ago
Yu Yang
9b9f3f09b3
Merge pull request #9058 from reyoung/feature/parallel_do_bug
...
Fix models #725
7 years ago
Kexin Zhao
e26f1123da
Add fp16 mul op support and bind paddle fp16 to numpy fp16 ( #9017 )
...
* add fp16 mul op support
* small fix
* fix bug
* small fix
* fix PADDLE_WITH_CUDA compiling issue
* reorg code
* test for pybind
* treate as float16 as uint16_t in pybind
* bind np.float16 to paddle float16
* small fix
* clean code
* remove redundancy
* fix mul_op test
* address comments
* small fix
* add is_float16_supported func
7 years ago
dzhwinter
7140071152
"exported scatter to python" ( #9038 )
...
* "exported scatter to python"
* Revert ""exported scatter to python""
This reverts commit 38745a626c3f937bec836c92c98a76deadf0a03d.
* "polish scatter and export to python"
7 years ago
Tao Luo
cf2addd21f
Merge pull request #9067 from luotao1/with_fluid
...
enable WITH_FLUID option
7 years ago
chengduo
11c43e5da3
Merge pull request #9072 from chengduoZH/feature/refine_parallel_do
...
Refine parallel_do_grad
7 years ago
Xin Pan
ebde3b1a0a
Reproduce profiler failure on multi-gpu.
7 years ago
Yu Yang
baef1124fb
ParallelExecutor And dependency engine
7 years ago
Xin Pan
4840c49b27
Better timeline
7 years ago
chengduoZH
ef28e7deba
refine parallel_do_grad
7 years ago
Luo Tao
76e1c6af9f
enable WITH_FLUID option
7 years ago
Yu Yang
41d8bcdc06
Fix models #725
7 years ago
Yu Yang
48f213e5a1
Merge pull request #8991 from reyoung/feature/shuffle_reader
...
Feature/shuffle reader
7 years ago
Cao Ying
881c5227ab
Merge pull request #8843 from zhouhanqing/Paddle-ReduceProd
...
Add product reduction for reduce op.
7 years ago
chengduo
5a159f34ce
Merge pull request #8934 from chengduoZH/feature/Enhance_regularizer_py
...
Enhance regularizer.py
7 years ago
Tao Luo
ad6b59e004
Merge pull request #8927 from ranqiu92/api_std
...
Add api doc std
7 years ago
ranqiu
fc0f92c24f
Update api doc std and fc doc
7 years ago
chengduoZH
93107ce138
add regularization for test_machine_tranlation
7 years ago
武毅
d13ce35875
Feature/send recv can now retry ( #9027 )
7 years ago
chengduoZH
dd8dc0e035
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/Enhance_regularizer_py
7 years ago
chengduo
788c600e9d
Merge pull request #8932 from chengduoZH/feature/add_concat_rows
...
Enhance look_up_table op
7 years ago
chengduoZH
a43eee40f7
follow comments
7 years ago
gongweibao
cbfd15f9d9
Fix debugger bugs. ( #9025 )
7 years ago
chengduoZH
ff09b21cd0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/add_concat_rows
7 years ago
Yu Yang
e13aec601a
Merge pull request #8830 from reyoung/feature/recordio_file_reader
...
Feature/recordio file reader
7 years ago
Yu Yang
a8c076e577
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/shuffle_reader
7 years ago
chengduoZH
b9397b2668
remove concat_rows
7 years ago
QI JUN
1f757f5f70
remove unnecessary build graph logic ( #8896 )
...
* fix mac build error
* remove unnecessary build graph
7 years ago
caoying03
cf08185145
fix bugs and complete codes.
7 years ago
QI JUN
f7e9fe57d3
[Memory]More memory optimization policy ( #8690 )
...
* add memopt level
* add opt level for image classification demo
* clean code
* add delete op
* clean code
* test machine translation demo
* clean code
* clean code
* skip fill constant with force cpu
* clean code
* clean code
* refine code
* clean code
* fix bug
7 years ago
Yu Yang
2ea4a5d96c
Polish double buffer reader
7 years ago
qingqing01
b3d26cd3ad
Fix bug in detection_output and mAP calculation in SSD. ( #8985 )
...
* Clipping bbox in the mAP evaluator calculation.
* Fix bug in detection_output and mAP calculation in SSD.
* Fix bug in detection.py.
* Fix bug in test_detection_map_op.py.
7 years ago
Yu Yang
46ae4075ee
Polish ShuffleReader and test
7 years ago
chengduoZH
f1c3ecb2b2
add concat rows
7 years ago
qiaolongfei
73db6eecca
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into optimize-optimizer
7 years ago
qiaolongfei
63ab12c877
update test_optimizer
7 years ago
Yu Yang
7eedced82a
Polish RecordIO
7 years ago
caoying03
a8cdd97ef5
Merge branch 'develop' into enhance_reshape
7 years ago
caoying03
1d4dfc0966
fix bugs.
7 years ago
Yu Yang
cfca8a3a26
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/recordio_file_reader
7 years ago
Yu Yang
fea43077f6
Refine
7 years ago
pzelazko-intel
4730a4be24
MKLDNN pool2d OP kernel added ( #8879 )
...
* MKLDNN pool2d OP kernel added
* conv2d and pool2d MKLDNN kernels renamed
* MKLDNN conv2d kernel refactoring
7 years ago
chengduoZH
74523c41f1
enhance regularizer.py
7 years ago
Yancey
ccc5418841
Don't save var which type is RAW ( #8928 )
7 years ago
fengjiayi
aa3f5058d3
Merge pull request #8841 from JiayiFeng/dev_double_buffer_for_cpp_reader
...
Basic double buffer for cpp reader
7 years ago
QI JUN
b341bac7e1
Refine cast op ( #8923 )
...
* fix mac build error
* override GetExpectedKernelType for cast op
* fix typo
* add cuda unittest
7 years ago
Yancey
8468037918
Fix sparse update memory error for distributed training ( #8837 )
...
Fix sparse update memory error for distributed training
7 years ago
fengjiayi
b3a11fdf3a
Merge branch 'rm_reader_HasNext' into dev_double_buffer_for_cpp_reader
7 years ago
zhouhanqing
9d78971d8b
Some comments have been modified.
7 years ago
ying
d3d16f76f5
enhance reshape operator.
7 years ago
Yu Yang
a305cb2105
Use new program when unittest
7 years ago
qiaolongfei
4fdd114d34
a little optimize of optimizer
7 years ago
Yu Yang
b536799af0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/recordio_file_reader
7 years ago
Yu Yang
db46778bdd
Polish codes and comments
7 years ago
Yu Yang
72be7a6151
Complete RecordIO reader op
7 years ago
zhouhanqing
732eebb286
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Paddle-ReduceProd
7 years ago
zhouhanqing
15306ffdc3
add product reduction for reduce_op
7 years ago
fengjiayi
4fb7b96756
Add basic double buffer reader
7 years ago
qiaolongfei
fe2d590d21
fix bug
7 years ago
qiaolongfei
142fac18ec
add print_log to memory_optimize
7 years ago
pzelazko-intel
8c71adaa8c
MKLDNN conv2d kernel added ( #8451 )
...
* MKLDNN conv2 OP kernel added
* TODOs added
* mkldnn conv2d OP refactor
* CanCUDNNBeUsed and CanMKLDNNBeUsed moved
7 years ago
Yan Chunwei
049383c615
add inplace to reshape ( #8747 )
7 years ago
fengjiayi
87568cfd96
Merge pull request #8643 from JiayiFeng/remove_evaluator
...
Removes Accuracy
7 years ago
fengjiayi
f2cf2a7afc
Merge pull request #8800 from JiayiFeng/fix_a_bug_in_backward
...
fix a bug in backward
7 years ago
fengjiayi
55e11e21cb
fix_a_bug
7 years ago
qingqing01
0e1f82fd2a
Fix bug in detection mAP evaluator. ( #8778 )
...
* Fix mAP evaluator bug.
* Fix bug in detection mAP evaluator.
* Fix unit testing.
* Support to set background label index in detection mAP op.
7 years ago
whs
f608bb2756
Merge pull request #8651 from wanghaoshuang/fix_pool
...
Add ceil_mode option for pool2d and pool3d
7 years ago
Qiao Longfei
767acc6c9f
Merge pull request #8744 from jacquesqiao/add-program-cache-for-executor
...
Add program cache for executor.py
7 years ago
fengjiayi
ea508c9ef2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into remove_evaluator
7 years ago
kexinzhao
6720681cc2
Enable is_test attr of batch norm and drop out op for test program ( #8642 )
...
* fix is_test issue
* add paddle enforce
* fix bug
* add new func
* small fix
* address comments
7 years ago
qiaolongfei
5d9dbe1e33
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add-program-cache-for-executor
7 years ago
qiaolongfei
1ee77841be
add get_program_cache_key function
7 years ago
Qiao Longfei
f45a82be4e
change learning_rate_decay to learning_rate_scheduler ( #8583 )
...
* change learning_rate_decay to learning_rate_scheduler
* optimize code
* change nn.cast to tensor.cast
7 years ago
gmcather
bc36396d71
fix test_understand_sentiment bug ( #8767 )
7 years ago
qiaolongfei
b63901f523
optimize program_cache_key, delete cache when use_program_cache is false
7 years ago
qingqing01
608feea204
Implement detection mAP evaluator wrapper and unify label format between SSD loss and mAP evaluator ( #8736 )
...
* Implement mAP evalutor Python interface.
* Fix unit testing and uniy label format between SSD loss and mAP evalutor.
* Update doc.
7 years ago
qiaolongfei
82a8e080cb
update comment of executor.run
7 years ago
qijun
00fbe67ab4
disable nccl in memopt fit a line unittest
7 years ago
qiaolongfei
5dbb71b21f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add-program-cache-for-executor
7 years ago
qiaolongfei
0d70231ca1
add check
7 years ago
qiaolongfei
c84fc6d4cf
fix bug
7 years ago
fengjiayi
5b635682e6
Merge pull request #8711 from JiayiFeng/add_save_load_layer
...
Add layers for save/load op
7 years ago
qiaolongfei
338f8883b4
add more strict check for program cache
7 years ago
fengjiayi
e26cc4fe73
fix_an_error
7 years ago
qiaolongfei
a8fd6d581f
add use_program_cache to executor.run
7 years ago
fengjiayi
bd8440921c
move save/load from nn.py to tensor.py
7 years ago
fengjiayi
cf87f39b2b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into remove_evaluator
7 years ago
qingqing01
bbf98a0176
Refine the doc in detection_output API. ( #8689 )
...
* Refine the doc in detection_output API.
* Refine the doc.
7 years ago
fengjiayi
1b28739cb9
update doc string
7 years ago
fengjiayi
f8029403a0
remove Evaluator.Accuracy
7 years ago
qiaolongfei
0876fc1451
fix feed var
7 years ago
qiaolongfei
4977d99b05
add program cache for executor
7 years ago
Helin Wang
e9b488635c
Fix vgg16 fc layer size: 4096 rather than 512
7 years ago
fengjiayi
994b52fc2b
Add layers for save/load op
7 years ago
Qiao Longfei
0240bb7796
Merge pull request #8516 from QiJune/memopt_multi_gpu
...
make memory optimization module compatible with parallel_do
7 years ago
qijun
191d8dcec1
set nccl = true
7 years ago
qijun
7dbdf007ec
remove nccl True in unit test
7 years ago
whs
acbda44c11
Merge pull request #8365 from wanghaoshuang/seq_error
...
Add sequence error output to edit distance evaluator
7 years ago
Thuan Nguyen
c9dd4e57f1
Unittests concurrency ( #8666 )
...
Python Unit Tests for CSP
* Simple Channel Send and Receive test
* Daisy Chain test with 100 channels/Go ops
7 years ago
typhoonzero
17a311e285
fix rename de-ref again
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
d3fbede92d
Merge pull request #8564 from reyoung/feature/add_global_step
...
Add global_step in nn.py
7 years ago
emailweixu
eac2c3cf36
Merge pull request #8505 from emailweixu/math_op
...
Correctly handling variable with batch dimension for math ops.
7 years ago
Abhinav Arora
0d878e4c09
Add Go_op, Channel_create, channel_close, channel_send and channel_receive ops ( #8593 )
...
* Adding Python boilerplate code for Go op
* Add very basic test case
* Adding the python logic for go routine
* Fix syntax
* Changing test to notest
* Rename Routine to Go
* Combining GoGuard and Go in one class
* Modify test
* Adding fluid close channel
* Fixing __init__.py for calling fluid.go()
* Adding stubs for channel methods and updating test case
* Removing import *
* Adding imports from concurrency
* Initial commit of GO_OP (for varun)
* Creating local scopes and go through them
* Updated go op inputs persistability enforcement
* Add thread execution; compile failing though
* Fix go op
* Cleaned up Go op
* Fix yapf format issue
* Readd warp ctc dir for unit tests
* Updated make_channel, channel_send, channel_recv and channel_close
* Moved thread function to another method, update unit tests
* remove output var
* Add stubs for channel operators
* Updating concurrency with signatures
* Updated the signature with return status
* Fixed dtype in variables
* Updating stub of ChannelSend + add infershape
* Updating stub of ChannelRecv + add infershape
* Updated signature
* Adding the channel_create operator
* Merge channel send+receive ops
* Update concurrency tests using all operators
* Updating the create op with ChannelHolder
* Fix issues with channel_create_op
* Add the implementation for channel_close op
* Add channel close operator, fix channel close op
* Adding the channel_send op
* Comment channels C++ and Python code
* Concurrency python api comment fix
* Update unit test to add Status variable
* Adding channel receive operator
* Update concurrency test to demonstrate a complete CSP flow
* Fix clang-format issues
* Fixed "Out" parameter name
* Fixing merge conflict in framework.py
* Add channel ops to framework.py no_kernel_op_set
* Seperating channel_send and channel_recv operators
* Documenting capacity type
* Update concurrency test to create go block as child block of main program
* Changing set status implementation
7 years ago
Yancey
718642e93f
Merge pull request #8659 from Yancey1989/fix_dist_bug
...
Registry var type infer in split_selected_rows op
7 years ago
Yancey
fee90b5074
Add async sgd document ( #8474 )
...
* add async sgd document
* fix ci
* update by comment
* update doc
7 years ago
Yancey1989
6e83c00301
Registry var type infer in split_selected_rows op
7 years ago
Yuan Gao
e84615bae6
Fix box coder op ( #8647 )
...
* fix ssd problems
* fix box decoder op
* fix dimension problem in detection tests
* update detection doc
* Update detection doc
* Update detection doc
* update detection doc
* update detection doc
7 years ago
Qiao Longfei
be9a2b2e30
Merge pull request #8652 from jacquesqiao/fix-parallel-do-with-non-parameter
...
parallel-do should not merge the gradient of parameter that stop_gradient=True
7 years ago
wanghaoshuang
8d57e9c76f
Rename 'edit distance rate' to 'edit distance'
7 years ago
wanghaoshuang
795f572fee
Rename 'seq_error' to 'instance_error'
7 years ago
fengjiayi
101378c878
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into remove_evaluator
7 years ago
qiaolongfei
c4996fb801
Merge branch 'feature/parallel_nccl_not_support_batchnorm' of https://github.com/reyoung/Paddle into fix-parallel-do-with-non-parameter
7 years ago
qiaolongfei
f8d0d84f7e
fix multi card
7 years ago
qingqing01
f9c1b6f9ae
Fix the backward transpiler bug in ssd_loss API. ( #8648 )
7 years ago
Tao Luo
62698d6e17
Merge pull request #8634 from typhoonzero/fix_renamevar_ref
...
Fix rename_var de-ref
7 years ago
qiaolongfei
5d305070ec
parallel-do should not merge the gradient of parameter witch set stop_gradient=True
7 years ago
Yu Yang
77ff14aa78
Not support batchnorm
7 years ago
wanghaoshuang
1e510d9914
Add ceil_mode option for pool2d and pool3d
7 years ago
fengjiayi
d01318c0be
add WeightedAverage
7 years ago
wanghaoshuang
87d90d2afd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_error
7 years ago
typhoonzero
1e9efc2272
add comments
7 years ago
qingqing01
69643b5e89
Enable the SSD loss to support normalization by the total number of output locations. ( #8630 )
...
* Register more data type for reshape operator.
* Enable the SSD loss to support normalization by the total number of output locations.
* Fix the doc format.
7 years ago
typhoonzero
bd87882651
fix rename_var deref
7 years ago
Yu Yang
2a4e7add6f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/add_global_step
7 years ago
chengduo
cf883d9caf
Merge pull request #8613 from chengduoZH/feature/fix_bug_conv_op
...
Fix conv_op bug
7 years ago
xuwei06
e9b8ebf42c
Correctly handling variable with batch dimension for math ops.
...
When the second argument contains batch dimension, the axis should be 0.
Also makes elementwise ops more tolerant at handling tensors with trailing
singular dimensions.
7 years ago
chengduoZH
7cf2c05fd2
add unit test for input's size is 1x1
7 years ago
武毅
4d4322a698
merge fluid dist tests ( #8573 )
...
* merge fluid dist tests
* update cmake
7 years ago
Wang Hao
ec33832602
Merge pull request #8577 from wanghaox/python_map
...
add warrper for detection map operator
7 years ago
guru4elephant
daa8ed338f
Merge pull request #8495 from PaddlePaddle/fix_conll05_bug
...
Update conll05.py
7 years ago
Yancey
c02f773a53
Fix dist demo var type error ( #8600 )
...
* Fix dist demo error
* revert trainer_id
7 years ago
Xin Pan
decaad5ccc
Merge pull request #8542 from panyx0718/test
...
Extend current profiler for timeline and more features.
7 years ago
wanghaox
1e1202b659
merge detection.py
7 years ago
Yu Yang
5f70629ffa
Better function name
7 years ago
Yu Yang
9db107da65
Renamed and add comments
7 years ago
Xin Pan
1783ab1dca
move test_nvprof to new location
7 years ago
qingqing01
4948f7b3fe
Enhance bipartite_match_op to support argmax matching after bipartite matching. ( #8580 )
...
* Enhance bipartite_match_op to support argmax matching after bipartite matching.
* Fix typo error.
7 years ago
Tao Luo
dce0383f89
Merge pull request #8404 from Xreki/core_refine_inference
...
Refine the inference API and unittests
7 years ago
Xin Pan
b9ec24c6e9
Extend current profiler for timeline and more features.
7 years ago
chengduo
087d8e7fae
Merge pull request #8551 from chengduoZH/fixbug/conv2d_python
...
Fix the bug of conv2d
7 years ago
qijun
1cce055bb3
merge baidu/develop
7 years ago
武毅
fe7c181491
Merge pull request #8538 from typhoonzero/add_raw_var_type
...
fix short connection again
7 years ago
wanghaox
4161328eb5
add warrper for detection map operator
7 years ago
Liu Yiqun
efb6ba3531
Merge branch 'develop' into core_refine_inference
7 years ago
Yu Yang
2af9aac2cb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/add_global_step
7 years ago
Yu Yang
efc094f564
Merge pull request #8543 from reyoung/feature/enhance_layer_generator
...
Enhance layer_function_generator
7 years ago
Yu Yang
a16ed651e9
Fix CI
7 years ago
chengduoZH
5d30142889
follow comment from panxin
7 years ago
Yu Yang
175cf6e024
Add global_step in nn.py
7 years ago
qijun
8b7516ed03
test memopt fit a line demo with nccl
7 years ago
Yu Yang
777a281a4f
Fix CI and enhance gitignore
7 years ago
typhoonzero
a50230add6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_raw_var_type
7 years ago
qiaolongfei
ea9e62b8fc
optimize code
7 years ago
Yu Yang
5f1a577e33
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/enhance_layer_generator
7 years ago
qiaolongfei
a636aa585b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-optimize-multi-program
7 years ago
chengduoZH
470d671792
follow comment
7 years ago
qijun
abb9405783
Merge remote-tracking branch 'baidu/develop' into memopt_multi_gpu
7 years ago
chengduoZH
46bc0fec79
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fixbug/conv2d_python
7 years ago
chengduoZH
c8ed768ccc
refine pool2d
7 years ago
jiaozhenyu
97094e46ff
Update conll05.py
...
Fix #8079 and remove the redundant code
7 years ago
chengduoZH
2398db5e5c
follow comments
7 years ago
Luo Tao
ea3be884e8
Merge branch 'develop' into fluid_python
7 years ago
chengduoZH
93e0609f1d
fix bug
7 years ago
Luo Tao
bde090a975
replace paddle.v2.fluid by paddle.fluid in tests
7 years ago
Luo Tao
f7fa7c57c8
modify related build code after the move
7 years ago
qiaolongfei
3b8bade617
init learning_rate_map when input learning rate is a Variable
7 years ago
Luo Tao
b11956a0b5
move Fluid API code out of V2 API code
7 years ago
qiaolongfei
28ff1cdaa6
create learning rate for each program
7 years ago
Yu Yang
3959023099
Enhance layer_function_generator
...
* Generated functions can take `*args` as inputs.
7 years ago
fengjiayi
757e2c03ba
move layer accuracy to metric.py
7 years ago
fengjiayi
50a6e7c5f6
Merge pull request #8534 from JiayiFeng/fix_bn_status
...
Change BN's 'mean' and 'variance' from persistable variable to Parameter
7 years ago
Qiao Longfei
b2f530e3cc
Merge pull request #8532 from jacquesqiao/fix-compare-op
...
Fix compare op
7 years ago
typhoonzero
9b5be6ef43
fix short connection again
7 years ago
fengjiayi
cf7c745c48
change type of BN's 'mean' and 'variance' from persistable variable to Parameter
7 years ago
Yu Yang
eebfb71d3f
Merge pull request #8524 from reyoung/feature/unique_name_guard
...
Moving unique_name to python
7 years ago
qiaolongfei
28d07e3cb8
add python part of compare op
7 years ago
Yu Yang
63563b2fec
Follow comments
7 years ago
Yu Yang
ff54416931
Add unittest of unique_name
...
* Also follow comments, change prefix to key
7 years ago
Yu Yang
044fb0fb5a
Merge pull request #8511 from reyoung/feature/understand_sentimental_dynrnn
...
Test Parallel.Do and DynRNN
7 years ago
Yu Yang
e8cb97b8a2
Moving unique_name to python
...
* Add reset and guard to unique_name
7 years ago
qijun
b97d61adc2
merge baidu/develop
7 years ago
Yang Yang(Tony)
d4dabe3e0b
framework.py enhancement ( #8471 )
...
* framework.py enhancement
* polish
* clean up
* enforce the inputs of Operator __init__ of type Variable
* python2 assert
* reverse assert
7 years ago
Yu Yang
7a9098a60e
Add block.fwd_block_id ( #8489 )
...
* Add block.fwd_block_id
* fix bug in memory optimization transpiler
* Change DFS to BFS
* Add comments
7 years ago
qijun
50cf103e60
make memory optimization module compatible with parallel_do
7 years ago
Yu Yang
71053063a1
test Parallel.Do and DynRNN
7 years ago
Yu Yang
7ffd50b9de
Merge branch 'feature/add_fwd_block_id' of github.com:reyoung/Paddle into feature/add_fwd_block_id
7 years ago
Yu Yang
aaf818f583
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/add_fwd_block_id
7 years ago
Yu Yang
65058cfb7a
Change DFS to BFS
7 years ago
qijun
bf92706c58
fix bug in memory optimization transpiler
7 years ago
haonanyu
59bfa3e850
fix a bug of sub() in layer_math.py
7 years ago
jiaozhenyu
0d8192fbec
Update conll05.py
...
the label file in the conll05 dataset has a wrong order
7 years ago
武毅
c490f1b38b
Merge pull request #8049 from typhoonzero/no_counter_on_pserver
...
Enhancement/transpiler rename grad vars to add trainer id, so RPC call can be retried.
7 years ago
Yu Yang
14f8370738
Add block.fwd_block_id
7 years ago
helinwang
633756ad13
Merge pull request #8361 from tonyyang-svail/backward_on_parallel_do
...
Backward on parallel do using nccl
7 years ago
Siddharth Goyal
a040239d3a
Add conv test case for inference-recognize digits ( #8466 )
7 years ago
Yang Yang
4b957af237
clean up
7 years ago
Yang Yang
ae69f0b04f
merge develop
7 years ago
Yang Yang
ec01f635f5
merge develop
7 years ago
Abhinav Arora
c7ad26d6a4
[WIP] Move DataType enum inside VarType ( #8447 )
...
* Move Pod Types from DataType enum to Type enum
* Fixed data_type.h
* Fix type in TensorDesc
* Add comment to framework.proto
* Fixed type in data_type.h
* Updated format of type in data_type.h
* Fix var_desc.h
* Fix op_kernel_type.h
* Fixed data_type_transform_test.cc
* Fix operator.h
* Fixed data_type_transform.cc
* Fixed op_kernel_type_test.cc
* Fix operator.cc
* Fixed data_layout_transform_test.cc
* Fix var_desc.cc
* Fixed assign_value_op.cc
* Fixed assign_value_op.h
* fixed protobuf.cc
* Fix data_layout_transform_test.cc and op_kernel_type_test.cc
* Fixed rnn_memory_helper_op.cc
* Fix progrma_desc_test.cc
* Fixed fill_constant_batch_size_like_op.cc
* Fix operator_test.cc
* Fixed fill_constant_op.cc
* Fixed gaussian_random_op.cc
* Fixed uniform_random_op.cc
* Fixed edit_distance_op.cc
* Fixed fill_constant_batch_size_like_op.cc
* Fixed rnn_memory_helper_op.cc
* Fixed chunk_eval_op.cc
* Fixed assign_value_op.cc
* Fixed assign_value_op.h
* Fixed cast_op.h
* Fixed cast_op.h
* Fix fill constant op
* Fixed clang for assign_value_op.cc
* Fix one_hot_op.h
* Fix one_hot_op.cc
* Fix fill_op.cc
* Fixed sum_op.cc
* Fixed sum_op clang
* Fix uniform_random_op.cc
* Fix gaussian_random_op.cc
* Fix backward.cc
* Fix protobuf.cc
* Fixed prune_test.cc
* Fixed op_registry_test.cc
* Fix data_device_transform_test.cu
* Fix travis error
* Fixed one_hot_op.cu
* Fixed op_registry_test.cc
* Fixed nccl_op.cc
* Fixing python tests
* Revert "Fixing python tests"
This reverts commit fccaa4c5818ed9f379ea1ce4315066cc78076c64.
* Fixing Pybind to remove data type
* Fixing tensor.py
* Updated the new files:
* Resolve error in merge conflict of fill_constant_batch_size_like_op.cc
7 years ago
Abhinav Arora
74404fadcd
Python implementation for a proposed Go Op. ( #8434 )
...
* Adding Python boilerplate code for Go op
* Add very basic test case
* Adding the python logic for go routine
* Fix syntax
* Changing test to notest
* Rename Routine to Go
* Combining GoGuard and Go in one class
* Modify test
* Adding fluid close channel
* Fixing __init__.py for calling fluid.go()
* Adding stubs for channel methods and updating test case
* Removing import *
* Adding imports from concurrency
7 years ago
Yang Yang
3494b79c4d
test error clip
7 years ago
Yang Yang
eb82b5ccc0
test error clip
7 years ago
Yang Yang
5229ccbdc7
merge develop
7 years ago
Yu Yang
89ead8d151
Feature/understand sentiment parallel do ( #7994 )
...
* Support parallel test for understand_sentiment
* Full test on understand_sentiment
* Skip normal tests
* Debug CI
* Enable benchmark
* Revert init.cc
* Make CI pass
7 years ago
emailweixu
6752b06f8c
Generating random numbers with given batch size ( #8337 )
...
* Generating random numbers with given batch size
uniform_random_batch_size_like_op
gaussian_random_batch_size_like_op
* More comments about random seed.
* Move test_*_random_batch_size_like_op to unittests
7 years ago
Yang Yang
9d26f1a3df
callback to list of callbacks
7 years ago
TomorrowIsAnOtherDay
ca126fcab7
add python API for one_hot OP ( #8444 )
...
* add python API for one_hot OP
* fix code style
* fix code style_2
7 years ago
Yang Yang
3f09620ef2
pass compile
7 years ago
Yang Yang
e021ad674e
Merge remote-tracking branch 'upstream/develop' into backward_on_parallel_do
7 years ago
emailweixu
dafc7e3643
Check data format consistency in data_feeder ( #8417 )
7 years ago
typhoonzero
1494673dcb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into no_counter_on_pserver
7 years ago
typhoonzero
8acad27e8d
refine code
7 years ago
Yang Yang
7129fa3c90
merge develop
7 years ago
Xin Pan
cde6241a1b
Run Python OP tests in a single Python process to improve test time. ( #8362 )
...
Currently, our tests run with 2 GPUs, the init time is absurdly long:
about 4s for each process. Currently, we run each OP test on
different processes. This PR:
1. create cmake function py_test_modules which will generate the
Makefile that runs a list of Python unittest module in a single Python
process.
2. move all "python unittest compatible" (e.g., used the unittest
package, not just a regular python file). from fluid/tests to
fluid/tests/unittests.
3. cmake now will run all OP tests in fluid/tests/unittests in a
single process, except the time-consuming tests, they are separated
into different processes to utilize parallelism. Please make sure to
use the unittest package if you put the python test file in
fluid/tests/unittests
4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
to disable unittest, we can not do it when running all tests in a
single process since it will terminate the process without running the
other tests. Instead, the test is disabled in
fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
item. Please disable the unittest from
fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
Python file, for all Python file in fluid/tests/unittests/.
5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
tests in separate process so that they can be tested individually.
7 years ago