LielinJiang
982fd0f3c2
fix mnist fmnist ( #29018 )
5 years ago
wanghuancoder
887a35113e
fix eng doc for some api ( #28477 )
...
* fix eng doc, test=develop
* add import deprecated for layers, test=develop
* add block line for doc generate, test=develop
* remove todo for create_variable, test=develop
* add blank line for doc generate, test=develop
* add blank line for doc generate, test=develop
5 years ago
smallv0221
83cee3c9d7
Delete mq2007 dataset. ( #28995 )
...
* Fix en doc for rnn.py. test=document_fix
* Delete mq2007 dataset.
5 years ago
Chen Weihang
9cd09a8586
Polish dataloader doc detail & update example ( #28975 )
...
* polish dataloader doc detail, test=decument_fix
* fix commnet error
* fix word error
5 years ago
123malin
fbf9564f6b
【paddle.distributed.fleet】Optimize ParameterServer's Async Mode ( #28442 )
...
* test=develop, optimize global_step
5 years ago
Leo Chen
98adc8f054
Dev/fix doc of some api ( #28785 )
...
* refine doc of bernoulli
* fix some problems
* fix unsqueeze
* fix squeeze
* fix doc
5 years ago
lilong12
f77a78cdee
enable pipeline to run with Executor.run() ( #28373 )
...
* update, test=develop
5 years ago
lijianshe02
9f642ed881
fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=… ( #28739 )
...
* fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=document_fix
5 years ago
joejiong
4e00c095fa
fix warning in english doc ( #28981 )
5 years ago
LiuChiachi
70385518a6
Add EarlyStopping ( #28691 )
...
* add early stopping
* add doc for early stopping
* fix sample code bugs
* update infer of mode, update doc, add unittests to increase coverage rate
* fix sample code for early stopping
* update sample code and unittests
* reduce time cost of test_callbacks unittest
* fix model.py code style error
5 years ago
LiuChiachi
8c8b42f28a
Update path name of saving in hapi ( #28462 )
...
* update hapi save_inference_model output pathname
* update hapi save_inference_model output pathname
* use new 2.0-api paddle.static.io.load_inference_model
* add unittests to increase coverage rate
5 years ago
Thunderbrook
0073f9bdb0
support ps-gpu ( #28752 )
...
* ps gpu transpile
* ps gpu
* remove op
* gps trainer
* local ps
* add macro
* HeterBox
* def cuda
* tab
* code style
* style
Co-authored-by: Thunderbrook <a754913769#163.com>
5 years ago
Chen Weihang
768dab441e
polish two api doc detail, test=document_fix ( #28971 )
5 years ago
Chen Weihang
7c7cdf082f
remove fluid & variable in program ( #28966 )
5 years ago
furnace
8ff3550658
refactor momentum op to combine weight ( #27414 )
...
* refactor momentum op to combine weight_decay (scale op and sum op)
5 years ago
YUNSHEN XIE
50113f9268
fix error for Can not find test to add properties to:test_parallel_dygraph_transformer,test_parallel_dygraph_sparse_embedding ( #28968 )
5 years ago
Zhang Ting
3416c35996
refine doc of default_startup_program, test=document_fix ( #28951 )
5 years ago
Zhang Ting
842fd2933c
remove fluid in default_main_program doc, test=document_fix ( #28941 )
5 years ago
Zhang Ting
b5218227d6
refine the doc of dist op, test=document_fix ( #28947 )
5 years ago
LielinJiang
8f8a02fda4
Optimize conv performance ( #28766 )
...
* optimize conv performance
5 years ago
LielinJiang
00e55ded4a
Add lr scheduler callback for high level api ( #28737 )
...
* add lr scheduler
5 years ago
yaoxuefeng
6369463a5d
fix test datagenerator ut fail ( #28767 )
5 years ago
Kaipeng Deng
ed7aa8f9c3
Fix conv transpose ( #28629 )
...
* fix conv_transpose unittest. test=develop
5 years ago
Chen Weihang
bff4179cc7
lazily init global group in collective ( #28780 )
5 years ago
gongweibao
1dad8ceaab
Fix gpu memory allocation bug. ( #28703 )
5 years ago
Kaipeng Deng
91bab752a9
fix dataloader default value and doc ( #28728 )
...
* fix dataloader. test=develop
5 years ago
Chen Weihang
0ed80e09fc
Fix param base trainable set failed ( #28756 )
...
* fix param base trainable set failed
* add unittest
* fix typo
* polish comment
5 years ago
Aurelius84
d6aee7597c
[Dy2Stat]Set buff.persistable=False when it's not initialized ( #28749 )
5 years ago
joejiong
1a532d5133
add uint8 support for squeeze operator ( #28734 )
...
Adding uint8 support for squeeze operator.
5 years ago
123malin
9066828b1b
test=develop, bug fix for embeddings padding ( #28708 )
...
* test=develop, bug fix for embeddings padding
* fix raise Value for Embedding
Change-Id: I6d343fceee369a5796ad59cca5c91fdd15429125
Co-authored-by: seiriosPlus <tangwei12@baidu.com>
5 years ago
Bai Yifan
655d5eb1db
fix code example ( #28636 )
...
* fix code example, test=document_fix
5 years ago
joanna.wozna.intel
8c0ea4bffe
Add bf16 matmul, fc, elementwise add and mul ( #28729 )
...
* Add bf16 matmul, fc, elementwise add and mul
* Correct unit test
5 years ago
Zhou Wei
3b0dd5f620
fix bug that to_tensor not support paddle.Place ( #28717 )
5 years ago
Aurelius84
e1c8d6bce5
Fix wrong out dtype inferred from helper.input_dtype ( #28715 )
...
* Fix wrong out dtype from helper.input_dtype
* add unittest
* remove disable_static in op_test
* fix param name typo
5 years ago
taixiurong
d3d1a6b6e0
add kunlun kernel: slice, slice_grad, top_k, cast. *test=kunlun ( #28542 )
...
* 1.add xpu slice op 2. add xpu top_k op 3.modify xpu cast to new api
* 1.add xpu slice op 2. add xpu top_k op 3.modify xpu cast to new api
5 years ago
Jack Zhou
9362d85e0e
Add LSTM, Simple RNN and GRU CPU kernel ( #28577 )
...
* add lstm, simple rnn op kernel
* fix the test_lstm for the rnn op
* change func name
* fix forward postprocess bug
* add gru forward, backward code
* remove unittest.skipIf; use a big rnn op instead of combination op
* fix input doesn't have gradient bug
* add eigen lstm forward, backward
Co-authored-by: wawltor <fangzeyang0904@hotmail.com>
5 years ago
QingshuChen
30ef3815b3
adjust kunlun header file ( #28536 )
...
* adjust kunlun header file
*test=kunlun
* update kunlun unittest
*test=kunlun
* update xpu unitest
* test = kunlun
* update xpu unittest
* test=kunlun
* update xpu unitest
* test=kunlun
5 years ago
wangguanzhong
d12aa4957f
remove alias for iou_similarity and ssd_loss ( #28742 )
5 years ago
Double_V
960135285b
fix pool APIs en doc, delete disable_static ( #28679 )
...
* fix pool exclusive and delete disable_static, test=develop
* fix pool1d exclusive, test=develop
* fix pool APIs en doc, test=document_fix
5 years ago
Wilber
60a5eb68a0
update paramattr doc. test=document_fix ( #28745 )
5 years ago
liym27
269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func ( #28722 )
5 years ago
danleifeng
7d32e100c5
upgrade to use paddle-2.0 API for sample code of paddle.t ( #28726 )
5 years ago
liym27
e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node ( #28735 )
5 years ago
Wojciech Uss
04bcc13fac
Add multi_gru op and tests ( #28591 )
...
* Add multi_gru op and tests
* removed redundant disable_dygraph()
5 years ago
Wilber
fe2cf39f77
[2.0] Update py_func English doc. ( #28646 )
5 years ago
YUNSHEN XIE
16a808149a
modfied the timeout value for 5 ut ( #28714 )
...
* modfied the timeout value for 5 ut
* modified timeout value for test_resnet
5 years ago
liym27
9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message ( #28713 )
...
* Support dy2stat error message when call jit.save;
* Polish dy2stat error message:
(1) the original dygraph code is marked with (* user code *) ;
(2) "In user code:" -> "In transformed code:"
5 years ago
joejiong
32b90b1c2d
add log10 ( #28576 )
...
Add new operator log10
5 years ago
Shibo Tao
f0806bdaf2
fix save_inference_model and load_inference_mode alias. test=develop ( #28736 )
5 years ago
TeslaZhao
abbc507a81
Fix two english api documents, transpose and strided_slice ( #28687 )
...
* Fix two english api documents, transpose and strided_slice
* delete nouse comments
5 years ago
Zhou Wei
5562d8094f
fix API optimizer get_lr to support static graph mode ( #28681 )
...
* fix doc of save/load
* fix API optimizer get_lr
* fix API optimizer get_lr
5 years ago
furnace
caffa85ffe
add alias for fluid.initializer.set_global_initializer, alias is nn.initializer.set_global_initializer ( #28690 )
5 years ago
Shibo Tao
f096af83a0
fix document sample. test=develop ( #28721 )
5 years ago
Chen Weihang
3c5f2cac68
fix save parse error for dict input ( #28712 )
5 years ago
Huihuang Zheng
9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop ( #28710 )
...
Fix convert_callmMay be called multiple times in Dy2stat. Also strip some strings to make sure no influence from blank spaces.
5 years ago
wawltor
20b1276598
faster the compare ops dygraph model speed
...
faster the compare ops dygraph model speed
5 years ago
JZ-LIANG
5a9f6889c1
[Sharding] add new features ( #28568 )
...
* add lars to fleet meta optimizer
* add lamb to proto
* add lamb to fleet meta optimizer
* fixed syntax bug
* fixed syntax bug
* fixed syntax error in lamb, add config setter of lamb in distributed_strategy
* trigger unitest to rerun
* add new unitest func for lamb
* revise unitest for lars and lamb
* revise dgc meta unitest
* revise lars document in distribute_strategy
* revise lars lamb document in distributed_strategy.py
* revise lars lamb document in distributed_strategy.py
* add weight decay exclude logic to lars
* restore optimzier.py
* restore optimizer.py as develop except lars
* add epsilon and exclude fn to distributed_sttrategy
* add lars epsilon
* revise unitest for fleet lars and lamb
* revise lars lamb unitest for CI coverage
* revise lars argument api
* revise lars argument api
* revise lars argument api
* revise api doc of lars
* fix op role
* add sharding save and add_sync_comm_for_test function
* add comm_analyse to utlis
* revise sharding_utils
* add sharding saving unittest
* revise sharding utils for unittest
5 years ago
xiaoting
8c75b2554a
Support Tensor for attr_scale and attr_size ( #28677 )
...
* update interpolate, test=develop
* fix coverage, test=develop
5 years ago
YUNSHEN XIE
e880c90c5a
fix error when setting ut timeout value ( #28696 )
5 years ago
LielinJiang
01a14e1be2
Add with_pool args for vgg ( #28684 )
...
* add arg for vgg
5 years ago
LielinJiang
532e4bbf2a
fix docs ( #28683 )
5 years ago
Shibo Tao
db2e6cee62
add two paddle-2.0 apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_model ( #28606 )
...
* add two apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_mode, which are campatible with paddle.fluid.io.save_inference_model and paddle.fluid.io.load_inference_model respectively.
* add unittest for new save_inference_model and load_inference_model. test=develop
* enhance doc. test=develop
* add paddle.enable_static() to test_inference_model_io.py. test=develop
5 years ago
Chen Weihang
358d6bc90f
Fix test_weight_decay_extend random failed on windows ( #28643 )
...
* add debuging code
* change seed & add debug message
5 years ago
Bai Yifan
5050e761b8
Support user-defined activation/weight quantize and preprocess. ( #28570 )
...
* support user-defined quant and preprocess
5 years ago
Leo Chen
11e32baf1e
Add matmtl_v2 to amp list ( #28693 )
...
* add matmtl_v2 to amp list
* support dygraph
5 years ago
Huihuang Zheng
b6f86b8491
Fix Using "isinstance" in Loop, test=develop ( #28641 )
...
Fix a bug that used in PaddleGAN model which used `isinstance` in a for loop
5 years ago
lilong12
e4f9415338
update doc, test=document_fix ( #28498 )
5 years ago
Jacek Czaja
6d8d3d4c22
[oneDNN] Layer norm bf16 kernel ( #28619 )
5 years ago
LielinJiang
cdc4e6620d
fix lenet num classes ( #28642 )
5 years ago
wangchaochaohu
912a5c30b4
fix the matmul_v2 test for cuda11 ( #28635 )
5 years ago
littletomatodonkey
82f0b5ea5c
adapt pad const ( #28585 )
...
* adapt pad const
* fix comment and rm fluid import
* rm stdout
* fix note
5 years ago
Double_V
d71c3463b0
fix pool exclusive and delete disable_static ( #28655 )
...
* fix pool exclusive and delete disable_static, test=develop
* fix pool1d exclusive, test=develop
5 years ago
Aurelius84
8040fa2bca
Fix output dtype inconsistent with input ( #28649 )
...
* fix output dtyp inconsistent with input
* refine code
5 years ago
wangchaochaohu
68ee7f7312
fix overwrite for gather OP of API2.0( #28659 )
5 years ago
zhupengyang
2cd10fc465
fix 2.0 api docs ( #28445 )
5 years ago
Chen Weihang
a083c76ab4
adjust signal failed wait time ( #28640 )
5 years ago
Zhou Wei
361a53930f
fix doc of save/load ( #28645 )
5 years ago
cc
d1e84f3e9e
Add some ops for cacluating output scale, test=develop ( #28644 )
5 years ago
wawltor
8f2656ef5c
fix the gradient bug for the topk v2
...
fix the gradient bug for the topk v2
5 years ago
wangchaochaohu
a972c33fd7
refine gather OP performance for dynamic mode ( #28587 )
5 years ago
Kaipeng Deng
ece1e4cd9d
Add weighted random sampler ( #28545 )
...
* add WeightedRandomSampler. test=develop
5 years ago
joanna.wozna.intel
2cb71c0cde
Add checkpoint to quantize ( #28612 )
...
* Add checkpoint to quantize
* Change bfloat16 option
5 years ago
lidanqing
804271cff9
Op version python mkldnn_inplace test ( #28354 )
...
* add mkldnn inplace op version test
* update mkldnn_inplace fuse pass
* update the inplace test
5 years ago
pangyoki
72e068f1ba
fix test_multinomial ( #28558 )
...
* fix test_multinomial
* fix test_multinomial add 0 prob
5 years ago
Kaipeng Deng
89d27de90f
DataLoader support not auto collate batch ( #28425 )
...
* DataLoader support not auto collate batch. test=develop
5 years ago
Huihuang Zheng
c5c273c13e
[Dy2stat] Fix Using Tuple for Transpose in Dy2stat ( #28574 )
...
PaddleSeg uses tuple as parameter of transpose in dygraph code:
https://github.com/PaddlePaddle/PaddleSeg/blob/release/v0.7.0/dygraph/paddleseg/models/danet.py#L152
However, in dy2stat, static code doesn't support the perm as a tuple. This PR fixed it.
5 years ago
GaoWei8
2b1e7e5b02
Polish where english doc ( #28595 )
5 years ago
Guo Sheng
110febdc54
Fix gradients with ignore_idx in softmax_with_cross_entropy ( #28622 )
...
* Fix gradients with ignore_idx in softmax_with_cross_entropy.
test=develop
* Fix gradients with ignore_idx in softmax_with_cross_entropy on cpu.
Remove softmax_with_cross_entropy from op_threshold_white_list.
test=develop
* Fix test_softmax_cross_entropy_op.py.
test=develop
5 years ago
Guo Sheng
a3bc3bcd48
Fix scaled_params append error in AdamW. ( #28633 )
...
Fix no_grad setting in AdamW.
test=develop
5 years ago
YUNSHEN XIE
c4d22c845b
modified timeout value for some ut ( #28616 )
5 years ago
qingqing01
f7dd889ca4
Support squeezed label as input in paddle.metric.Accuracy ( #28535 )
...
* Support squeezed label as input in paddle.metric.Accuracy
* Revert cifar and fix UT
5 years ago
LielinJiang
1c3eef4cee
Fix vgg error when num_classes is given ( #28557 )
...
* fix vgg num classes
5 years ago
LielinJiang
1de3cdd0ab
Fix summary api for rnn gru lstm ( #28566 )
...
* fix summary for rnn gru lstm
5 years ago
danleifeng
a24d186814
fix nccl init failed in parallel dygraph mode ( #28497 )
5 years ago
Huihuang Zheng
1adc09b56a
Make Batch Size Smaller on Mac Because of CI Machine ( #28569 )
...
I found the unittest failed due to batch size. Maybe the reason is that our CI machine has limited memory. I decreased the batch size.
5 years ago
lilong12
ed9dd7c9f0
add send and recv ops ( #28590 )
...
* update, test=develop
5 years ago
LiuChiachi
5579edfb3c
save dtype of inputs ( #28301 )
5 years ago
Yang Zhang
c47bfe98cf
Reduce input data size for syncbn unit test by 8x ( #28571 )
...
this is a preemptive measure, the unit test was failing occasionally with
cudnn internal error
5 years ago
channings
c545b9b673
Add ONNX Exporter ( #27831 )
...
* add onnx export module, test=develop
* add unit test for paddle.onnx.export
* adjust api & doc
* fix some typo
5 years ago
Zhou Wei
bf6e7cba7a
updata 2.0 API english doc ( #28525 )
...
* make Numpy version is below 1.19.3
* fix 2.0 doc
5 years ago
Yang Zhang
614f20f6ba
Update `add` `clip` `MSELoss` and `no_grad` ( #28530 )
...
also fix `no_grad` alias
5 years ago
Shang Zhizhou
8699f38d08
裁剪transformer模型trt支持;修复tensorRT不支持DeletePass的bug ( #28517 )
...
* skip_layernorm_op done
* add unittest
* slice op convertor support trt < 6
* skip_layernorm only work in ernie
5 years ago
joejiong
08d2413142
add log2 operator ( #28319 )
...
As the title
5 years ago
lidanqing
0fc181dbd0
[Fix bug] If the pass name is not found, IsCompatible should return false ( #28475 )
5 years ago
Steffy-zxf
b258caf467
fix add_n doc (eng) ( #28464 )
...
fix the add_n english doc
5 years ago
Leo Chen
543ff333cd
Refine the format of printing tensor 3 (support scaler tensor) ( #28544 )
5 years ago
furnace
26d292b108
bugfix for api (mv, empty, empty_like op) ( #28513 )
5 years ago
YUNSHEN XIE
621b31c526
modified timeout value for test_resnet_v2 and test_resnet ( #28532 )
5 years ago
Kaipeng Deng
5305b2749a
deprecated APIs under paddle.dataset. test=develop ( #28423 )
5 years ago
liym27
0ce933a9ee
[API2.0] Fix documents of 6 APIs to fit API2.0: ( #28514 )
...
1. Remove 'fluid';
2. Variable -> Tensor
APIs:
sum, convert_call, convert_ifelse,
convert_logical_and, convert_logical_or, convert_logical_not
5 years ago
Huihuang Zheng
3b0d31ab89
Modify ProgramTranslator and TracedLayer Doc for API 2.0 ( #28509 )
...
Modify ProgramTranslator and TracedLayer Doc for API 2.0
5 years ago
Huihuang Zheng
546b1c1dc4
Fix paddle.jit.dy2static.data_layer_not_check 2.0 API Doc ( #28461 )
...
Remove "fluid", "variable" in 2.0 API doc
5 years ago
yukavio
8f664a5c49
fix one_hot example code ( #28432 )
5 years ago
wangchaochaohu
241505c262
refine the doc for API2.0 ( #28386 )
5 years ago
YUNSHEN XIE
2159646796
modified timeout value for test_conv3d_mkldnn_op,test=document_fix ( #28496 )
5 years ago
Huihuang Zheng
eb0855615c
Set Exclusive for test_yolov3 to Avoid Memory Segmentation Fault in CI Random Failure ( #28485 )
...
As the title
5 years ago
YUNSHEN XIE
e1a5fc449d
fix ut exec timeout notest,test=kunlun ( #28495 )
...
* fix ut exec timeout notest,test=kunlun
* fix error for executing ut timeout,test=document_fix
5 years ago
YUNSHEN XIE
d3b2d07d6e
modified timeout value on windows ( #28499 )
...
* modified timeout value on windows
* fix some error
5 years ago
YUNSHEN XIE
1e698c600e
fix cmake error when setting ut timeout properity ( #28492 )
5 years ago
YUNSHEN XIE
faa6549877
setting timeout properity for test_flags_mkldnn_ops_on_off ( #28489 )
5 years ago
Tao Luo
7fd2077211
set NCCL_SHM_DISABLE=1 for test_parallel_executor_profilery.py ( #28484 )
5 years ago
smallv0221
4fa1d39205
Fix en doc for rnn.py. test=document_fix ( #28470 )
5 years ago
WangXi
18525d3635
fix Tanh remainder en doc ( #28455 )
5 years ago
wangchaochaohu
e14ed71cc2
refine the performance of gather Op ( #28458 )
5 years ago
YUNSHEN XIE
72c78e4dbb
exec ut no more than 15s 2 ( #28441 )
...
* exec ut no more than 15s 2
* fix for ut test_inplace_addto_strategy timeout
5 years ago
YUNSHEN XIE
ba0756325a
exec ut no more than 15s 1 ( #28439 )
...
* disable ut test_parallel_executor_fetch_isolated_var,test=document_fix
* test for limiting ut exec time as 15S
* fix an error caused by cannot find ut
* fix some error
* can not find test_transformer
* fix error caused by ut not run in windows
* fix error caused by Compiler Options
* fix error caused by setting timeout value as 15 in python/paddle/tests/CMakeLists.txt
* setting timeout value to 120s for old ut
* add the timeout value setting
* fix error caused by ut only run in coverage_ci
* add analyzer_transformer_profile_tester
* fix some error
* fix some error
* fix error with inference option
* fix error with inference option setting as ON_INFER
* add some ut to set timeout
* modified some option
* fix error
* fix some timeout error
* fix error
* fix error
* fix timeout for test_analyzer_bfloat16_resnet50
* fix error
* setting timeout properity for some ut
* first pr for new ut timeout as 15S
5 years ago
Chen Weihang
155b4f9b6c
Remove selected rows all reduce over height check ( #28460 )
...
* remove slelected rows all reduce over height check
* polish unittest
5 years ago
WeiXin
b5e662f837
refine jit.save/load to add support for other method, not only forward ( #28376 )
...
* refine jit.save/load to add support for other method, not only forward
* refine the code based on unit tests
* Add unit test for the code
* Add unit test for the code
* Modify the code according to the unit test
* Delete useless comments, save only one info file, etc.
* remove static_mode_white_list.pyc
* edit the code that generate 'extra_var_info'
5 years ago
Zhang Ting
7fe5f9ccad
Fix unittest random failure ( #28363 )
...
* fix random failure
* use two input(x)
* fix model
5 years ago
joanna.wozna.intel
7821759d48
Add bfloat16 softmax and gelu ( #28394 )
...
* Add bfloat16 softmax and gelu
* Add pass attr bfloat16_enabled_op_types
* Changes from review
5 years ago
Aurelius84
bd8dfe38ca
[Dy2Stat] Refine code example for 2.0 ( #28440 )
5 years ago
littletomatodonkey
f6834034cc
fix sample code ( #28446 )
5 years ago
zhupengyang
0155f91679
enable softmax unittest ( #28362 )
5 years ago
Aurelius84
2500dca878
[Dy2Stat] Fix bug in convert_call ( #28368 )
...
* Fix bug in convert_call
* refine unittest
* refine code
* refine code
* fix unittest failed
* add assert
5 years ago
Jacek Czaja
ca41541472
[oneDNN]Sum bf16 kernel ( #28382 )
...
* - Added sum bf16 oneDNN
test=develop
* - Fix to UT of sum bf16
test=develop
5 years ago
LielinJiang
b89b4e321d
add fashion dataset ( #28411 )
5 years ago
Kaipeng Deng
463075a82b
add paddle.io.ComposeDataset & paddle.io.ChainDataset ( #28311 )
...
* add paddle.io.ComposeDataset & paddle.io.ChainDataset. test=develop
5 years ago
Qi Li
a4303496b2
[DOC] activation api doc, test=document_fix ( #28405 )
5 years ago
LielinJiang
3c95acc3eb
Remove cv2 dependence of normalize ( #28361 )
...
* rm cv2 dependence of normalize
5 years ago
Leo Chen
44a476c2ab
support cuda pinned place ( #28416 )
5 years ago
lidanqing
12b9587be5
Add conv_bias pass version python test ( #28278 )
...
* add conv_bias pass version test
* update according to reviews
5 years ago
Li Fuchen
f401907775
modified sample code of CTCLoss & ctc_loss by remove disable_static() & print([.*].numpy()) & alias, test=document_fix ( #28403 )
5 years ago
Kaipeng Deng
95b1868366
update DataLoader doc ( #28290 )
...
* update DataLoader doc. test=develop
5 years ago
Leo Chen
71d6220772
Skip reader op in mixed_precision decorator ( #28353 )
...
* skip reader op in mixed_precision decorator
* add ut
5 years ago
Leo Chen
8b2436a776
Add broadcast_shape api ( #28257 )
...
* add broadcast_shape api
* add ut
* follow comments
* add example code, test=dodument_fix
* update example code, test=document_fix
5 years ago
石晓伟
21a63f6f90
enhance the op_version_registry, test=develop ( #28347 )
...
* enhance the op_version_registry, test=develop
* add unittests, test=develop
* enhance the op_version_registry, test=develop
* fix bugs, test=develop
* revert pybind_boost_headers.h, test=develop
* fix a attribute bug, test=develop
5 years ago
Shang Zhizhou
ea851796e5
TensorRT中ernie模型推理性能优化,支持变长输入 ( #28367 )
...
* fp16 result ok
* change -DWITH_NVINFER_PLUGIN toconfig.EnableTensorRtOSS
* auto detect special slice op converter for ernie with trt oss
* ernie oss only support fp16
* fix special_slice_plugin serialize bug
* matmul in tensorrt ok
* ernie unittest ok
* add matmul tensorrt unittest
* remove demo code
5 years ago
Jacek Czaja
84cc61b2cd
[oneDNN] sum op refactor ( #28318 )
5 years ago
Double_V
17db031a05
fix pool bug, test=develop ( #28359 )
5 years ago
Leo Chen
6115c14fca
Pool2d cuda kernel supports fp16 ( #28316 )
...
* pool2d cuda kernel supports fp16
* fix compile issue of template
* add ut
5 years ago
Guo Sheng
9a600df373
Add rnn_op ( #28197 )
...
* Add rnn_op.
test=develop
* Fix rnn_op grad maker's drop_empty_grad.
test=develop
5 years ago
Huihuang Zheng
acc11c2a62
Retry CUDA Initialization to Fix Random Failure, test=develop ( #28323 )
...
This PR is follow up of #28213 . On that PR we tried to decrease GPU usage, however the CI still randomly failed. So I added retry logic for the initialization of nccl and cusolver. If the initialization failed, we can retry to avoid the random failure.
5 years ago
wangguanzhong
5262b02585
add generate_proposals_v2 op ( #28214 )
...
* add generate_proposals_v2 op
5 years ago
Guo Sheng
b96869bc31
Fix lr setting of AdamW when lr is an instance of LRScheduler ( #28300 )
...
* Fix lr setting of AdamW when lr is an instance of LRScheduler.
test=develop
* Fix static graph test mode in test_adamw_op.py.
test=develop
5 years ago
Aurelius84
57e4411ab5
[Dy2stat] Support to modify value of buffer tensor ( #28328 )
...
* [Dy2stat] Support to modify value of buffer tensor
* remove "defaultTest"
* fix name confliction
5 years ago
石晓伟
d9b5f1261c
update the version of pybind, test=develop ( #28284 )
...
* update version pybind to v2.4.3, test=develop
* update unittests, test=develop
5 years ago
Leo Chen
18c86fb2fb
hide some logs of p2p ( #28307 )
5 years ago
Chen Weihang
4086f48ea1
Check and fix tensor and scalar type promotion ( #28299 )
...
* check and fix tensor and scalar type promotion
* fix else branch error
* fix scalar method error
* fix test_math_op_path unittest
* add future division for unittest
* rm useless bin file
5 years ago
LielinJiang
fb1e0c93c9
Make vision datasets return PIL.Image as default ( #28264 )
...
* return pil image as default according backend
5 years ago
zhulei
26ede6e07e
Add median api. ( #28310 )
...
* Add median api.
* Add median api.
* Add median api.
* Add median api.
* Add median api.
5 years ago
wanghuancoder
3ccc0a2f5e
enable test_parallel_executor_fetch_isolated_var ( #28219 )
...
* enable test_parallel_executor_fetch_isolated_var, test=develop
* add enable_static, test=develop
* set test_parallel_executor_fetch_isolated_var RUN_TYPE=DIST, develop=test
5 years ago
joanna.wozna.intel
571a63e7ec
Add bf16 transpose2, reshape2, concat ops ( #28195 )
5 years ago
Guanghua Yu
e8f2614da5
Enhance multiclass_nms op to support LoD for dygraph mode ( #28276 )
...
* Enhance multiclass_nms to support LoD for dygraph mode
* fix some error in multiclass_nms
* update GetLodFromRoisNum to GetNmsLodFromRoisNum
5 years ago
LielinJiang
0351168967
Fix lr scheduler step error in hapi when use static mode ( #28297 )
...
* fix lr scheduler
* fix code style
5 years ago
Leo Chen
8953038400
Fix transpose in conv cudnn kernel when addto enabled ( #28295 )
5 years ago
chentianyu03
6cebd71454
add + - * / @ [] operator to ComplexVariable ( #28217 )
...
* add + - * / @ [] operator to ComplexVariable, also add unittest
* fix circular reference bug
* fit for py2.7
* remove reverse oprators which not supported now
5 years ago
Zhong Hui
a98c69b6c6
fix dygraph gather api
...
fix dygraph gather api
5 years ago
Leo Chen
2853f0c4f9
Set static shape for shape tensor with constant [part 1] ( #28275 )
...
* set static shape for shape tensor with constant
* remove debug code
* fix typo
* add ut
* refine code
* refine example
5 years ago
Chengmo
4dc8c44ba1
【Paddle.Fleet】Fix fleetrun heter ( #28252 )
...
* fix fleetrun heter ps on paddlecloud
5 years ago
pangyoki
8f83d5d875
fix AMP auto_cast and grad_scaler En doc ( #28177 )
...
* fix AMP auto_cast and grad_scaler En doc
* fix indentation problem
* change Conv2d to Conv2D
5 years ago
Zhou Wei
b63e0ccb4a
fix load check_point bug of LinearWarmup ( #28280 )
5 years ago
Jacek Czaja
c11d9b3035
[oneDNN ] conv2d fwd&bwd optimization ( #27871 )
5 years ago
LiuChiachi
d932b5618f
set random seed to in test_export_deploy_model ( #28274 )
5 years ago
wangxinxin08
41d26a8287
update matrix nms op to api 2.0 ( #28265 )
...
* update matrix nms op to api 2.0
* modify code according to review
5 years ago
Leo Chen
7fcb32ddf3
fill_constant op supports NINF ( #28270 )
5 years ago
wangchaochaohu
495a9ceb95
fix the input error of size Op ( #28272 )
5 years ago
liym27
b1eb28d74b
[Dy2Stat-log] Call warnings.warn() to display the warning-message only once when calling StaticFunc.__call__ or ProgramTranslator().get_output ( #28260 )
5 years ago
Zhang Ting
fdc06f2158
add Fuse bn add act pass ( #28196 )
...
* add fuse_bn_add_act pass
5 years ago
Chen Weihang
813b2ade34
Enrich the python error types of paddle & polish format ( #28124 )
...
* add multiple exception type
* define all exception & polish compile pystack
* mapping paddle error to python exception
* polish static mode error format
* fix failed unittests
* fix dytostatic test_error
* fix check_nan_inf failed
* add unittest for coverage
* revert some code try to solve compile error
* refactor enforce & error change
* polish code & add unittest
5 years ago
Aurelius84
a5c18204e9
[Dy2stat]Join break cond with while cond in some pattern ( #28171 )
...
* Join break cond with while cond
* remove usless code
* refine the if code
* Split into BreakTransfromOptimizer
* add BreakTransformOptimizer in ast_transformer
* add more comment
5 years ago
Aurelius84
7a3a05cccb
[Dy2Stat]Support to save model with nested output ( #28224 )
5 years ago
Kaipeng Deng
4671d85a03
fix DataLoader return same format between static & dynamic in single mode ( #28176 )
...
* fix DataLoader return same format between static & dynamic in single mode. test=develop
5 years ago
Adam Osewski
7db747d9e8
oneDNN BatchNorm + Act fusion pass. ( #27912 )
5 years ago
Zhou Wei
fb7f85291b
fix print tensor place,add cpu/cuda/pin_memory API for Tensor ( #28200 )
5 years ago
cnn
9940871888
[cherry pick ] cherry pick 28108 28198 28199 from release2.0rc ( #28215 )
...
* Release 2.0rc cherry pick api rename #28108 (#28184 )
* rename count_include_pad-->exclusive return_indices-->return_mask
* remove track_running_stats
* fix typo.
* rename xxxd-->xxxxD
* solve conflicts
* 2.0rc api add all any (#28199 )
* reduce trt warning message (#28011 )
add paddle.enable_static() on sample code
alias recude_all-->all, reduce_any-->any
add import reduce_all and reduce_any in python/paddle/tensor/math.py
import all and any in python/paddle/tensor/__init__.py
remove all and any OP in python/paddle/tensor/logic.py, add all and any OP in python/paddle/tensor/math.py
fix import error
remove TestAllAPI temporary
* fix doc of recdue_all and reduce_any, test=document_fix
* fix typo
* fix unittest for all and any API
Co-authored-by: Pei Yang <peiyang@baidu.com>
* rename conv_transposeXd-->convXd_transpose (#28198 )
* fix sample code of reduce_all and reduce_any
Co-authored-by: Pei Yang <peiyang@baidu.com>
5 years ago
Leo Chen
f4f823c860
Refine the format of printing tensor 2 ( #28216 )
...
* refine format
* update doc
* handle uninitialized tensor
* add ut
5 years ago
tianshuo78520a
11089cacdb
Fix xpu notest ( #28204 )
...
* Fix xpu notest;test=kunlun
* fix
* test=kunlun
* test=kunlun
5 years ago
mapingshuo
81244fbfab
add sharding strategy in fleet( #27900 )
...
* add sharding
5 years ago
Huihuang Zheng
a1e7fd4a13
Fix test_parallel_executor_test_while_train Random Failure by Decreasing GPU Usage ( #28213 )
...
Recently, test_parallel_executor_test_while_train randomly failed on CI. On all CI logs, it showed NCCL initialization failed or cusolver initialization failed. I found online that those failure is usually caused by GPU shortage. Those API calls CUDA APIs directly so it shouldn't be the problem of allocator. It may be somewhere in PaddlePaddle increases GPU usage.
However, I run this test for 1000 times on my machine and the CI machine, either of them can reproduce the random failure. Maybe there is something related to the environment only happened in test env.
To verify my assumption that somewhere in PaddlePaddle increases GPU usage and also fix this CI, I decreased the batch_size to see whether the random failure disappears in test env.
5 years ago
WangXi
11acbfae06
refine auto strategy, test=document_fix ( #28211 )
5 years ago
Feiyu Chan
efe6e2840c
fix strided_slice_op's GetExpectedKernelType ( #28192 )
...
* fix strided_slice_op's GetExpectedKernelType when input tensor is at CUDAPinnedPlace
* add unittest for tensors in cuda pinned place
* skip test for cuda pinned place on cpu machines
5 years ago
Leo Chen
1f3be85914
Fix bug of fetch_async_op_handle when fetching the feed variable ( #28194 )
...
* fix bug of fetch_async_op_handle
* revert some changes of test_buffer_shared_memory_reuse_pass
* revert some changes of test_buffer_shared_memory_reuse_pass
5 years ago
Aurelius84
e730516090
[Dy2stat] Refine return mechanism in @to_static ( #28116 )
...
* remove some judgement
* fix len(outputs) == 1
5 years ago
LielinJiang
68449d19a5
Update hapi predict interface ( #28180 )
...
* update hapi predict interface
* fix code style
* fix docs
* fix docs
* fix docs
* update docs
* fix codes style
* fix unittest
* fix unittest
* fix coverage
5 years ago
Chen Weihang
5d73bfdb98
fix test_weight_decay_extend error ( #28178 )
5 years ago
lilong12
4873c20d74
modify ut cmakefile ( #28140 )
...
* modify ut cmakefile, test=develop
5 years ago
cnn
7c1aa0d69d
2.0rc api rename ( #28088 )
...
* rename manual_seed to seed
* rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
* rename manual_seed --> seed
* do not rename .cc, .cu and .h file
* rename manual_seed --> seed
* rename manual_seed --> seed
* rename manual_seed --> seed
* rename manual_seed --> seed
* disable_static on doc example code
* donot change manual_seed on generator
* add enable_static on sample code
* convert python/paddle/fluid/layers/nn.py to bak
* fix typo
* fix code style
* fix seed to manual_seed when call functions of Generator()
* fix bug
5 years ago
liu zhengxi
bc46069225
fix dynamic decode imperative ( #28160 )
5 years ago
pangyoki
2d45d9a04f
add static_mode_white_list ( #28112 )
...
* add static_mode_white_list
* add Mac CI static list
* add Win CI white_list
* add Coverage and Py3 CI white_list, add test_unittest
5 years ago
wangguanzhong
5cd97a1cb0
support multiclass nms for multi-batch, test=develop ( #28154 )
5 years ago
李灿
085b9619f5
fix bugs test=develop ( #28125 )
5 years ago
zhulei
446d184e11
Add new api: is_tensor ( #28111 )
...
* Add new api: is_tensor
* Add new api: is_tensor
* Add new api: is_tensor
* Add new api: is_tensor
5 years ago
lilong12
cd372447b9
disable test_dist_mnist_hallreduce, test=develop ( #28129 )
5 years ago
wangguanzhong
d1e1f17482
fix generate_proposal_labels in cascade-rcnn series model, test=develop ( #27892 )
...
* fix generate_proposal_labels in cascade-rcnn series model, test=develop
* fix example code & unittest, test=develop
* update code from review comments, test=develop
5 years ago
Leo Chen
a911c19eb0
fill_constant op supports NaN and Inf ( #28109 )
...
* fill_constant supports nan and inf
* add ut
5 years ago
LielinJiang
74c8a81127
Add pil backend for vision transforms ( #28035 )
...
* add pil backend
5 years ago
Aurelius84
135b62a4ec
[Dy2stat] Refine code of DygraphToStaticAst ( #28103 )
...
* refine code of DygraphToStaticAst
* add __init__ function
5 years ago
hong
5a589b2f86
reduce imperative ocr attention config; test=develop ( #28079 )
5 years ago
zhang wenhui
af70924061
fix test_group_norm_op_v2.py, test=develop ( #28104 )
5 years ago
Double_V
d43f75e4cc
add rois_num for roi_align xpu OP ( #28077 )
...
* add stack pool2d roi_align xpu op,test=kunlun
* error message opt, test=kunlun
* add xpu unittest,test=kunlun
* skip check grad,test=kunlun
* fix boostget , test=kunlun
* error message opt for XPU, test=kunlun
* add rois_num for roi_align xpu OP, test=develop
5 years ago
hong
651dab4af6
Catch exception in download ( #28090 )
...
* cat exeception in request download; test=develop
* add re-try in download; test=develop
5 years ago
LielinJiang
8327accc58
Fix dataloader when stack input data with different type ( #27950 )
...
* fix dataloader
5 years ago
yinhaofeng
6f0c3d1f06
xpu adam op ( #28031 )
...
* lookup_table_xpu op report errors;test=kunlun
* add adam xpu op;test=kunlun
* reset lookup
* change adam wrong;test=kunlun
5 years ago
TeslaZhao
a5c95cd588
Add xpu transpose2 op.test=kunlun ( #28086 )
5 years ago
Kaipeng Deng
a5f65d516f
hapi/model step learning rate on batch end. ( #27991 )
...
* hapi/model step learning rate on batch end. test=develop
5 years ago
LutaoChu
c8d32c8c10
Fix diag OP bug on Windows Python3.8
...
Fix diag OP bug on Windows Python3.8 ,remove the std::min
5 years ago
MRXLT
55098b975e
fleet support paddle.optimzier ( #28026 )
...
fleet support paddle.optimzier
* bug fix
* fix fleet_base
* bug fix
* fix coverage
5 years ago
lilong12
5bb348a1c2
add doc for ReduceOp ( #28051 )
...
* add doc, test=document_fix
5 years ago
Zhou Wei
086b92df8f
fix optimizer init ( #27995 )
5 years ago
liuyuhui
e21b13fbf8
[API 2.0: doc] transfer from paddle.fluid.layers.assign() into creation.py ( #27999 )
...
* transfer from paddle.fluid.layers.assign() into creation.py,test=develop
* fix ut fail,add support for paddle.assign,test=develop
* fix,test=develop
* fix UT coverage,test=coverage
* fix UT fail,test=coverage
* fix doc,test=develop
5 years ago
huangxu96
d466893820
Allclose op ( #27891 )
...
* Still has bugs.
* Fixed allclose_op bug, which cannot deal with some cases of fp64 inputs.
* improved CUDA kernel performance.
* Changed CUDA code.
* Fixed a bug in cuda kernel which cannot deal with large dimension input, and added an unittest for it.
* Add a test case for float32 input.
5 years ago
pangyoki
975bd8873b
Fix error message of multinomial op ( #27946 )
...
* fix multinomial doc
* fix multinomial error message
* little doc change
* fix Categorical class doc
* optimize format of error message
* fix CPU Kernel error message format
* fix isinf and isnan error in WindowsOPENBLAS CI
* delete inf and nan
* add manual_seed in sample code
* little error message change
* change error message to InvalidArgument
* add full point for error message and add manual_seed in CPU environment
5 years ago
pangyoki
4c5b779a99
Add truncated_gaussian_random XPU kernel ( #27861 )
...
* Add truncated_gaussian_random_op XPU kernel
* Add truncated_gaussian_random_op XPU kernel, test=kunlun
* little change, test=kunlun
* change boost_get to BOOST_GET_CONST
* change boost_get to BOOST_GET_CONST, test=kunlun
* little change, test=kunlun
* use Generator to generate random number and optimize format, test=kunlun
* little change, test=kunlun
* add TODO, test=kunlun
5 years ago
pangyoki
5b8e500135
Add gaussian_random XPU kernels ( #27853 )
...
* Add gaussian_random XPU kernels
* commit kunlun, test=kunlun
* new version, test=kunlun
* change boost_get to BOOST_GET_CONST, test=kunlun
* use Generator to generate random number and optimize format, test=kunlun
* add TODO, test=kunlun
5 years ago
pangyoki
74ce039743
Add uniform_random XPU kernel ( #27846 )
...
* support uniform_random op on Baidu Kunlun
* change dtype of attr shape from int to int64_t
* kunlun ci, test=kunlun
* new version, test=kunlun
* change boost_get to BOOST_GET_CONST
* change boost_get to BOOST_GET_CONST, test=kunlun
* use Generator to generate random number and optimize format
* run Kunlun CI, test=kunlun
* add TODO, test=kunlun
5 years ago
liuyuhui
3e9568653b
add cast/concat/assign xpu op ( #27911 )
...
* addd
* add cast_op_xpu, test=kunlun
* fix bug for cast_op_xpu,test=kunlun
* add concat_op_xpu, test=kunlun
* slove conflicts, test=kunlun
* fix bug,test=kunlun
* add assign_op_xpu, test=kunlun
* fix bug,test=kunlun
* test=kunlun;test=develop
* fix concat bug,test=kunlun
* fix check_dygraph set in test_concat_op_xpu.py,test=kunlun
* fix error message,test=kunlun
Co-authored-by: mapingshuo <mps2012@yeah.net>
5 years ago
littletomatodonkey
2ed84a679d
Add API for pad op. ( #27943 )
...
* add pad apis
* rm pad2d test_layer
* fix code example
5 years ago
Aurelius84
3718b2e706
Fix test_lstm unittest failed and Add more unittest ( #28029 )
...
* fix test_lstm unittest failed
* add more unittest
* modify cmakelist
* fix judgement
5 years ago
YUNSHEN XIE
bf5325f38f
disable test_lstm,test=document_fix ( #28030 )
...
* disable test_lstm,test=document_fix
* fix some error,test=document_fix
5 years ago
WangXi
fb641c915e
【paddle.fleet】fleet add _get_applied_meta_list and _get_applied_graph_list ( #27952 )
5 years ago
Guo Sheng
fa9d3fa5bf
Incorporate cudnn_lstm into LSTM api ( #27217 )
...
* Incorporate cudnn_lstm into LSTM api.
test=develop
* Make coalesce_tensor support alignment optionally.
test=develop
* Reorganize RNN apis. test=develop
* Fix cudnn rnn layout conversion.
test=develop
* Add sequence_length support for RNN cudnn implement.
Add optional init_h and init_c gradient for cudnn_lstm_op.
test=develop
* Use create_parameter for rnn cudnn impl.
test=develop
* Move `self._flat_weight = self.create_parameter()` in RNNBase to main_program.
test=develop
* Update RNN api unittest to use set_device.
test=develop
* Fix set_place for unit tests of RNN apis.
test=develop
* Fix use_align in coalesce_tensor_op.
test=develop
* Adjust RNN apis arguments according to comments.
test=develop
* Polish documents for SimpleRNN apis.
test=develop
* Refine random seed in cudnn_lstm_op.
Expose rnn params from sublayers to RNN.
test=develop
* Fix RNN saving for jit.save.
Refine cudnn_lstm dropout behavior.
test=develop
* Fix doc of GRU. test=develop
* Use ShareDataWith to avoid copying for cudnn_lstm_op test.
test=develop
* Remove updates on cudnn_lstm temporarily.
test=develop
* Use ShareDataWith to avoid copying for cudnn_lstm_op test.
test=develop
* Refine random seed in cudnn_lstm_op.
test=develop
* Fix test_lstm by adjust ConcreteProgram buffer getter.
test=develop
* Use create_parameter instead of create_var for rnn._flat_weight for static graph usage.
test=develop
* Remove W input for cudnn_lstm to pass unused_var_check.
test=develop
* Add test_predict for RNN unit tests coverage.
test=develop
* Fix code style of rnn.
test=develop
* Fix F.rnn usage in rnn.py.
test=develop
5 years ago
Leo Chen
78b1026fa3
fix random failure ( #27996 )
5 years ago
Aurelius84
ffcc11758a
[Dy2Stat] Fix Error when generating train_program in eval mode ( #27975 )
...
* Fix save in eval mode
* remove assert statement
* fix test_partial_program failed
* add more test
* modify back into _train_program
5 years ago
chentianyu03
05fd49e974
change paddle.fluid.layers.reduce_sum to paddle.sum in sample codes ( #27998 )
...
* change paddle.fluid.layers.reduce_sum to paddle.sum in sample codes
* format codes
5 years ago
lilong12
ff0ebefc1e
put gloo initialization log to file ( #27969 )
...
* update, test=develop
5 years ago
chentianyu03
57a9c27248
change paddle.fluid.data to paddle.static.data in sample code ( #27992 )
5 years ago
Jack Zhou
d330cf66cc
Fix xpu enforce ( #27978 )
...
* test=kunlun;
Add elementwise XPU OP kernel for KUNLUN core, including (but still cannot process common broadcast):
* elementwise_div op
* elementwise_max op
* elementwise_mul op (with grad op)
* elementwise_sub op (with grad op)
* 0.05->0.01
* add xpu error message description;test=kunlun
5 years ago
lidanqing
7cb4a8b8f2
[oneDNN] Conv dilation support ( #27914 )
...
* conv dilated mkldnn support: forward and backward pass
* add mkldnn conv_transpose dilation UT
test=develop
* remove unnecessary PADDLE_ENFORCE
* add int8 and bf16 dilated conv UT
* update according to reviews
5 years ago
chentianyu03
5bcb4c7b54
Change reduce mean ( #27997 )
...
* change paddle.fluid.layers.reduce_mean to paddle.mean
* change paddle.fluid.layers.reduce_mean to paddle.mean
5 years ago
chentianyu03
4aacacb4d6
change paddle.fluid.layers.fill_constant to paddle.full in sample codes ( #27993 )
5 years ago
Guo Sheng
0133581531
Clean text.py and decode.py for API 2.0 ( #26853 )
...
* Make dynamic_decode support dygraph and expose to API 2.0
test=develop
* update info about BeamSearchDecoder and dynamic_decode
* remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
* update example code
* delete test_text.py, decode.py, update some doc, fix example code float64
* delete decode import from paddle.nn
* fix unittest bugs
* use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
* update, correct doc
* move dynamic_decode, BeamSearchDecoder API to paddle.nn
* fix code style
* update unittest param, delete import pf text.py
* set dtype of beamsearchtest float64
* update example code of BeamSearchDecoder, dynamic_decode
Co-authored-by: LiuChiaChi <709153940@qq.com>
5 years ago
Steffy-zxf
832458d516
update code examples for paddle.sums
...
update code examples for paddle.sums
5 years ago
tangwei12
202bfab1be
Feature/large scale kv save base/delta ( #27470 )
...
* add size method for large scale
* add large scale UT
* add ut for checkpoint
5 years ago
123malin
aa3b4ed717
【paddle.fleet】geo send sparse optimize ( #27719 )
...
* test=develop, fix geo sgd communicator
* test=develop, gloo_init_method
* test=develop, bug fix for gloo http_init
5 years ago
Zhou Wei
2ac6c6c3af
fix bug of tensor copy of CUDAPinnedPlace ( #27966 )
5 years ago
Thunderbrook
f58434ef2c
fix slice doc ( #27941 )
...
* test=document_fix
* fix slice doctest=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
5 years ago
mapingshuo
5ccaaab8aa
reshape support bool, test=develop ( #27944 )
5 years ago
danleifeng
8d7908f3fd
【paddle.fleet】raise error when using multi-cards in fleet non_distributed mode ( #27854 )
...
* raise error if use multi-cards in fleet non_distributed mode; test=develop
5 years ago
Qinghe JING
4a4f773658
Add reduce sum and reduce mean xpu op ( #27939 )
...
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
5 years ago
Zhou Wei
bf412f4665
add tensor clone ( #27953 )
...
* add tensor clone
* fix unittest test_var_base
5 years ago