Commit Graph

6129 Commits (d265b16aeda2dce574c89c4bda641835ebd89b07)

Author SHA1 Message Date
Zeng Jinle 8c594a84e1
fix double grad 2, test=develop (#23332)
5 years ago
Huihuang Zheng 8814853d82
Remove Read-Only Basic Type Variable in loop_vars (#23299)
5 years ago
Aurelius84 8473854547
Add dygraph_to_static training unitTest of transformer model (#23316)
5 years ago
hong 420944e514
enhance load dygraph; test=develop (#23167)
5 years ago
Zeng Jinle a7b0ff33ce
rm gc transformer ut, test=develop (#23308)
5 years ago
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
5 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
5 years ago
GaoWei8 20eed5401a
Change fluid.layers.where‘s C++ operator name (#23250)
5 years ago
Zeng Jinle 12355cccfd
add clear_gradients to star gan ut, test=develop (#23296)
5 years ago
FDInSky a582f10501
test=develop fix generate_proposal_labels unit test (#23154)
5 years ago
gongweibao af0ad915ea
fix testlaunch test=develop (#23304)
5 years ago
zhongpu dc24f38a9f
support math operator for variable (#23063)
5 years ago
Aurelius84 f8205ffa82
fix conflict var bug in loop_transformer test=develop (#23287)
5 years ago
Aurelius84 16e74f1185
fix is_controw_flow bug with `if Tensor.numpy()` (#23251)
5 years ago
Wojciech Uss be2ac9cc3a
separated QAT1 and QAT2 (#23284)
5 years ago
lidanqing c524b930e7
Update QAT INT8 related code (#23104)
5 years ago
Wojciech Uss f836c8aa8f
add check for scales and a message (#23119)
5 years ago
Zeng Jinle 8bfd62ffb7
Expose dygraph.grad api (#23124)
5 years ago
xujiaqi01 c8f9e66b71
fix no_cvm in config_fleet (#22818)
5 years ago
Leo Chen 8f2f977345
support feeding scalar when runing program , test=develop (#23214)
5 years ago
xujiaqi01 68ea1ad55b
add clear one table (#23089)
5 years ago
Adam 4a54a46419
Add UT for SGD operator with large inputs (#23195)
5 years ago
zhongpu e3a078fb4a
remove check_dygraph=False in test_data_norm_op optest (#22335)
5 years ago
Huihuang Zheng e5af90aa28
Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
5 years ago
Aurelius84 a647bcd355
Add convert_function_with_cache in dygraph_to_static_func (#23190)
5 years ago
cc bd80903333
Add activation_type in AddQuantDequantPass to be compatible with paddleslim, test=develop (#23221)
5 years ago
liym27 6af480ca33
Support int64 for op assign_value. test=develop (#23179)
5 years ago
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
5 years ago
liym27 af92630666
fix bug of loop_vars in loop_transformer.test=develop (#23180)
5 years ago
liym27 ebe4eab985
fix bug of ListTransformer in dygraph_to_static. test=develop (#23153)
5 years ago
Huihuang Zheng e9b18c7402
Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150)
5 years ago
Zeng Jinle bba740710d
add cuda resource pool for BufferedReader, test=develop (#23152)
5 years ago
Zeng Jinle 07a1df8f50
fix double grad ut, test=develop (#23155)
5 years ago
Huihuang Zheng 05c00af5f1
Add dygraph_to_static_code and get_code in ProgramTranslator (#23162)
5 years ago
Aurelius84 cc8ca8cea9
Polish error Info in while_loop (#23183)
5 years ago
Zeng Jinle e83af01922
fix ut by serial run, test=develop, test=document_fix (#23213)
5 years ago
songyouwei 2787041246
bug fix (#23193)
5 years ago
Zeng Jinle 092a62e205
remove crf ut, test=develop, test=document_fix (#23205)
5 years ago
Zeng Jinle 07395dde7d
fix ut by serial run, test=develop (#23173)
5 years ago
liym27 11f94cdce9
Improve function is_control_flow_to_transform. test=develop (#23109)
5 years ago
liym27 573d2faacd
fix bug in function `is_to_variable`. test=develop (#23147)
5 years ago
cc 589cd8782f
Post_training_quantizaion supports min_max methon (#23078)
5 years ago
Huihuang Zheng 6fc6bb3e78
Refactoring Program Cache Related Code (#23118)
5 years ago
Liufang Sang 4db031902d
add dequantize_log_op and make pyramid hash support int8 weight (#22548)
5 years ago
Zeng Jinle acfc9b8a70
Reader sequential and inference partial feed (#22699)
5 years ago
Wilber 95b356a069
update embedding_eltwise_layernorm fuse and kernel. test=develop (#23114)
5 years ago
Zeng Jinle a31d7328b7
Add dygraph double grad implementation (#22939)
5 years ago
yaoxuefeng 995a6376f7
add pslib SparseDoubleTable test=develop (#23053)
5 years ago
Yiqun Liu 3af4771122
Add the detection and code-generation of sqrt and square in fusion_group (#23095)
5 years ago
Huihuang Zheng d066d6f994
[Dy2Stat] Change layers.data to fluid.data and Test Var Created In Loop (#23103)
5 years ago
hutuxian 0c30098f8b
Add need_save_delta parameter to solve OOM (#23097)
5 years ago
songyouwei 2e2da7124b
high-performance dygraph slice (#22879)
5 years ago
Aurelius84 26bc953b3f
Fix returned arguments in IfElse_fn test=develop (#23102)
5 years ago
Zhang Ting 0d8f40d2b2
remove init_on_cpu and force_init_on_cpu APIs, test=develop (#22202)
5 years ago
Sylwester Fraczek abee05a8c8
added mkldnn swish activation (#23041)
5 years ago
Aurelius84 31fc3ab79a
Support to use external function (#23057)
5 years ago
Zhang Ting 3f371db82a
add op_device attr for backward op_desc, test=develop (#23062)
5 years ago
Aurelius84 9ef7f6e898
support to modify dict and list in while_loop (#23083)
5 years ago
Liufang Sang 915b892a15
Fix div zero in fake quantize op (#22966)
5 years ago
Huihuang Zheng fb7b008acc
Add Support for Break and Continue in Dygraph to Static (#23067)
5 years ago
tangwei12 853f2e5272
fix bug at sync with communicator (#23077)
5 years ago
liym27 5a202af90b
Support slice write in dygraph_to_static. test=develop (#23055)
5 years ago
Leo Chen 5257530492
don't add unregisterd attr, test=develop (#23047)
5 years ago
liym27 91a2627251
fix bug in select_input: set var type of output to be the same as input. test=develop (#23076)
5 years ago
tangwei12 c4a6a0e2e4
Revert "Integrated API of Parameter Server (#22710)" test=develop (#23071)
5 years ago
Aurelius84 2403362d06
BugFix for parsing Arguments and inserting funcs in IfElseTransormer (#23035)
5 years ago
Feiyu Chan 01ab8a0619
add approximation for gelu, test=develop (#22961)
5 years ago
Zhang Ting eec10aaba2
set op_device for loss_op_desc (#23027)
5 years ago
songyouwei 9203aaf185
fix unittest for coverage (#23007)
5 years ago
GaoWei8 1dc1f9270e
Fix lod error of concat op for axis = 0 (#22538)
5 years ago
tangwei12 66fce9e824
Integrated API of Parameter Server (#22710)
5 years ago
chalsliu d9d314d56a
Improve stability through the use of caching (#22922)
5 years ago
liym27 4af491c2bb
Tensor.shape support control flow if/for/while and bugfix (#22866)
5 years ago
wangchaochaohu 91b0a9ab23
remnove the unsed unittest test=develop (#22999)
5 years ago
WangXi f2265d9ffd
Fix problem use recompute and dgc same time (#23010)
5 years ago
liu zhengxi 8fb8b95286
Add transpose_flatten_concat_fuse_pass tests for gpu and trt (#22976)
5 years ago
Aurelius84 ab473357a2
Support and/or in dygraph_to_static control_flow_if (#22967)
5 years ago
tianshuo78520a 2a7791a815
Fix travic ci (#23002)
5 years ago
wangchaochaohu 3757e0687c
Add Unittest for backward of fusion group (#22932)
5 years ago
liym27 44b1343aab
Support LoDTensorArray in stack/concat api for transformation of list dygraph_to_static (#22987)
5 years ago
Chen Weihang 3dfaf44adc
Rename dygraph parallel env & add doc (#22925)
5 years ago
liym27 08e80d170b
Support list in control flow for dygraph_to_static (#22902)
5 years ago
wangchaochaohu f0d193a23c
Cast fusion for fusion group (#22876)
5 years ago
yaoxuefeng 29a7a52d38
Fix instag (#22632)
5 years ago
Huihuang Zheng d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static (#22867)
5 years ago
Chengmo f70f1cf122
test=develop, speed create clip program (#22950)
5 years ago
Wilber ff3ddbb502
add skip_layernorm pass. test=develop (#22895)
5 years ago
Huihuang Zheng 8f541027a8
Move DygraphToStatic Unit Tests into Its Folder (#22945)
5 years ago
lidanqing 432a4b2789
Changes QAT MKL-DNN documents (#22840)
5 years ago
Zhaolong Xing 8d6dc102fe
[Ernie GPU Optimize]: Embedding_eltwise_layernorm Fuse (#22494)
5 years ago
Aurelius84 4ff2915d1f
Refine code of IfElseTransformer and rename unittest files (#22930)
5 years ago
guofei 3d8571e884
modify assign op and add unittest of assign op (#22769)
5 years ago
Chen Weihang e081c7a05d
skip type/dtype check in dygraph mode, test=develop (#22915)
5 years ago
yaoxuefeng c5cbe7f07b
fix add grad bug test=develop (#22924)
5 years ago
WangXi 8d47162e03
Close fuse when use dgc & move DGC strategy from PE to compiler, test=develop (#22914)
5 years ago
Aurelius84 ba65e4ebef
support Tensor.shape in control_flow_if test=develop (#22916)
5 years ago
Zeng Jinle d33c4343e1
Imperative tracer refactoring (#22457)
5 years ago
mapingshuo 08a772cb46
fix API param bug of recompute.backward() (#22582)
5 years ago
gongweibao 4b40edf359
Use available ports instead of static ports. (#22553)
5 years ago
mapingshuo 5ba9dfc16a
add lookup_table_dequant_op (#22900)
5 years ago
WangXi 62fd3209e1
Fix dgc param regularizer, test=develop (#22888)
5 years ago
liym27 b290420fc4
fix bug in the transformation from to_variable to assign. test=develop (#22885)
5 years ago
liym27 4ea95b6fe5
Support Tensor.shape in dygraph_to_static (#22830)
5 years ago
Chen Weihang 1644926a6c
Polish detail implement of dygraph data loader (#22878)
5 years ago
wawltor 1daa66559f
Fix the elementwise_min API BUG, use the elementwise_min replace elementwise_max. (#22880)
5 years ago
Huihuang Zheng 0d463d3bf7
Fix NameVisitor bugs (#22847)
5 years ago
Aurelius84 de1b390b79
Add unittest for dict in dygraph_to_static test=develop (#22854)
5 years ago
Huihuang Zheng aca3f5311d
Support "while" in Dygraph to Static (#22841)
5 years ago
cc b6717faf80
Added an option to use external FP32 model in QAT comparison test (#22858)
5 years ago
Chen Weihang 2e9e8c056a
add platform limit for cleanup function, test=develop (#22846)
5 years ago
Aurelius84 1217a52155
Modify the way of inserting newly defined func_nodes (#22837)
5 years ago
Zeng Jinle d41d802ba3
Add flags to limit gpu memory (#22793)
5 years ago
Aurelius84 a5036775a9
Add program_cache in dygrapht_to_static (#22766)
5 years ago
Sylwester Fraczek 5ff2439f51
fixed save qat2 model resnet50 and ernie (#22822)
5 years ago
Zhang Ting 4e8bc02461
add fluid.device_guard to specify the device type for Op (#22254)
5 years ago
songyouwei df87e79f54
Add functional dygraph mode api (#22745)
5 years ago
123malin 0f9d40816e
test=develop, optimize distributedstrategy (#22677)
5 years ago
Chen Weihang 5ee29c67b8
Set run exclusive for data loader unittest (#22831)
5 years ago
songyouwei 0c617377a9
add case and switch_case unittests for dygraph mode (#22790)
5 years ago
wawltor 2b8640962a
Fix the big shape and precision op test, remove those from the white list (#22788)
5 years ago
wangchaochaohu 0c55c79fb7
Polish profiler doc (#22815)
5 years ago
Chen Weihang 15e59c310d
cleanup mmap files in unittest, test=develop (#22814)
5 years ago
Zhen Wang 89cfa49156
Unmerged fetch list (#22635)
5 years ago
hong f05c213f98
fix basic gru lstm parameter attr bug; test=develop (#22508)
5 years ago
zhupengyang cde5378955
upgrade fp32 to fp64, enlarge input shape for hsigmoid unittest (#22773)
5 years ago
Chen Weihang 7d8d573453
Speed up dygraph DataLoader based on shared memory and LoDTensor serialization (#22541)
5 years ago
Leo Chen b7782ea7c3
sync program when need, test=develop (#22803)
5 years ago
hutuxian 53a2b68f4e
support customized download command in dataset (#22782)
5 years ago
liym27 1a2baa1834
test ResNet decorated by dygraph_to_static_output in static mode. (#22779)
5 years ago
wangchaochaohu ca9e77a8d4
add sum op support for fusion group (#22771)
5 years ago
lidanqing b681215aa3
Add @skip_check_grad_ci to UT conv_mkldnn and int8_mul_mkldnn (#22760)
5 years ago
liym27 68a92e4674
fix dygraph_to_static_ouput and add a new decorator. (#22785)
5 years ago
Liufang Sang 5dbafe3805
fix smooth l1 loss op shape > 100 test=develop (#22605)
5 years ago
tianshuo78520a 433cef03e5
fix typo word (#22784)
5 years ago
Kaipeng Deng ebc7ffc300
fix detection_map. test=develop (#22705)
5 years ago
Aurelius84 ee8b22fbec
Add unittest with mnist model to test dygraph_to_static (#22777)
5 years ago
zhaoyuchen2018 72dde4abde
Refine adam op to improve performance, test=develop (#22346)
5 years ago
liym27 8c381cd957
support fetch feed in dygraph to static graph (#22767)
5 years ago
FlyingQianMM 88776e40b9
fix SyntaxError in examples in retinanet_target_assign English API, test=develop (#22774)
5 years ago
wangguanzhong f2d1cd119a
fix lod level, test=develop (#22755)
5 years ago
FlyingQianMM 79d712346f
Correct CPU gradients of the argsort op (#22739)
5 years ago
123malin 0cb121cf1c
test=develop, bug fix for trainer_factory (#22751)
5 years ago
songyouwei b813c948f0
support control flow cond in dygraph mode (#22693)
5 years ago
Leo Chen b2c1be851a
support cond in clone, test=develop (#22657)
5 years ago
zhupengyang 2143bd5738
enhance shape check if use user_defined_grads in check_grad (#22722)
5 years ago
tianshuo78520a fa449c886f
fix typo word (#22761)
5 years ago
Huihuang Zheng 66991218ec
Add Basic Function Return Type Analysis (#22747)
5 years ago
songyouwei 60aaa7158b
dygraph support while_loop op (#22714)
5 years ago
chengjuntao 15c2667143
register fp16 for assign op (#22744)
5 years ago
cc fb15aa1c5b
Ngraph op tests skip check grad ci (#22688)
5 years ago
Huihuang Zheng 1b561da1f7
Change API doc example code to python3 style print (#22735)
5 years ago
dyning 1c0653462d
fix generate_mask_labels lod level (#22743)
5 years ago
GaoWei8 ba140222d6
fix compile&runtime lod_equality of lod_reset (#22737)
5 years ago
hutuxian 175954d894
PaddleBox Framework Part2 (#22466)
5 years ago
ShenLiang 3132681e8a
add partial_sum op in contrib (#22292)
5 years ago
Double_V 163a3ddfe3
fix row_conv_op small size unittest cases (#22606)
5 years ago
ShenLiang e136661304
add partial_concat op in contrib (#22528)
5 years ago
Aurelius84 dab5e5d8bc
Add IsControlFlowIfVisitor in ast_transformer (#22709)
5 years ago
liym27 68c76793ca
support dygraph basic api transformed to static api (#22678)
5 years ago
Double_V 3f7f922d6c
about set no_grad_set, move row_conv to NOT_CHECK_OP_LIST (#22721)
5 years ago
zhupengyang 9b8caaa220
remove unnecessary cases with no_grad_set for prelu (#22707)
5 years ago
mamingjie-China a5b0758ff7
fix the doc in elementwise_add elementwise_sub elementwise_mul elementwise_div
5 years ago
tianshuo78520a d2ba91aad1
fix typo words (#22653)
5 years ago
tangwei12 66a3150135
SYNC with communicaotor (#22344)
5 years ago
Yiqun Liu 22bbd54719
Add the support of fp16 in fusion_group (#22239)
5 years ago
dyning 769c032fc4
fix spp test (#22675)
5 years ago
Yang Zhang 1a595d8e90
Remove `no_grad_set` usage from "conv_shift" op tests (#22683)
5 years ago
Leo Chen d39d8bee4e
unexpose tracer, test=develop (#22661)
5 years ago
Aurelius84 08b09f6447
Support if/else in dygraph_to_static (#22540)
5 years ago
wangchaochaohu 7a4c29e0e0
add fuse_group python unitest (#22532)
5 years ago
Wojciech Uss 405bb94bd1
Fix batch_num default value (#22682)
5 years ago
Huihuang Zheng 14672a6364
Add Basic Node Var Type Analysis (#22603)
5 years ago
bingyanghuang 6abeb5c54d
fix ernie accuracy doc (#22671)
5 years ago
songyouwei 0aee43005a
Linear use mul op (#22662)
5 years ago
HappyAngel df144e2188
add no_check_list for no_grad_set rule (#22571)
5 years ago
lidanqing d926214535
[UT coverage] improve the mul_mkldnn_op line coverage (#22408)
5 years ago
wangchaochaohu c65c6ae534
add flag to control profile level in python API (#22319)
5 years ago
Wojciech Uss fce37bc593
Doc update with Ernie QAT INT8 benchmarking (#22519)
5 years ago
liym27 17a6b50fe3
support num_flatten_dims=-1 of API fc. (#22634)
5 years ago
Aurelius84 8b41e2b3d1
add gast to replace ast test=develop (#22630)
5 years ago
123malin 00594c1c88
support dumping params/grads in transpiler mode (#22490)
5 years ago
zhouwei25 d86007775f
fix py_func bug when out is list and add unittest case (#22595)
5 years ago
songyouwei d9f0c9f51c
support set param with None value (#22418)
5 years ago
Chen Weihang 192110725a
Add Queue.get delay for multiprocess data loader (#22604)
5 years ago
Kaipeng Deng f5db451d3b
fix compute priority. test=develop (#22619)
5 years ago
Jiawei Wang 8f035fb637
Add TopK Op Grad CPU&GPU Kernel test=develop (#22628)
5 years ago
xiaoting 3f0ca61a82
fix noam decay example, test=develop,test=document_fix (#22557)
5 years ago
guofei 9ed59da443
Modify english document and unittest of while_loop (#22615)
5 years ago
Chen Weihang fc645d8a47
Fix data loader test failed problem in release 1.7 (#22624)
5 years ago
123malin e59463efc7
test=develop, add distributed tools (#22623)
5 years ago
tangwei12 1aab3e61c9
add texttable for pretty flag output (#22584)
5 years ago
songyouwei b768708e5d
fix pickle load encoding between python 2 and 3 (#22621)
5 years ago
songyouwei cb4560b79d
python 2 and 3 compatible pickle (#22555)
5 years ago
Steffy-zxf 90ee366653
update ops's unittest data type from float32 to float64 and shape over 100 (#22544)
5 years ago
Kaipeng Deng 57de4842e6
optimizer var exlcude fluid.data var. test=develop (#22594)
5 years ago
tangwei12 948299aec8
deprecated for distribute transpiler api (#22513)
5 years ago
Chen Weihang ec90742708
Adjust sleep time of main process in signal handler test (#22597)
5 years ago
guofei 614a2a4f98
modify English document while_loop (#22573)
5 years ago
FDInSky e28833a80e
Fix doc of detection's img_info param (#22458)
5 years ago
hong 6980239632
Enhance load program state (#22546)
5 years ago