Commit Graph

12159 Commits (0ce6d7fa77a4c19e6da33b8afcef265641f2e291)

Author SHA1 Message Date
ceci3 e7caf3b8d9
fix examples, test=document_fix (#29019)
6 years ago
Shibo Tao db41258501
add API serialize_program, serialize_persistables, save_to_file, deserialize_program, deserialize_persistables, load_from_file. (#29034)
6 years ago
Aurelius84 14013a2eba
Remove prettytable in requirements.txt (#29100)
6 years ago
Kaipeng Deng b052149dcf
remove BatchSampler type check (#29114)
6 years ago
yukavio 63e90ee331
add hapi api flops (#28755)
6 years ago
hutuxian db85f4cf8f
Add dygraph implementation for multiplex op (#29049)
6 years ago
joanna.wozna.intel b0d1ac161e
Add bf16 pool2d and unify bf16 unit tests (#29039)
6 years ago
gongweibao 1358397e97
Clean up the redundant files and unify the launch interface. (#28928)
6 years ago
Guanghua Yu 47af5c3c9d
fix smooth_l1_loss en docs (#29093)
6 years ago
LielinJiang 6951052431
add default conv init (#29092)
6 years ago
Chen Weihang fea0e294ee
Hide the C++ stack by default and add hints (#29042)
6 years ago
Yiqun Liu eb9ae55849
Optimize the performance of piecewise_decay. (#29077)
6 years ago
qingqing01 8bbedc2371
Fix doc format for callbacks, metrics and Model (#28638)
6 years ago
Chen Weihang a1486091f1
Polish load_program_state design to loading file onebyone (#29041)
6 years ago
GaoWei8 a049dff78f
Modify the default setting of softmax cudnn (#28672)
6 years ago
WeiXin fafadbab70
Rename variables when use 'jit.load' (#28933)
6 years ago
ceci3 a3faa520ec
Fix syncbn (#29013)
6 years ago
joejiong 582c0a0468
add uint8 for reshape op (#28996)
6 years ago
FlyingQianMM f0e614feae
change print([.*].numpy()) to print([.*]) in example codes of sigmoid_focal_loss (#29094)
6 years ago
liym27 682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop (#29023)
6 years ago
Zhou Wei 8ca0a8a859
fix tensor detach to zero copy (#27921)
6 years ago
GaoWei8 13828db313
Add reminder of fluid.layers.lstm (#28964)
6 years ago
Aurelius84 8af0d85ea4
fix unittest failed on windows GPU (#29072)
6 years ago
chajchaj dfaf6b5eea
save one name in cross_entropy and softmax_cross_entropy, test=develop (#29074)
6 years ago
taixiurong a5aa4dc7a9
add xpu elementwise ops (#29031)
6 years ago
tianshuo78520a e9acd9c941
Update CI Python3 Docker for Cuda11 (#28401)
6 years ago
joejiong b04c78ef5e
Update pow (#29000)
6 years ago
huangxu96 40f5453725
Quant nn2.0 (#28764)
6 years ago
Chen Weihang bb16c2515d
Polish parallel api impl & doc details (#28980)
6 years ago
joejiong 4b05a8be88
delete axis parameter in multiply api (#28647)
6 years ago
YUNSHEN XIE c098a2e159
fixing cmake error for WITH_GPU=ON and WITH_DISTRIBUTE=OFF (#29030)
6 years ago
chajchaj b52427327d
add soft_label and axis for CrossEntropyLoss and improve performance (#29024)
6 years ago
Chen Long 018e169923
fix some docs (#29011)
6 years ago
ysh329 9a475582e0
fix clip by norm EN doc. test=develop (#28994)
6 years ago
Huihuang Zheng 5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape (#28775)
6 years ago
YUNSHEN XIE 5cb8e17a18
restore timeout value (#29027)
6 years ago
Jiawei Wang f21513307a
add lamb optimizer and unittest (#28772) TODO:FIX BUGS LATER
6 years ago
Leo Chen 3815d7aa40
Upgrade string literals to raw string (#28989)
6 years ago
liym27 85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially(#28993)
6 years ago
Huihuang Zheng 96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop (#28992)
6 years ago
LielinJiang 982fd0f3c2
fix mnist fmnist (#29018)
6 years ago
wanghuancoder 887a35113e
fix eng doc for some api (#28477)
6 years ago
smallv0221 83cee3c9d7
Delete mq2007 dataset. (#28995)
6 years ago
Chen Weihang 9cd09a8586
Polish dataloader doc detail & update example (#28975)
6 years ago
123malin fbf9564f6b
【paddle.distributed.fleet】Optimize ParameterServer's Async Mode (#28442)
6 years ago
Leo Chen 98adc8f054
Dev/fix doc of some api (#28785)
6 years ago
lilong12 f77a78cdee
enable pipeline to run with Executor.run() (#28373)
6 years ago
lijianshe02 9f642ed881
fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=… (#28739)
6 years ago
joejiong 4e00c095fa
fix warning in english doc (#28981)
6 years ago
LiuChiachi 70385518a6
Add EarlyStopping (#28691)
6 years ago
LiuChiachi 8c8b42f28a
Update path name of saving in hapi (#28462)
6 years ago
Thunderbrook 0073f9bdb0
support ps-gpu (#28752)
6 years ago
Chen Weihang 768dab441e
polish two api doc detail, test=document_fix (#28971)
6 years ago
Chen Weihang 7c7cdf082f
remove fluid & variable in program (#28966)
6 years ago
furnace 8ff3550658
refactor momentum op to combine weight (#27414)
6 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)
6 years ago
Zhang Ting 3416c35996
refine doc of default_startup_program, test=document_fix (#28951)
6 years ago
Zhang Ting 842fd2933c
remove fluid in default_main_program doc, test=document_fix (#28941)
6 years ago
Zhang Ting b5218227d6
refine the doc of dist op, test=document_fix (#28947)
6 years ago
LielinJiang 8f8a02fda4
Optimize conv performance (#28766)
6 years ago
LielinJiang 00e55ded4a
Add lr scheduler callback for high level api (#28737)
6 years ago
yaoxuefeng 6369463a5d
fix test datagenerator ut fail (#28767)
6 years ago
Kaipeng Deng ed7aa8f9c3
Fix conv transpose (#28629)
6 years ago
Chen Weihang bff4179cc7
lazily init global group in collective (#28780)
6 years ago
gongweibao 1dad8ceaab
Fix gpu memory allocation bug. (#28703)
6 years ago
Kaipeng Deng 91bab752a9
fix dataloader default value and doc (#28728)
6 years ago
Chen Weihang 0ed80e09fc
Fix param base trainable set failed (#28756)
6 years ago
Aurelius84 d6aee7597c
[Dy2Stat]Set buff.persistable=False when it's not initialized (#28749)
6 years ago
joejiong 1a532d5133
add uint8 support for squeeze operator (#28734)
6 years ago
123malin 9066828b1b
test=develop, bug fix for embeddings padding (#28708)
6 years ago
Bai Yifan 655d5eb1db
fix code example (#28636)
6 years ago
joanna.wozna.intel 8c0ea4bffe
Add bf16 matmul, fc, elementwise add and mul (#28729)
6 years ago
Zhou Wei 3b0dd5f620
fix bug that to_tensor not support paddle.Place (#28717)
6 years ago
Aurelius84 e1c8d6bce5
Fix wrong out dtype inferred from helper.input_dtype (#28715)
6 years ago
taixiurong d3d1a6b6e0
add kunlun kernel: slice, slice_grad, top_k, cast. *test=kunlun (#28542)
6 years ago
Jack Zhou 9362d85e0e
Add LSTM, Simple RNN and GRU CPU kernel (#28577)
6 years ago
QingshuChen 30ef3815b3
adjust kunlun header file (#28536)
6 years ago
wangguanzhong d12aa4957f
remove alias for iou_similarity and ssd_loss (#28742)
6 years ago
Double_V 960135285b
fix pool APIs en doc, delete disable_static (#28679)
6 years ago
Wilber 60a5eb68a0
update paramattr doc. test=document_fix (#28745)
6 years ago
liym27 269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func (#28722)
6 years ago
danleifeng 7d32e100c5
upgrade to use paddle-2.0 API for sample code of paddle.t (#28726)
6 years ago
liym27 e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node (#28735)
6 years ago
Wojciech Uss 04bcc13fac
Add multi_gru op and tests (#28591)
6 years ago
Wilber fe2cf39f77
[2.0] Update py_func English doc. (#28646)
6 years ago
YUNSHEN XIE 16a808149a
modfied the timeout value for 5 ut (#28714)
6 years ago
liym27 9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message (#28713)
6 years ago
joejiong 32b90b1c2d
add log10 (#28576)
6 years ago
Shibo Tao f0806bdaf2
fix save_inference_model and load_inference_mode alias. test=develop (#28736)
6 years ago
TeslaZhao abbc507a81
Fix two english api documents, transpose and strided_slice (#28687)
6 years ago
Zhou Wei 5562d8094f
fix API optimizer get_lr to support static graph mode (#28681)
6 years ago
furnace caffa85ffe
add alias for fluid.initializer.set_global_initializer, alias is nn.initializer.set_global_initializer (#28690)
6 years ago
Shibo Tao f096af83a0
fix document sample. test=develop (#28721)
6 years ago
Chen Weihang 3c5f2cac68
fix save parse error for dict input (#28712)
6 years ago
Huihuang Zheng 9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop (#28710)
6 years ago
wawltor 20b1276598
faster the compare ops dygraph model speed
6 years ago
JZ-LIANG 5a9f6889c1
[Sharding] add new features (#28568)
6 years ago
xiaoting 8c75b2554a
Support Tensor for attr_scale and attr_size (#28677)
6 years ago
YUNSHEN XIE e880c90c5a
fix error when setting ut timeout value (#28696)
6 years ago
LielinJiang 01a14e1be2
Add with_pool args for vgg (#28684)
6 years ago
LielinJiang 532e4bbf2a
fix docs (#28683)
6 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)
6 years ago
Chen Weihang 358d6bc90f
Fix test_weight_decay_extend random failed on windows (#28643)
6 years ago
Bai Yifan 5050e761b8
Support user-defined activation/weight quantize and preprocess. (#28570)
6 years ago
Leo Chen 11e32baf1e
Add matmtl_v2 to amp list (#28693)
6 years ago
Huihuang Zheng b6f86b8491
Fix Using "isinstance" in Loop, test=develop (#28641)
6 years ago
lilong12 e4f9415338
update doc, test=document_fix (#28498)
6 years ago
Jacek Czaja 6d8d3d4c22
[oneDNN] Layer norm bf16 kernel (#28619)
6 years ago
LielinJiang cdc4e6620d
fix lenet num classes (#28642)
6 years ago
wangchaochaohu 912a5c30b4
fix the matmul_v2 test for cuda11 (#28635)
6 years ago
littletomatodonkey 82f0b5ea5c
adapt pad const (#28585)
6 years ago
Double_V d71c3463b0
fix pool exclusive and delete disable_static (#28655)
6 years ago
Aurelius84 8040fa2bca
Fix output dtype inconsistent with input (#28649)
6 years ago
wangchaochaohu 68ee7f7312
fix overwrite for gather OP of API2.0(#28659)
6 years ago
zhupengyang 2cd10fc465
fix 2.0 api docs (#28445)
6 years ago
Chen Weihang a083c76ab4
adjust signal failed wait time (#28640)
6 years ago
Zhou Wei 361a53930f
fix doc of save/load (#28645)
6 years ago
cc d1e84f3e9e
Add some ops for cacluating output scale, test=develop (#28644)
6 years ago
wawltor 8f2656ef5c
fix the gradient bug for the topk v2
6 years ago
wangchaochaohu a972c33fd7
refine gather OP performance for dynamic mode (#28587)
6 years ago
Kaipeng Deng ece1e4cd9d
Add weighted random sampler (#28545)
6 years ago
joanna.wozna.intel 2cb71c0cde
Add checkpoint to quantize (#28612)
6 years ago
lidanqing 804271cff9
Op version python mkldnn_inplace test (#28354)
6 years ago
pangyoki 72e068f1ba
fix test_multinomial (#28558)
6 years ago
Kaipeng Deng 89d27de90f
DataLoader support not auto collate batch (#28425)
6 years ago
Huihuang Zheng c5c273c13e
[Dy2stat] Fix Using Tuple for Transpose in Dy2stat (#28574)
6 years ago
GaoWei8 2b1e7e5b02
Polish where english doc (#28595)
6 years ago
Guo Sheng 110febdc54
Fix gradients with ignore_idx in softmax_with_cross_entropy (#28622)
6 years ago
Guo Sheng a3bc3bcd48
Fix scaled_params append error in AdamW. (#28633)
6 years ago
YUNSHEN XIE c4d22c845b
modified timeout value for some ut (#28616)
6 years ago
qingqing01 f7dd889ca4
Support squeezed label as input in paddle.metric.Accuracy (#28535)
6 years ago
Wilber 8b97bb2e1f
Update cmake for arm ft and fix a bug for Predictor dtor. (#28586)
6 years ago
LielinJiang 1c3eef4cee
Fix vgg error when num_classes is given (#28557)
6 years ago
LielinJiang 1de3cdd0ab
Fix summary api for rnn gru lstm (#28566)
6 years ago
danleifeng a24d186814
fix nccl init failed in parallel dygraph mode (#28497)
6 years ago
Huihuang Zheng 1adc09b56a
Make Batch Size Smaller on Mac Because of CI Machine (#28569)
6 years ago
lilong12 ed9dd7c9f0
add send and recv ops (#28590)
6 years ago
LiuChiachi 5579edfb3c
save dtype of inputs (#28301)
6 years ago
Yang Zhang c47bfe98cf
Reduce input data size for syncbn unit test by 8x (#28571)
6 years ago
channings c545b9b673
Add ONNX Exporter (#27831)
6 years ago
Zhou Wei bf6e7cba7a
updata 2.0 API english doc (#28525)
6 years ago
Yang Zhang 614f20f6ba
Update `add` `clip` `MSELoss` and `no_grad` (#28530)
6 years ago
Shang Zhizhou 8699f38d08
裁剪transformer模型trt支持;修复tensorRT不支持DeletePass的bug (#28517)
6 years ago
joejiong 08d2413142
add log2 operator (#28319)
6 years ago
lidanqing 0fc181dbd0
[Fix bug] If the pass name is not found, IsCompatible should return false (#28475)
6 years ago
Steffy-zxf b258caf467
fix add_n doc (eng) (#28464)
6 years ago
Leo Chen 543ff333cd
Refine the format of printing tensor 3 (support scaler tensor) (#28544)
6 years ago
furnace 26d292b108
bugfix for api (mv, empty, empty_like op) (#28513)
6 years ago
YUNSHEN XIE 621b31c526
modified timeout value for test_resnet_v2 and test_resnet (#28532)
6 years ago
Kaipeng Deng 5305b2749a
deprecated APIs under paddle.dataset. test=develop (#28423)
6 years ago
liym27 0ce933a9ee
[API2.0] Fix documents of 6 APIs to fit API2.0: (#28514)
6 years ago
Huihuang Zheng 3b0d31ab89
Modify ProgramTranslator and TracedLayer Doc for API 2.0 (#28509)
6 years ago
Zhou Wei c70c1c520d
make Numpy version is below 1.19.3 (#28510)
6 years ago
Huihuang Zheng 546b1c1dc4
Fix paddle.jit.dy2static.data_layer_not_check 2.0 API Doc (#28461)
6 years ago
yukavio 8f664a5c49
fix one_hot example code (#28432)
6 years ago
wangchaochaohu 241505c262
refine the doc for API2.0 (#28386)
6 years ago
YUNSHEN XIE 2159646796
modified timeout value for test_conv3d_mkldnn_op,test=document_fix (#28496)
6 years ago
Huihuang Zheng eb0855615c
Set Exclusive for test_yolov3 to Avoid Memory Segmentation Fault in CI Random Failure (#28485)
6 years ago
YUNSHEN XIE e1a5fc449d
fix ut exec timeout notest,test=kunlun (#28495)
6 years ago
YUNSHEN XIE d3b2d07d6e
modified timeout value on windows (#28499)
6 years ago
YUNSHEN XIE 1e698c600e
fix cmake error when setting ut timeout properity (#28492)
6 years ago
YUNSHEN XIE faa6549877
setting timeout properity for test_flags_mkldnn_ops_on_off (#28489)
6 years ago
Tao Luo 7fd2077211
set NCCL_SHM_DISABLE=1 for test_parallel_executor_profilery.py (#28484)
6 years ago
smallv0221 4fa1d39205
Fix en doc for rnn.py. test=document_fix (#28470)
6 years ago
WangXi 18525d3635
fix Tanh remainder en doc (#28455)
6 years ago
wangchaochaohu e14ed71cc2
refine the performance of gather Op (#28458)
6 years ago
YUNSHEN XIE 72c78e4dbb
exec ut no more than 15s 2 (#28441)
6 years ago
YUNSHEN XIE ba0756325a
exec ut no more than 15s 1 (#28439)
6 years ago
Chen Weihang 155b4f9b6c
Remove selected rows all reduce over height check (#28460)
6 years ago
WeiXin b5e662f837
refine jit.save/load to add support for other method, not only forward (#28376)
6 years ago
Zhang Ting 7fe5f9ccad
Fix unittest random failure (#28363)
6 years ago
QingshuChen 6bba8e57b1
fix batch_norm_xpu bug & remove xpusimulator dependence (#28430)
6 years ago
joanna.wozna.intel 7821759d48
Add bfloat16 softmax and gelu (#28394)
6 years ago
Aurelius84 bd8dfe38ca
[Dy2Stat] Refine code example for 2.0 (#28440)
6 years ago
littletomatodonkey f6834034cc
fix sample code (#28446)
6 years ago
zhupengyang 0155f91679
enable softmax unittest (#28362)
6 years ago
Aurelius84 2500dca878
[Dy2Stat] Fix bug in convert_call (#28368)
6 years ago
Jacek Czaja ca41541472
[oneDNN]Sum bf16 kernel (#28382)
6 years ago
LielinJiang b89b4e321d
add fashion dataset (#28411)
6 years ago
Kaipeng Deng 463075a82b
add paddle.io.ComposeDataset & paddle.io.ChainDataset (#28311)
6 years ago
Qi Li a4303496b2
[DOC] activation api doc, test=document_fix (#28405)
6 years ago
LielinJiang 3c95acc3eb
Remove cv2 dependence of normalize (#28361)
6 years ago
Leo Chen 44a476c2ab
support cuda pinned place (#28416)
6 years ago
lidanqing 12b9587be5
Add conv_bias pass version python test (#28278)
6 years ago
Li Fuchen f401907775
modified sample code of CTCLoss & ctc_loss by remove disable_static() & print([.*].numpy()) & alias, test=document_fix (#28403)
6 years ago
Kaipeng Deng 95b1868366
update DataLoader doc (#28290)
6 years ago
Leo Chen 71d6220772
Skip reader op in mixed_precision decorator (#28353)
6 years ago
Leo Chen 8b2436a776
Add broadcast_shape api (#28257)
6 years ago
石晓伟 21a63f6f90
enhance the op_version_registry, test=develop (#28347)
6 years ago
Shang Zhizhou ea851796e5
TensorRT中ernie模型推理性能优化,支持变长输入 (#28367)
6 years ago
Jacek Czaja 84cc61b2cd
[oneDNN] sum op refactor (#28318)
6 years ago
Wilber 6f0f45f69c
copy_to_cpu support uint8 (#28372)
6 years ago
Wilber 09fd2b2aab
Paddle support compile on sw (#27858)
6 years ago
Double_V 17db031a05
fix pool bug, test=develop (#28359)
6 years ago
Leo Chen 6115c14fca
Pool2d cuda kernel supports fp16 (#28316)
6 years ago
Guo Sheng 9a600df373
Add rnn_op (#28197)
6 years ago
Huihuang Zheng acc11c2a62
Retry CUDA Initialization to Fix Random Failure, test=develop (#28323)
6 years ago
wangguanzhong 5262b02585
add generate_proposals_v2 op (#28214)
6 years ago
Guo Sheng b96869bc31
Fix lr setting of AdamW when lr is an instance of LRScheduler (#28300)
6 years ago
Aurelius84 57e4411ab5
[Dy2stat] Support to modify value of buffer tensor (#28328)
6 years ago