Commit Graph

11679 Commits (b301adc98b7f8731031ae46a7d9ae9f91c617869)

Author SHA1 Message Date
Feiyu Chan e1f8617ee2
bugfix: RNN does not initialize the state for the cell correctly (#27644)
4 years ago
Li Fuchen 5e4f01f5ef
modified sample code of add_position_encoding to 2.0 (#27561)
4 years ago
Zhang Ting a4c25b2f34
use paddle.is_compile_with_cuda (#27586)
4 years ago
yaoxuefeng 780140599f
【paddle.distributed.fleet】add data_generator in distributed.fleet.dataset (#27345)
4 years ago
Zhang Ting eb37ee2a26
modify docs of program API, test=document_fix (#27600)
4 years ago
lilong12 36c0410223
Revert "Initialize gloo for low level collective apis (#27356)", test=document_fix (#27665)
4 years ago
Zeyu Chen aed0080181
Remove NLTK requirements to avoid dependency security alert from Github Dependabot. (#27628)
4 years ago
Pei Yang ae6e40a7fd
Add unittests and OP version registry for tensorrt_subgraph_pass (#27544)
4 years ago
123malin 6822307745
test=develop, rm netifaces (#27581)
4 years ago
wanghuancoder c68a0313a5
add paddle.fluid._cuda_synchronize (#27595)
4 years ago
Li Fuchen 516d84b22a
fix tests warpctc (#27639)
4 years ago
liym27 074a71bd25
Support assignment to a Variable in dynamic mode but not deal with backward. (#27471)
4 years ago
lilong12 fa73e4a284
Initialize gloo for low level collective apis (#27356)
4 years ago
Tao Luo bf99bc4a62
update name_scope example code (#27594)
4 years ago
WangXi 5641ea2bf6
Remove optimizer which in fleet, test=develop (#27606)
4 years ago
littletomatodonkey 68df20d2f2
fix pad2d example code (#27615)
4 years ago
Aurelius84 7c5162400f
[API 2.0]Migrate api example for gradients/append_backward/program_guard (#27570)
4 years ago
Dong Daxiang 4e8f18ab25
Get final strategy (#27602)
4 years ago
furnace d01f626944
update mv op according PR#27024 (#27474)
4 years ago
YUNSHEN XIE d1c2a3bc6f
disable ut test_warpctc_op,test=document_fix (#27632)
4 years ago
littletomatodonkey 6e41143ffe
remove paddle.metrics.cos_sim api (#27569)
4 years ago
whs 96daa2594e
Fix padding in conv1d op (#27590)
4 years ago
Li Fuchen 1501a80f74
add support to float64 input of warpctc op. (#27399)
4 years ago
liym27 3f170dd83d
[API 2.0] Fix example code of api 'switch_case' and add/delete alias (#27578)
4 years ago
Zhou Wei c5b6e44b4a
fix cholesky of test_math_op_patch_var_base (#27591)
4 years ago
liym27 9b7ebf1099
[API 2.0] Fix example code of api 'case' and add/delete alias (#27577)
4 years ago
QingshuChen 6b727e08b1
support elementwise add, activation, matmul on Baidu Kunlun (#27143)
4 years ago
Jack Zhou d37b3774fd
register log double grad kernel for cpu and cuda
4 years ago
Zhou Wei 162b4d6c13
remove to_variable from 2.0 (#27528)
4 years ago
Chengmo 0e101c4f6f
Fix test dist fleet heter ctr (#27513)
4 years ago
Double_V 42065ba37a
fix activate_nn_grad, test=develop (#27555)
4 years ago
Double_V b9d739a7ea
fix pool bug, test=develop (#27537)
4 years ago
gongweibao 86fa043205
init test=develop (#27554)
4 years ago
Chen Weihang ecfdfc9c58
fix guard place set error (#27573)
4 years ago
joanna.wozna.intel b0ee1405f7
Add conv2d bfloat16 support (#27325)
4 years ago
LielinJiang b38e4f2840
Refine vision models (#27476)
4 years ago
Leo Chen 0b4bb023a7
Add static mode check on data() (#27495)
4 years ago
Thunderbrook 6f69a4cb05
add xpu in heter mode (#27000)
4 years ago
ceci3 8daccc9ea7
Fix batch norm double grad compute (#27549)
4 years ago
Chen Weihang c143326df5
try to fix test_paddle_save_load unknown timeout (#27536)
4 years ago
ShenLiang 6fc74bbaf6
add fp16 for matmul (#27523)
4 years ago
Zhong Hui fab4e6d08f
add abs support double grad
4 years ago
Shang Zhizhou 77a36f8997
[buf fix]:fix some unittests error (#27540)
4 years ago
zhang wenhui 6e16a0997c
fix unittest_group_norm_op_v2, test=develop (#27486)
4 years ago
Chen Weihang dd04b160d9
fix test imperative se resnext failed (#27538)
4 years ago
WangXi e550fc02ae
fleet2.0 add fp16 grad compression (#27480)
4 years ago
cc c5c13473c6
Add compatibility check for four mkldnn pass (#27364)
4 years ago
Leo Chen 41a7ce8347
fix random failure of test_buffer_sahred_memory_reuse_pass (#27551)
4 years ago
Kaipeng Deng 8473ee9dae
make places of DataLoader optional. (#27432)
4 years ago
Wilber 3d5522146e
register seq_concat_fc_fuse pass. (#27479)
4 years ago
123malin 32ad4f90a4
【paddle.fleet】 Usages Change: from fleet.util() to fleet.util (#27468)
4 years ago
Huihuang Zheng 273f58a3c5
Decrease Random Failure Probability for test_parallel_executor_mnist, test=develop (#27498)
4 years ago
Chen Weihang 59c049995e
change test main process wait time (#27516)
4 years ago
YUNSHEN XIE b6ecf35627
disable test_paddle_save_load,test=document_fix (#27534)
4 years ago
Guo Sheng 081fb2f963
Remove dependency on nltk for paddle __init__. (#27388)
4 years ago
Chen Weihang f2c97b6da5
replace dataset with fake data (#27519)
4 years ago
LielinJiang 78a27a2b0d
Reproduce summary api (#27367)
4 years ago
Aurelius84 fc9d80bc9e
[Dy2Stat]rename StaticLayer into StaticFunction (#27487)
4 years ago
Zhou Wei 5c8fdb5926
Fix GradientClipByGlobalNorm dtype bug (#27437)
4 years ago
tangwei12 c0caf0e45f
fix ut for static graph (#27506)
4 years ago
YUNSHEN XIE 66951ab2ea
modified timeout value for 4 ut (#27462)
4 years ago
Chen Weihang bb84f0e646
Add new paddle.save/load APIs (#27331)
4 years ago
YUNSHEN XIE 19a58b3d5d
disable ut test_vision_models and test_pretrained_model,test=document_fix (#27502)
4 years ago
Zhou Wei 1e1ae5c54d
Make the Bind Method of Tensor more automatic (#27270)
4 years ago
LutaoChu 5508c78744
Fix bug: The calculation result of Diag_v2 Op under large size input is wrong (#27447)
4 years ago
tangwei12 bc5f0246a8
large scale kv speedup (#26510)
4 years ago
Qi Li d7b7dcd10e
fix cmake dependencies of test_recognize_digits, test=develop (#27475)
4 years ago
cc 43240a1b81
[doc] Add example for cache and buffered (#26819)
4 years ago
Zhang Ting 906e7f921e
add fuse_bn_act op (#27230)
4 years ago
Wilber 5034d181f3
update for 2.0 inference api. (#27473)
4 years ago
danleifeng 0721767ba9
fix server_num bug;test=develop (#27442)
4 years ago
wangchaochaohu 76fb95fe76
avoid data transform for linspace OP (#27444)
4 years ago
pangyoki 827ac36faa
Use dygraph mode by default (#27443)
4 years ago
wangchaochaohu 0a862fd356
refine the precious of linspace Op using half way (#27452)
4 years ago
danleifeng 905e2346ac
add endpoints log;test=develop (#27439)
4 years ago
Aurelius84 7ba6279a25
[Dy2stat] Refine error msg of @to_static if not in imperative mode (#27371)
4 years ago
Kaipeng Deng 18f2ea66bd
remove paddle.readers API (#26727)
4 years ago
Zhong Hui f4c750d721
Add the cpu version of segment sum mean max min op
4 years ago
guofei 3fe176df35
Fix test_gast_with_compatibility.py due to the problem of gast in python3.8 (#27433)
4 years ago
furnace 13a4c74efd
add mv op(c++, python, unit test) (#27024)
4 years ago
LutaoChu f11a53ee76
Optimize argsort Op performance on GPU
4 years ago
ceci3 1d3b27cae8
add double grad compute for batch norm (#27296)
4 years ago
Kaipeng Deng 4bd7aa2566
use paddle.get_default_dtype in vision datasets. test=develop (#27426)
4 years ago
danleifeng fc61efd736
fix port env bug(int);test=develop (#27405)
4 years ago
Double_V e217e965a9
fix pool bug (#27366)
4 years ago
Shang Zhizhou d93661942e
fix bug sequececonv_eltadd_relu_fuse_pass (#27404)
4 years ago
Leo Chen aba759ba16
[Feature] Enhance inplace addto strategy for gradient accumulation in static graph (#27112)
4 years ago
LutaoChu 669efb98de
Fix bug: shapes of Topk outputs are wrong when the parameter k is Tensor
4 years ago
Wilber 39546aa2f3
Add pass compatible and unit test. (#27377)
4 years ago
huangxu96 02606d45ef
Quant op dev (#25932)
4 years ago
guofei aa7835efee
Correct the error in decorator.py (#27409)
4 years ago
Kaipeng Deng f3b4a64add
fix CIFAR MNIST UCIHousing dataset. test=develop (#27368)
4 years ago
MRXLT f936adbd2d
fix adam (#27343)
4 years ago
tangwei12 d6b54de467
【paddle.fleet】Fix/role maker api fix (#27326)
4 years ago
tangwei12 99626502f7
【paddle.fleet】gloo and util (#27213)
4 years ago
liu zhengxi 4c5cfdea1b
fix paddle.nn.Transformer api (#27391)
4 years ago
Pei Yang fd7ab4e63c
register pass compatibility (#27357)
4 years ago
haozech 7e6dfcf9b2
Add 3 pass version check (#27283)
4 years ago
LielinJiang 03b0e0c42b
Remove dependences of cv2 (#27286)
4 years ago
chajchaj fef94eac4e
fix cross_entropy bug of the axis parameter in log_softmax (#27311)
4 years ago
Zhen Wang d28162b97f
Remove save_quantized_model in ImperativeQuantAware. (#27240)
4 years ago
liym27 ac82baa80d
[Dy2Stat-log] Add feature also_to_stdout and optimize log messages (#27285)
4 years ago
Shang Zhizhou 3c11717988
add op version checker to ir passes (#27329)
4 years ago
furnace 515efe4240
add empty_like op (python, and unit test), use c++ implementation of empty op, (#27287)
4 years ago
123malin f36b9a7f79
【Fleet2.0 Util】 add documents (#26698)
4 years ago
guofei bcb4a583aa
Replace the 'spawn' start method with 'fork' start method for multiprocessing, on MacOS with python>=3.8 (#27317)
4 years ago
Jack Zhou 63203c4abc
enhance reduce op which can reduce tensor with arbitrary rank
4 years ago
LiuChiachi 69279207eb
Update hapi.model._save_inference_model by using new features of dy2stat in 2.0-beta API (#27272)
4 years ago
YUNSHEN XIE f0a5eef58f
cancel three disable ut (#27359)
4 years ago
YUNSHEN XIE 25902b2c12
del exclusive ut which name with test_dist_ (#27316)
4 years ago
ShenLiang 9ee77b1f41
Fix elementwise_floordiv op (#27352)
4 years ago
Zhou Wei 7d7f0fad7f
python for windows not install netifaces (#27355)
4 years ago
guofei 9bea834ed4
Refine the unittest to support py38 (#27208)
4 years ago
Zhou Wei a7fadce82f
fix dll load bug on windows from python3.8 (#27324)
4 years ago
Huihuang Zheng d4b4357bc0
[Dy2stat] Change the Global Switch Name of ProgramTranslator for API 2.0 (#27203)
4 years ago
danleifeng 8d05c00c67
fix paddle.fleet en-doc for apis in dynamic mode (#27354)
4 years ago
ShenLiang 746a8ded29
fix comment of adaptive lsgd (#27362)
4 years ago
wanghuancoder bf8e030eed
modify test_imperative_using_non_zero_gpu from use two gpus to one gpu (#27348)
4 years ago
Leo Chen 189e10f1dd
Remove unnecessary requirements (#27341)
4 years ago
gongweibao 11bcf0e21c
Cleanup redundant code files (#27319)
4 years ago
ShenLiang 54b81fa32c
add adaptivelsgd in meta_optimizer (#27289)
4 years ago
Yibing Liu 34091533c9
Fix bug in continuous apply, test=develop (#27337)
4 years ago
Chen Weihang c23f09fea6
Support load state_dict from save_params/persistables (#27298)
4 years ago
yaoxuefeng c67c391682
refine fleet dataset class api (#27133)
4 years ago
ShenLiang c296618c94
fix error message in broadcast/allreduce/gather (#27302)
4 years ago
Chen Weihang 950301bfa1
Add input_spec & output_spec for TranslatedLayer (#27284)
4 years ago
littletomatodonkey 18fc927562
add regularizer api (#27292)
4 years ago
YUNSHEN XIE 8fe1c2d1c2
move three ut to execute only at night (#27314)
4 years ago
Zhen Wang ef6dd6b8e6
fix the test_fleet_lars_meta_optimizer ut. (#27291)
4 years ago
danleifeng 389a9a7e0e
fix ports conflict when use paddlecloud to launch analogue multi-nodes (#26191)
4 years ago
mapingshuo 9dedafa0df
fix strategy, test=develop (#27323)
4 years ago
chalsliu c8e54c5e42
Disable unit-test test_fleet_rolemaker_new
4 years ago
Shang Zhizhou 47fdc60ecc
Optimize slice trt plugin (#26970)
4 years ago
Wilber f827665ae6
[Pass Compatible] Bind python compatible. (#27262)
4 years ago
Shang Zhizhou e6e2e53782
Optimize error report (#27254)
4 years ago
GaoWei8 ee1ed42c99
change sequence length attribute to input (#27193)
4 years ago
cc 2d8281d5ad
Remove the cache in post_traning_quantization, test=develop (#26450)
4 years ago
YUNSHEN XIE 6947a58a1f
disable three unittests,test=document_fix (#27299)
5 years ago
zhupengyang ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid (#27277)
5 years ago
lilong12 bc3e9ba1c6
check the validation of parameters for expand and tile apis (#26816)
5 years ago
LielinJiang a685435962
fix conv depthwise bug (#27278)
5 years ago
xiaoting d4f03dfb71
fix for tuple,test=develop (#27190)
5 years ago
MRXLT 9166307315
add check for sparse parameters with weight_decay (#27141)
5 years ago
Chen Weihang 8d53172794
move DataLoader._worker_loop to top level (#27247)
5 years ago
Zhen Wang d708b21074
Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. (#26240)
5 years ago
ShenLiang 2b6a5793fe
remove auto mode from localsgd optimizer (#27237)
5 years ago
Adam cc3f4b813a
Add int8 GRU kernel (#27220)
5 years ago
Leo Chen 19228bd142
Temporally disable zero_copy (#27248)
5 years ago
Leo Chen f402d8d8c0
fix bug when axis is a tensor with more than 1 element (#27263)
5 years ago
Aurelius84 20a84820fd
fix unused var with zero gradient bug in fluid.gradient (#27246)
5 years ago
Chen Weihang 33ff833af2
fix loaded no params layer run error (#27241)
5 years ago
liym27 3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. (#27225)
5 years ago
Chen Weihang ac8afe184e
use structured name in loaded dict (#27242)
5 years ago
Aurelius84 5e0dde02b2
[Dy2stat] support usage: to_static(model) (#27040)
5 years ago
furnace 2e59769612
add empty op (c++, python, unit test) (#26659)
5 years ago
Zhen Wang b671538623
* Reduce the training iterations in test_fetch_unmerged and test_fuse_bn_act_pass. (#27234)
5 years ago
Zhen Wang ece74c4cd4
Update the _get_fake_quant_type definition in imperative QAT. (#27222)
5 years ago
lilong12 c5f957ae38
add double grad for tile op and expand_v2 op (#27114)
5 years ago
lilong12 58a88ba9af
add double grad for expand (#27183)
5 years ago
Chen Weihang 5406b014c0
Refine jit.save implement to adapt InputSpec using cases (#26959)
5 years ago
ShenLiang 5bd84b22c4
revert divide (#27202)
5 years ago
123malin 60c3ef3ab8
【paddle.fleet】parameter_server_optimizer support auto_strategy (#27181)
5 years ago
wawltor fde5cfe881
fix the CudaPinMemory bug for the equal op (#27176)
5 years ago
liym27 d3874ab44a
Move unittest test_optimizer_in_control_flow from CI multi_cards. (#27185)
5 years ago
Huihuang Zheng 40dd563dd7
Decrease test_parallel_executor_crf CI time, test=develop (#27212)
5 years ago
zhupengyang cc3306f7c8
restruct logsumexp to speed up compiling (#27191)
5 years ago
JZ-LIANG 5d039f4086
modified the implement of Lars optimizer (#26733)
5 years ago
liym27 a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 (#27201)
5 years ago
Dong Daxiang f7d08b7db8
【paddle.fleet】refine launch and distributed repr string for print (#27093)
5 years ago
Qinghe JING 43b0445b29
Add double grad in reduce sum (#27115)
5 years ago
iducn c60352b3d4
update requirements (#27172)
5 years ago
tangwei12 ca6100de5f
disable ut, fix it @malin (#27200)
5 years ago
liym27 3497fbe473
Use paddle.disable_static() to replace with dygraph.guard(). (#27139)
5 years ago
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
5 years ago
yongqiangma 4558d395e9
fix Norm op error (#26771)
5 years ago
LielinJiang 4d7d661249
Fix kl and summary bug (#27132)
5 years ago
Double_V c7b9d97fa9
fix avg_pool3d count_include_pad as True,test=develop (#27155)
5 years ago
whs eb01976037
[2.0 API]Add checker in grid_sample_grad op (#27126)
5 years ago
wangguanzhong a28ae86e11
Enhance ops to support LoD as input for dygraph detection models. (#25316)
5 years ago
yaoxuefeng 0dab0fc23c
add back triu in fluid (#27135)
5 years ago
123malin f2d68d3ed5
【paddle.fleet】parameter_server_optimizer support auto_strategy (#26838)
5 years ago
Chen Weihang 4c70e31ab5
add save load to jit.all (#27131)
5 years ago
LielinJiang 8df5b4d608
Add correlation api to contrib (#27015)
5 years ago
tangwei12 5dec254be5
fix weight (#26986)
5 years ago
yinhaofeng dc00bd67ff
delate some wrong message test=develop, test=document_fix (#26595)
5 years ago
Leo Chen d6ee0868a4
fix unsqueeze in dygraph (#27107)
5 years ago
xiaoting 58f3ef982a
fix typo for interp_v2,test=develop (#26843)
5 years ago
ceci3 54d8424e93
[2.0API] fix weight_norm support negative dim and unittest in convert_syncbn (#27108)
5 years ago
ShenLiang aca450f6fb
fix the localsgd optimizer (#27094)
5 years ago
Chen Weihang c1a8868732
Change jit.save/load configs to config & update code examples (#27056)
5 years ago
Dong Daxiang 0443b480b8
【paddle.fleet】add auto parallel L1 implementations (#27090)
5 years ago
wangchaochaohu 5af81f833c
fix gpu kernel for numel Op (#27085)
5 years ago
wawltor 39d5bb6dce
udpate the dtype check for the argmin, argmax
5 years ago
guofei 3a02424a4e
Refine the error of test_dynrnn_static_input (#27084)
5 years ago
Wilber 632125415c
Refine python inference api (#26958)
5 years ago
Sylwester Fraczek eb65877ce0
fix dimensions error for mobilenetv1_KL_quant (#26776)
5 years ago
wawltor 24ec5175ab
remove the dependence of matplotlib in dataset of uci_housing
5 years ago
pangyoki f0b26313d8
fix _check_values_dtype_in_probs method in Distribution class (#27046)
5 years ago
GaoWei8 4ff16eb201
Add padding cudnn interface (#26370)
5 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
5 years ago