minqiyang
a2c017da9b
1. merge simple_dist_transpiler to distribute_transpiler
...
2. add align_var_to_block argument to func transpile
3. remove concat and spilt if align_var_to_block is False
4. unittests for simple_dist_transpiler
8 years ago
Haichao Zhang
21e794cf67
change name debuger to debugger ( #10949 )
8 years ago
tangwei12
bca4da4225
cancle only chief delete files
8 years ago
tangwei12
e44c278e60
bug fix about clean
8 years ago
tangwei12
94eaf94cf5
bug fix about lru and save
8 years ago
Xin Pan
35d5b1b9e2
Merge pull request #11036 from panyx0718/dist_timeline
...
better profiler and benchmark
8 years ago
Xin Pan
f14e579cc3
clean up
8 years ago
tangwei12
b44ede8033
bug fix
8 years ago
fengjiayi
32c0e82ca0
fix two bugs
8 years ago
Yu Yang
14905516aa
Merge pull request #10970 from JiayiFeng/dev_add_random_crop_op
...
Add random crop op
8 years ago
tangwei12
d712af25dc
add distribute config
8 years ago
fengjiayi
3bce3dbce1
fix a bug
8 years ago
Xin Pan
3cb6395688
better profiler and benchmark
8 years ago
mozga-intel
30d32035b2
Withdraw mkldnn mul
8 years ago
tangwei12
0deb6f90ba
annotation optimized and code style optimized
8 years ago
fengjiayi
c95cd4742f
Merge pull request #10975 from JiayiFeng/fix_bug_in_uint8_support
...
Correct uint8 support
8 years ago
qingqing01
3a29821bd5
Develop a fake dequantized op for fixed-point quantization training framework. ( #10965 )
...
* Develop a fake dequantized op for fixed-point quantization training framework.
* Add the missing file.
8 years ago
tangwei12
0211c5df0a
bug fix
8 years ago
walloollaw
3e177b9d91
ISSUE-10996: support name setting for layers topk/softmax/concat/dropout ( #10999 )
8 years ago
Kexin Zhao
60783a753a
Modify machine translation example using new LoDTensor API ( #11018 )
...
* modify old machine translation
* modify new_api machine translation
8 years ago
Siddharth Goyal
88aa2d8a6a
Fix order of inputs in infer() of label_semantic example ( #10993 )
8 years ago
tangwei12
9357078983
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into new_api_about_cpkt
8 years ago
tangwei12
9086043090
bug fix and optimize
8 years ago
Qiyang Min
580340eeb2
Shutdown pserver gracefully when SIGINT and SIGTERM was sent ( #10984 )
...
* 1. implement StopAll in ListenAndServOp
2. make pserver receive the SIGINT and SIGTERM from outside
3. add unittests for listen_and_serv_op in python
* 1. add blocking queue set to record queue
2. aware all blocking queue when exit and exit gracefully
* 1. Remove comment lines from blocking_queue.h
2. Implement SignalHandler and move all global vars and funcs into it
* 1. Make code follows the style check
2. Move the SignalHandler out of the unnamed namespace
* 1. Make yapf happy
* 1. Call Stop() in destructor to release the resource allocated by ListendAndServOp
2. Change exit status to EXIT_SUCCESS after handling the signal from outside
3. Remove the mis-usage of REMOVE_ITEM in unittests
* 1. use DISABLE_COPY_AND_ASSIGN
2. use program once macro only
8 years ago
tangwei12
486e1e337d
bug fix and optimize
8 years ago
tangwei12
ad9dfeb018
bug fix and optimize
8 years ago
Qiao Longfei
ab953baec6
Merge pull request #10973 from jacquesqiao/fix-prefetch
...
Fix and optimize async distribute lookup table
8 years ago
qingqing01
15db5a5565
Support groups in transposed conv2d API. ( #11005 )
8 years ago
qiaolongfei
59a25fd2c9
update
8 years ago
qiaolongfei
74701b2692
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-prefetch
8 years ago
qiaolongfei
21f068ab19
optimize the name of table_grad_list
8 years ago
tangwei12
5f5d6a9dc7
optimized checkpoint and save_model
8 years ago
qiaolongfei
16027ea111
use block.clone_variable instead of _clone_var
8 years ago
fengjiayi
3bcb67f1db
fix a bug
8 years ago
tangwei12
5eea5db95f
optimized checkpoint and save_model
8 years ago
Yancey1989
60d827a8b9
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
Yancey1989
20c24c05aa
singleton rpc_client
8 years ago
qiaolongfei
c797adede7
append table grad to grad_to_block_id
8 years ago
tangwei12
514b2427ed
add save/load persist_vars_without_grad
8 years ago
fengjiayi
9752e5bcbd
Add uint8 support in data_feeder.py
8 years ago
qiaolongfei
9f4b66f684
table gradient should be split and send to each pserver
8 years ago
fengjiayi
291f7f8ce5
fix a error
8 years ago
fengjiayi
632108dc2e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_random_crop_op
8 years ago
fengjiayi
d44dbc4a52
fix errors
8 years ago
Yancey1989
ad6c0142c4
clean up codes
8 years ago
fengjiayi
3e7ce5836f
stash
8 years ago
tangwei12
b2cb7c6f92
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into new_api_about_cpkt
8 years ago
qingqing01
91bd5835df
Fix fill_constant_batch_size_like_op when input is LoDTensor. ( #10943 )
8 years ago
Yancey1989
ceefbf3259
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
whs
376c948e88
Polygon box transform op for OCR East detection. ( #10802 )
...
* Add quad transform.
* Fix some syntax error.
* Fix CUDA kernel launch configure.
* Generalize geometry channels.
* Rename QuadTransform to PolygonRestore.
* Rename op.
* Rename op and fix computation.
* Modify CMakeLists.txt for box_restore op.
* Refine code:
1. rename op
2. uncomment unitest on GPU
8 years ago
Siddharth Goyal
fb43c6b4a5
Fix attribute name in new API ( #10947 )
8 years ago
Kexin Zhao
c79ec9f002
Add create LoDTensor from list option and simplify recommender book example ( #10946 )
...
* add create lodtensor from list
* modify book example
8 years ago
baiyf
1ba2581a52
Unified bilinear_interp op Python interface specification ( #10925 )
...
* unify UpsamplingBilinear2d interface specification
* unify UpsamplingBilinear2d interface specification
* fix name conventions
* small fix about computation order
8 years ago
Wu Yi
36fd705ad3
add random reader op export ( #10914 )
8 years ago
Yu Yang
2013b1cc18
Merge pull request #10930 from reyoung/feature/make_understand_sentiment_serial
...
Disable unstable test
8 years ago
fengjiayi
cd8700f172
Merge pull request #10872 from JiayiFeng/dev_CustomReader
...
CustomReader
8 years ago
yuyang18
dd4c977401
Diable buggy test
8 years ago
Yancey1989
0aa6f9e934
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
QI JUN
c509c82546
Fix range in data flow analysis ( #10865 )
...
* fix range in data flow analysis
8 years ago
fengjiayi
8147063539
follow comments
8 years ago
Kexin Zhao
4d29a5d3c3
first commit
8 years ago
Kexin Zhao
defbaff2f6
Merge pull request #10886 from kexinzhao/label_semantic_roles_lod
...
Simplify label_semantic_roles book example using new LoDTensor API
8 years ago
Kexin Zhao
b3f650d1c6
Merge pull request #10889 from kexinzhao/understand_sentiment_lod
...
Modify understand sentiment example using new LoDTensor API
8 years ago
Kexin Zhao
6133728a67
fix error
8 years ago
Kexin Zhao
69e0af56cd
do this to new_api example
8 years ago
Kexin Zhao
dbc6102e55
simplify label_sementic_example
8 years ago
Nicky Chan
5b9d09d729
Merge branch 'develop' into high_level_api_machine_translation
8 years ago
Siddharth Goyal
87ff95d928
[Test-driven] Implementing label_semantic_role with new API ( #10757 )
...
* Update label role implementation to use new API
* Try trainable embedding layer
* Fix feed order
* Add infer call
8 years ago
daminglu
e0d5702e82
add cmake for word2vec ( #10890 )
8 years ago
fengjiayi
239546a6c1
add unit test and fix a bug
8 years ago
Yancey1989
fc06222ae9
fix async worker
8 years ago
daminglu
0cd3d46147
Recommend sys new api ( #10894 )
8 years ago
Yu Yang
d406c76a30
Merge pull request #10744 from reyoung/feature/refine_parallel_executor
...
Disable and fix tests on multi devices.
8 years ago
daminglu
cc7b4b9ef1
add return_numpy back ( #10892 )
8 years ago
Yu Yang
8653cf3004
Merge pull request #10656 from reyoung/feature/support_op_role
...
Add `op_role` into OpDesc.
8 years ago
baiyf
16b09d3c36
Expose bilinear operator into Python API. ( #10875 )
...
* Expose bilinear operator into Python API
* delete unused lines
* delete unused lines
* fix typos
* fix name arg and typos
8 years ago
Nicky
b0868af5d7
Simplify Machine Translation demo by using Trainer API
8 years ago
Kexin Zhao
8cce330430
fix error
8 years ago
Kexin Zhao
5a10d833db
initial commit
8 years ago
Kexin Zhao
224bd8f0de
Add lod_tensor.py for ease of creating lod tensor in book examples ( #10817 )
...
* add lod_tensor utility python module
* add lod_tensor test code
* add more lod tensor tests
* modify word2vec example code using new api
* add comment
8 years ago
tangwei12
73b67236f4
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into new_api_about_cpkt
8 years ago
tangwei12
dca0b6d9cc
restore param_path
8 years ago
tangwei12
397a69d942
Merge pull request #10532 from seiriosPlus/checkpoint
...
add checkpoint util class and implement
8 years ago
Yibing Liu
20bdc3e109
Merge pull request #10846 from kuke/deconv_group
...
Add groups for conv transpose ops
8 years ago
tangwei12
2c47e067ae
add clean checkpoint
8 years ago
tangwei12
cf3fb2488c
add clean checkpoint
8 years ago
fengjiayi
530556dd97
Merge pull request #10864 from JiayiFeng/dev_expose_random_gen
...
expose random_data_generator
8 years ago
yuyang18
50dab46033
Fix bug
8 years ago
Yibing Liu
4bafbf411c
Enable groups for conv3d transpose op
8 years ago
fengjiayi
4b395b0809
fix errors
8 years ago
yuyang18
0dcfb7b45e
Remove buggy tests
8 years ago
yuyang18
fcbf19bf93
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/refine_parallel_executor
8 years ago
Yancey1989
540b45350d
use req_count as atomic type
8 years ago
Tao Luo
a675289289
Merge pull request #10854 from weixing02/RMSProp
...
Add api docs for RMSProp and modelAverage
8 years ago
yuyang18
23e19e2e42
Fix bug
8 years ago
fengjiayi
c2436f2ca5
expose random_data_generator
8 years ago
Yu Yang
a9f9fbadd9
Merge pull request #10832 from typhoonzero/fix_server_port_file_conflict
...
fix dist test
8 years ago
yuyang18
9ab12df62d
Disable no good tests
8 years ago
Yancey1989
6debbcd9f9
connect fetch barrier and concat op
8 years ago
tangwei12
192f9a5a70
bug fix
8 years ago
whs
8655904be2
Enhance reduce op ( #10708 )
...
* Enhance reduce op for multi dims.
* Uncomment some unitest.
* Uncomment unitest.
* Remove unused code.
* Fix infershape and python wrapper.
* Add more examples.
* Fix l2_normalize.
* Fix normalization_wrapper.
* Polish code.
1. Rename unitest function.
2. Rename const variable.
8 years ago
tangwei12
d96b4427a2
rename checkpoint folder to checkpoint_serial
8 years ago
fengjiayi
df8fbf80d9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_CustomReader
8 years ago
fengjiayi
b48eba1902
complete python API and unit test
8 years ago
Yibing Liu
adbf97b42d
Merge branch 'develop' of upstream into deconv_group
8 years ago
Yibing Liu
7a557040e7
Expose param group in conv2d_transpose api
8 years ago
weixing02
7f40cff913
yapf adjust
8 years ago
Yibing Liu
6e13c86dff
Enable multiple groups for cudnn conv transpose
8 years ago
tangwei12
9d985340e5
update annotation grammar
8 years ago
Siddharth Goyal
80868f799a
Add dynamic rnn model for sentiment analysis with new API ( #10849 )
8 years ago
Siddharth Goyal
e858471a16
Add conv model for sentiment analysis with new API ( #10847 )
8 years ago
yuyang18
fb370f4411
Refine code
8 years ago
Yibing Liu
669c0df69e
Add groups for conv transpose
8 years ago
yuyang18
b857ff1b45
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/refine_parallel_executor
8 years ago
whs
67f5eaff78
Add dice loss ( #10717 )
...
* Add dice loss.
* Fix comments.
* Remove unused code.
8 years ago
yuyang18
27e4ce7287
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/support_op_role
8 years ago
tangwei12
27b717516f
update python annotation
8 years ago
Yancey1989
e9abc66910
fix pe
8 years ago
yuyang18
b920d2c281
enable serial tests
8 years ago
yuyang18
1b69c25c92
Merge branch 'feature/sequnce_run_tests' into feature/refine_parallel_executor
8 years ago
yuyang18
91007fe974
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/refine_parallel_executor
8 years ago
yuyang18
1426d794ff
Force some unittests serial
8 years ago
yi.wu
5fe8de9d8a
fix dist test
8 years ago
tangwei12
b044724db7
update fluid Train API param_path to checkpoint_config
8 years ago
whs
86d7cc9789
Add bias for gru_unit_op and fix activation function ( #10087 )
8 years ago
Qingsheng Li
0d94ab1306
Fixed var not found bug ( #10808 )
8 years ago
yuyang18
0e5a278c23
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/support_op_role
8 years ago
tangwei12
e901de6681
update var name
8 years ago
qingqing01
2a77fc507b
Enhance detection_map_op and more check in prior_box API. ( #10796 )
...
1. If all bboxes are not difficult ground truth, the users can not define the data layer for this flag and not the input can be None for detection_map API.
2. Set default value for aspect_ratios in prior_box API.
3. Add more check in prior_box API.
8 years ago
Siddharth Goyal
f6543a1181
[Test-driven] Implementing sentiment_analysis with new API ( #10812 )
8 years ago
tangwei12
2412dee376
code optimized
8 years ago
tangwei12
06aa23b060
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into checkpoint
8 years ago
tangwei12
be05056524
delete old checkpoint code
8 years ago
Yancey1989
952fa04009
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
tangwei12
ed2129cc50
revert distribute_transpiler.py
8 years ago
tangwei12
01975ec1c7
add checkpoint in io
8 years ago
yuyang18
0ce840277e
Skip hang op
8 years ago
Qingsheng Li
9ff6715f8a
Enhanced is_empty_op for our seq2seq model ( #10704 )
...
* Added kernel to is_empty_op
* Added python API
* Updated code as required
* Updated unittests
8 years ago
tangwei12
5451c78ded
add checkpoint in io
8 years ago
dzhwinter
5828101c23
make uint8 support in data_type transform and memory optimize ( #10715 )
...
* "a piece of job."
* "fix typeo"
* "fix ci"
8 years ago
yuyang18
3ec17dcb73
Fix cmake
8 years ago
yuyang18
8c6f9389ee
Disabled hanged unit tests
8 years ago
yuyang18
56c2e4a74b
disable test together
8 years ago
yuyang18
f06515119e
Extract tests from test_parallel_executor
8 years ago
baiyf
a66afe0675
Expose prior_box op into detection.py ( #10773 )
...
* package prior_box op
* add doc
* add unittest
* add unittest
* fix CI fails
8 years ago
yuyang18
6db9c3c7d6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/refine_parallel_executor
8 years ago
yuyang18
f6638c0b07
Disable buggy tests
8 years ago
daminglu
ae1990731d
Test word2vec ( #10779 )
8 years ago
daminglu
11b6473c26
Image classification & word2vec ( #10738 )
8 years ago
tangwei12
e130bf3752
optimize python checkpint dir config
8 years ago
tangwei12
b6ee59ae25
optimize python checkpint dir config
8 years ago
tangwei12
ee91e48e34
fix serial number
8 years ago
tangwei12
d98480cff5
fix serial number
8 years ago
tangwei12
22df4c278c
fix serial number
8 years ago
tangwei12
eff92d046b
merge develop
8 years ago
Qiao Longfei
eb7d87545e
add trainer.stop and fix a bug for train_by_parallel_executor ( #10762 )
8 years ago
Qiao Longfei
54ae8e4520
Merge pull request #10741 from jacquesqiao/inferencer-support-multi-gpu
...
Inferencer support parallel_executor
8 years ago
tangwei12
821acdb3bf
update op to trianer and pserver
8 years ago
Wu Yi
ebc7303990
listen_and_serv use local scope ( #10663 )
...
* listen_and_serv use localscope
* fix ut
8 years ago
qiaolongfei
d2d671e341
add comment
8 years ago
qiaolongfei
feed94e20f
should load parameter before create parallel_executor
8 years ago
yuyang18
ceb150e9fa
Merge remote-tracking branch 'yx/fix_bce_cdn_link' into feature/refine_parallel_executor
8 years ago
Yancey1989
274df85ca6
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
yuyang18
71c4933a02
Use independent recordio file name
8 years ago
qiaolongfei
e8d24aa144
Inferencer support parallel_executor
8 years ago
Kexin Zhao
bbd7580e04
simplify recognize digits example code ( #10722 )
8 years ago
yuyang18
f04754886b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/trainer_by_pe
8 years ago
Yu Yang
63012df497
Switch scope/program for every test ( #10702 )
8 years ago
Tao Luo
7e88026e85
Merge pull request #10725 from Haichao-Zhang/improve_seq_pool_doc
...
improved the documentation for sequence_pool function
8 years ago
Wu Yi
7b17bc17a5
Merge pull request #10688 from typhoonzero/add_nccl2_support_for_trainer
...
Support nccl2 dist train in trainer
8 years ago
qingqing01
1f8243b7f8
Refine smooth L1 loss. ( #10713 )
8 years ago
zhanghaichao
3e34c9798a
improved the documentation for the sequence_pool function
8 years ago
Yang Yang(Tony)
b67ce353fa
speed up test label semantic roles ( #10718 )
8 years ago
Kexin Zhao
d73f2bd6bd
fix data_feeder lod bug
8 years ago
tangwei12
4220b31d4f
update pserver startup
8 years ago
tangwei12
744e95d305
add ckpt load
8 years ago
Yu Yang
8b1b7564cf
Merge pull request #10671 from chengduoZH/fix_fetch_op_handle
...
Refine fetch op handle
8 years ago
dzhwinter
ed748dae66
"fix dtype test in ci" ( #10667 )
...
* "fix ci"
* "fix network config"
* "rerun ci"
8 years ago
tangwei12
9cf47afe61
modify get trainer param
8 years ago
tangwei12
d081256cd5
add api in distribute transpiler
8 years ago
Yang Yang(Tony)
6c87e34373
move test_network_with_dtype out of test_all_ops ( #10675 )
8 years ago
typhoonzero
a41a94f2ee
support nccl2 dist train in trainer
8 years ago
yuyang18
40da8c00b6
Add missing attr
8 years ago
yuyang18
3923d40992
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/support_op_role
8 years ago
yuyang18
624caee56b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_fetch_op_handle
8 years ago
yuyang18
791af3a088
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/trainer_by_pe
8 years ago
Yu Yang
9707aa6bde
Merge pull request #10619 from reyoung/feature/exec_strategy
...
Clean code & add execution strategy
8 years ago
Qiao Longfei
1c4bb5c83d
user need to set feed order for Trainer.train and Trainer.test ( #10679 )
8 years ago
daminglu
74ca73b80d
Update trainer api ( #10674 )
8 years ago
chengduoZH
e383ea20dc
fix fetch op handle
8 years ago
yuyang18
c8f3ed2300
Skip buggy test
8 years ago
yuyang18
9e736215e8
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/exec_strategy
8 years ago
gongweibao
13836b046f
Change default split minimize value to speed up transport data to pserver. ( #10635 )
...
Change default split minimize value to speed up transport data to pserver
8 years ago
tangwei12
c80125f286
add checkpoint_load to python framework
8 years ago
Yancey1989
00efc4ccfa
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
Yancey1989
315e44acee
add fetch_barrier_op
8 years ago
chengduo
ded2153269
Merge pull request #10645 from chengduoZH/fix_pe_bug
...
Fix pe bug
8 years ago
yuyang18
44c52a8c1a
Polish op_proto_maker
8 years ago
yuyang18
577c19b2af
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/support_op_role
8 years ago
yuyang18
7c777dd549
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/exec_strategy
8 years ago
yuyang18
017bba1664
Add op role
8 years ago
Yancey
0acc93cab9
add dist transpiler unit test ( #10485 )
...
* add dist transpiler unit test
* update by comment
* update by comment
* fix ci
* fix ci
8 years ago
Wu Yi
b0eca1040f
remove unused vars ( #10618 )
8 years ago
chengduoZH
a3ca4c99eb
fix loss.gradVar
8 years ago
daminglu
9fad436bf4
Simplify fluid api for fit a line ( #10301 )
8 years ago
Xin Pan
6ab935f8f0
Merge pull request #10349 from typhoonzero/gen_nccl_id_op
...
[Feature] NCCL2 distributed training
8 years ago
tangwei12
ce1bcc947f
add op to framework.py
8 years ago
tangwei12
38596cfb1e
move file_path to dir
8 years ago
tangwei12
2f4c039e62
rename, modify ckpt structure
8 years ago
yuyang18
c72a4f4d4d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/exec_strategy
8 years ago
Yancey1989
b35ea1a4d6
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into overlap_send_op
8 years ago
yuyang18
08295f9877
Add build strategy
8 years ago
dzhwinter
c0a6237d1a
"fix ci"
8 years ago
yuyang18
c4ad0dd084
Add fetch metrics
8 years ago
yuyang18
2a0205a5d9
Draft for train by parallel executor
8 years ago
typhoonzero
7b0c0273f4
update by comments
8 years ago
yuyang18
e5281b3c2d
Clean code & add execution strategy
8 years ago
typhoonzero
928418a9ac
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gen_nccl_id_op
8 years ago
Yu Yang
9923be5d10
Merge pull request #10546 from chengduoZH/feature/change_pe_strategy
...
Balance parameter_opt between cards
8 years ago
Yu Yang
5ce2df9b38
Merge pull request #10566 from reyoung/feature/train_by_pe
...
Parallel Executor revised feeder
8 years ago
Jeff Wang
177324b067
[Test-driven] Recognize Digit: update mnist test cases with the new API syntax. ( #10507 )
...
* Update the mnist test cases with the new API syntax.
* Turn on the tests for MNIST
* delete the test files got merged accidently.
* Enable the mnist tests. ready for test driven development.
* Comment out the infer first
This is to confirm that the Trainer.train is working
* Add CMake file to include the tests
* Make the train program only return avg_cost for now
* Update the tests to use the latest syntax
8 years ago
Qiao Longfei
2a971f3084
Add inferencer infer ( #10445 )
...
* add Inference.infer
* optimize code
* update no_test_word2vec_new_api.py
* update trainer
* split check_and_get_place
* use inference_program to save inference model in Trainer
* update demo
* update save_inference_model
* clean code
8 years ago
typhoonzero
0ae726f060
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gen_nccl_id_op
8 years ago
typhoonzero
f5840d8925
follow comments
8 years ago
tangwei12
2a05b3d5a3
delete checkpoint function
8 years ago
Luo Tao
f60b9a4208
fix unittest-error: test_network_with_dtype
8 years ago
typhoonzero
04bde96e4c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gen_nccl_id_op
8 years ago
yuyang18
54cbf799d6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/change_pe_strategy
8 years ago
chengduoZH
97cb5479ae
change PE strategy
8 years ago
Yu Yang
046405e091
Merge pull request #10486 from reyoung/feature/clean_op_maker
...
Clean OpProtoAndCheckerMaker
8 years ago
tangwei12
e21a72d1b9
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into checkpoint
8 years ago
fengjiayi
ba57348f8f
trainer.test() ( #10453 )
...
* a draft of trainer.test()
* polish trainer.test()
* polish trainer.test()
* update code format
* update
* polish code
* polish code
* polish code
* Make trainer.test follow the rule of returning [loss, metric, metric, ..]
8 years ago
Wu Yi
61343fbf53
Merge pull request #10531 from typhoonzero/refine_grpc_serde_code
...
Refine serde code
8 years ago
tangwei12
b81671ecf2
add ckpt attr to pserver python config
8 years ago
Yancey1989
6e5635fd1e
update
8 years ago
yuyang18
613d3ef084
Fix compile error
8 years ago
yuyang18
9c8383cf06
Parallel Executor revised feeder
8 years ago
yuyang18
ad594b9b70
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/clean_matmul
8 years ago
typhoonzero
796a448ce4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into refine_grpc_serde_code
8 years ago
dzhwinter
62c51e44d2
"add float64 tests" ( #10450 )
...
* "add float64 tests"
* "fix based comment"
* "fixed based comment"
8 years ago
Yancey1989
b1e5183627
overlap sendop and backward ops
8 years ago
Tao Luo
5c26f16832
Merge pull request #10506 from tonyyang-svail/test_label_semantic_roles
...
decrease the pass number of test_label_semantic_roles
8 years ago
Jeff Wang
0fed3db3eb
Put all new tests under high-level-api ( #10534 )
...
* Put all new tests under high-level-api
* be consistent with the naming
8 years ago
typhoonzero
a2de156dfa
refine serde code
8 years ago
Tao Luo
c7c62e07db
Merge pull request #10203 from wojtuss/fix-typo
...
Fix typo in wmt16
8 years ago
Yang Yang
5950978573
decrease the pass number of test_label_semantic_roles
8 years ago
chengduoZH
a459764de7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_fetchop
8 years ago
chengduoZH
e00c1ee10f
fix split var test
8 years ago
Yu Yang
96b703c007
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/clean_matmul
8 years ago
chengduoZH
e87b345d50
untest understand_sentiment
8 years ago
chengduoZH
483f5e7efd
fix test_memory_optimization_transpiler.py
8 years ago
chengduoZH
6f306f09c0
refine unit test
8 years ago
Jeff Wang
380471f947
Simplify fluid api recognize digit ( #10308 )
...
* Save the base of the new test.
* Create the notest_recognize_digits_conv and notest_recognize_digits_mlp
* precommit check
* Change the function name from _network to _program.
Update several variable names to make them more consistant.
Update the Inferencer construction call.
* Fix the incorrect format.
8 years ago
Siddharth Goyal
8a8ae9cebe
Add label semantic examples with new Fluid api ( #10368 )
...
* Add label semantic examples with new api
* Address review comments
* Address review comment
8 years ago
Jeff Wang
889c919048
Use _prog_and_scope_guard to switch the scope ( #10421 )
8 years ago
typhoonzero
a135fec1fc
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gen_nccl_id_op
8 years ago
chengduoZH
aff8a26d71
check generated_op_
8 years ago
whs
f43b71b242
Fix clone function of Program to avoid memory leak. ( #10358 )
...
* Fix clone function of Program to avoid memory leak.
* Fix inference_optimize function of framework.py.
* Reuse inference_optimize in framework.py.
* Add comments.
8 years ago
Yancey
5b06944857
fix trainer import error on ce ( #10448 )
...
* fix trainer import error on ce
* fix setup.py.in
8 years ago
chengduoZH
2e5d44f102
fix fetch op
8 years ago
Yu Yang
3dd01823a8
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/clean_matmul
8 years ago
typhoonzero
17009d0627
workable version
8 years ago
Yu Yang
c6a6d87f96
Rewrite Matmul, make code cleaner
8 years ago
Yancey
bb3247e339
fix traner.py import error ( #10442 )
8 years ago
typhoonzero
a529d790b6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gen_nccl_id_op
8 years ago
Qiao Longfei
9c83feaac3
Merge pull request #10439 from jacquesqiao/fix-metric
...
fix fluid Metric
8 years ago
qiaolongfei
7f37060879
revert CompositeMetric::add_metric
8 years ago
Yancey
76b63c25bf
move transpiler files into transpiler folder ( #10415 )
8 years ago
qiaolongfei
171d3e861c
fix CompositeMetric
8 years ago
qiaolongfei
cd54a31cc8
fix fluid Metric
8 years ago
Kexin Zhao
55e714e0d2
add float16 support to pool3d
8 years ago
Kexin Zhao
8b16927230
add fp16 support to conv3d
8 years ago
chengduo
99acf1da4c
Merge pull request #10351 from chengduoZH/feature/update_sparse_parameter
...
Feature/update sparse parameter
8 years ago
typhoonzero
0598a4b366
fix ci
8 years ago
typhoonzero
3667578ec2
testing
8 years ago
Jeff Wang
bd66eed50a
Trainer save load params ( #10386 )
...
* Load/save the params from the params_path
* Switch to use load_persistables and save_persistables
* Instaed of setup the executor to run program and scope. Pass the program to the load_persistables
8 years ago
Helin Wang
5812076e7d
Merge pull request #10316 from helinwang/dist
...
Fluid new API: dist train without modifying code
8 years ago
chengduoZH
f9c680c43e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/update_sparse_parameter
8 years ago
Qingsheng Li
3bb99c4f66
Added auto transform to beam_search_decode_op ( #10286 )
...
* Added auto transform to beam_search_decode_op
* Added some comment
* Added unittest for beam_search_decode_op on GPU
8 years ago
Yi Wang
ddf6167213
Correct filename ( #10384 )
8 years ago
Yancey
773bf29b70
Merge pull request #10377 from Yancey1989/fix_delete_ops
...
fix delete_ops
8 years ago
Kexin Zhao
8cc91bc025
initial commit ( #10387 )
8 years ago
Kexin Zhao
7a86069422
Add float16 demo code and put float16 work in contrib/float16 folder ( #10331 )
...
* add test float16 inference accuracy example
* complete the test
* clean code
* add argument parse and refine tests
* add shell script
* add float16 benchmark code
* refine code
* prepare for contrib/float16
* put things in contrib float16 folder
* update benchmark result
* further update benchmark report
* add float16 inference report
* update report
8 years ago
Helin Wang
8ee23da846
Fluid new API: dist train without modifying code
...
Works with 1 trainer 1 pserver. 2 trainer 1 pserver will stuck at the
end of first step, still investigating.
The user only need to set envrionment variables to enable distributed
training.
run pserver:
PADDLE_TRAINING_ROLE=PSERVER PADDLE_PSERVER_IPS=127.0.0.1 PADDLE_TRAINERS=2 PADDLE_CURRENT_IP=127.0.0.1 python no_test_word2vec_new_api.py
run trainer:
PADDLE_TRAINING_ROLE=TRAINER PADDLE_PSERVER_IPS=127.0.0.1 PADDLE_TRAINERS=2 PADDLE_TRAINER_ID=0 python no_test_word2vec_new_api.py
8 years ago
Abhinav Arora
f428e82d25
Prediction should be a part of inference_network in new API ( #10356 )
8 years ago
Yancey1989
ea522dabc9
refine delete ops
8 years ago
Yancey1989
4145258296
fix delete_ops
8 years ago
Abhinav Arora
3000e9946f
Write the Understand Sentiment book example with stacked LSTM using new API ( #10355 )
...
* Add understand apiu with stacked lstm for new API
* Complete exam
8 years ago
Helin Wang
be219ac0ea
Merge pull request #10354 from helinwang/scaffold
...
Improve trainer API
8 years ago
Yancey
73650a8320
Merge pull request #10342 from Yancey1989/refine_distribute_transpiler_api
...
Refine distribute transpiler api
8 years ago
Yancey1989
e9737d600f
add a private function to find adam opt pass
8 years ago
whs
1ae086ed19
Merge pull request #10340 from wanghaoshuang/fix_future_div
...
Make Variable support for future.division.
8 years ago
Wu Yi
88d79dfe95
Merge pull request #10292 from typhoonzero/fix_grpc_server_ready_condition
...
Fix grpc server ready condition
8 years ago
Tomasz Patejko
4a497b826d
MKLDNN implementation of batch normalization ( #9904 )
...
* Initial implementation of forward pass for MKLDNN batch norm
* Added attributes for MKLDNN batch norm
* MKLDNN batch norm forward pass passes unittest. Started working on backward
* Backward pass for MKLDNN batch norm added
* MKLDNN batch norm: scoring added to forward pass
* MKLDNN batch norm: bias as input added; handling AnyLayout when kernel is looked up
* MKLDNN batch norm: python unit tests added; mkldnn tests removed
* MKLDNN batch norm: changes required by cpplint
* MKLDNN batch norm: refactoring the operator
* MKLDNN batch norm: saved variance inversed in backward pass for correct execution of MKLDNN unit tests
* MKLDNN batch norm: refctoring, function for static/const cast to void* added
* MKLDNN batch norm: remove AnyLayout from batch norm
* MKLDNN batch norm: only NCHW format is supported. Unittests refactored
* MKDNN batch norm: use_mkldnn added to attributes
* MKLDNN batch norm: AnyLayout removed from unittest
* MKLDNN batch norm: added CUDNN defines to batch norm
* MKLDNN batch norm: undefined data_format variable corrected
* MKLDNN batch norm: use_cudnn added, use of setUp method for configuring attributes
* MKLDNN batch norm: added use_cudnn attribute to batch norm operator
* MKLDNN batch norm: correcting batch norm unit tests for MKLDNN
* MKLDNN batch norm: MKLDNN tests moved to another file; reverting changes for saved variance not being inverted
* Change default layout to NCHW
* MKLDNN batch norm: init_kernel_type method added to unit tests
* MKLDNN batch norm: style changes
* MKLDNN batch norm: unit tests refactored
* MKLDNN batch norm: added use_mkldnn attribute to batch norm python interface
8 years ago
Helin Wang
0fca8a14ef
Fix fluid/__init__.py
8 years ago
Helin Wang
a66052c6ff
improve trainer API
...
- The trainer and inferencer will load params from disk if param_path
argument is not None in their constructor.
- Remove params.py, we will expose core.Scope to the user if needed
(e.g., for GAN). Currently we will not expose it, unless we clearly
know doing so can support GAN.
- Add `save_params` to Trainer (a TODO item).
- rename "network" to "program"
8 years ago
Helin Wang
6d5e582d20
Merge pull request #10343 from reyoung/feature/new_api_train_impl
...
A naive implement trainer.train by executor
8 years ago
chengduoZH
c891189568
update sparse gradient parameter with reduce and broadcast
8 years ago
yi.wu
6422c0e4f6
update by comment
8 years ago
chengduoZH
5ff1ef36ee
update sparse parameter
8 years ago
Yu Yang
1bb579a3f5
A naive trainer implementation
8 years ago
Qiao Longfei
faebadd938
Merge pull request #10228 from jacquesqiao/use-multi-thread-todo-update
...
Use multi thread to do update
8 years ago
Yancey1989
da960ada49
redefine distribute transpiler api
8 years ago
Yancey
ff99d94197
Merge pull request #10164 from Yancey1989/lookup_sparse_table_op
...
add lookup_sparse_table_op
8 years ago
wanghaoshuang
3d846fc3f2
Make Variable support for future.division.
8 years ago
Yu Yang
6a378251dc
Merge remote-tracking branch 'helin/word2vec' into feature/new_api_train_impl
8 years ago
Yang yaming
9a8be9daca
Merge pull request #10223 from pkuyym/fix-10219
...
Change `customize_loss_grad` to `use_default_grad_scale`.
8 years ago
Helin Wang
a785a837b9
update the example with the latest API
8 years ago
Helin Wang
b5dd215d46
improve comments
8 years ago
Helin Wang
3eef539a42
add word2vec test for the new API
8 years ago
Helin Wang
392a9dd9a2
fix yapf stype check
8 years ago
Thuan Nguyen
10cb9424fd
remove enum reference from trainer
8 years ago
Helin Wang
6d58d6dc48
add comments
8 years ago
Helin Wang
a2ffbd5326
scaffolding for the new Fluid API
8 years ago
Thuan Nguyen
fb7ca48c06
Add image classification unit test using simplified fluid API ( #10306 )
8 years ago
Lei Wang
95d2651bc2
Build: simplify travis CI script. ( #10245 )
...
* Build: simplify travis CI script.
* Add linkcheck and run gen_doc in host machine not in docker.
* Add LinkCheck python package.
8 years ago
dzhwinter
eb6f9dd5de
Feature/cuda9 cudnn7 ( #10140 )
...
* "re-commit "
* "picked up"
* "fix ci"
* "fix pdb hang up issue in cuda 9"
8 years ago
chengduo
f61dfeedcc
Merge pull request #10263 from chengduoZH/add_FLAGS_use_deterministic_algo
...
Add FLAGS_cudnn_algo_use_autotune
8 years ago
qingqing01
4434f8b4bd
Use the OrderedDict in the framework.py for the variable map. ( #10282 )
8 years ago
chengduoZH
9fda5c92cd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_FLAGS_use_deterministic_algo
8 years ago
yangyaming
f456cd8079
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-10219
8 years ago
chengduoZH
c5774e3282
add FLAGS_use_deterministic_algo
8 years ago
robot
ac2911c399
fix code style
8 years ago
robot
19a28b1611
[fix assign op]/2 using assign op instead of scale1.0
8 years ago
robot
8806801eb8
[fix assign op] using assign op instead of scale1.0
8 years ago
Yancey1989
1a93253f16
fix unittest
8 years ago
qiaolongfei
98a2179f80
fix ListenAndServ op
8 years ago
dyning
4a5bfa89c3
Modify RoI pooling op to use LoDTensor and expose it into Python API ( #10208 )
...
* modify roi pool with lod and expose ROI Pooling into Python API
* make lod code brief
* make doc more clearly
* make doc more clearly
8 years ago
Wu Yi
87d86ee34e
Merge pull request #10247 from putcn/fix-transpiler
...
add missing grad_to_block_id
8 years ago
Kexin Zhao
0ecc6fa8f3
Add float16 transpiler and image classification example ( #10109 )
...
* add float16 transpiler
* fix feed fetch target names mismatch
* fix cast op input change issue
* fix program desc flush error
* fix inconsistent var names in block desc bug
* code clean up
* add float16 infernce C++ example and fix prune bug
8 years ago
Xi Chen
b133425915
add grad_to_block_id
8 years ago
qiaolongfei
08fbab9429
complete ListenAndServ layer in layers/io.py
8 years ago
baiyf
c816121d11
optimized iou_similarity_op ( #10231 )
8 years ago
qiaolongfei
63bd38bd74
code optimize
8 years ago
yangyaming
bf824d854a
Refine doc.
8 years ago
Yancey1989
fb1167c315
delete unused comment
8 years ago
Yancey1989
dccd013bd3
refine distribute transpiler
8 years ago
yangyaming
82571deb89
Change `customize_loss_grad` to `use_default_grad_scale`.
8 years ago
Yancey1989
e393c86c4a
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into lookup_sparse_table_op
8 years ago
Wojciech Uss
25d5e226ab
Fix typo in wmt16
8 years ago
Qiao Longfei
63bf82ddea
Merge branch 'develop' into add-async-listen-and-serv-op
8 years ago
wangyang59
72ee737f3f
Merge pull request #9308 from wangyang59/bilinear
...
Bilinear interp op
8 years ago
Yang Yang(Tony)
2182ecfbbd
remove duplicated ShareLoD in gru_op and sequence_conv_op ( #10149 )
...
* remove share lod; it has already been performed in infershape
* slightly release test bound of test_image_classification
8 years ago
Yu Yang
4ecc9b7bae
Merge pull request #10166 from reyoung/feature/train_and_test_recordio
...
Add demo for recordio train/test and parallel executor
8 years ago
chengduo
bfbbe19fbb
Merge pull request #10150 from chengduoZH/fix_elementwise_gradient
...
Fix elementwise_gradient bug
8 years ago
chengduoZH
0f5d5b1ffc
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_elementwise_gradient
8 years ago
Yu Yang
54ada9449e
Add demo for recordio train/test and parallel executor
8 years ago
Tao Luo
44fa823841
Merge pull request #9949 from mozga-intel/mozga-intel/Mul_mkldnn
...
Initial implementation of multiplication operator for MKLDNN
8 years ago
Yancey1989
e8d802159e
add lookup_sparse_table_op
8 years ago
chengduoZH
d06c79c7a7
fix elementwise_grad op kernel and add unit test
8 years ago