Commit Graph

10460 Commits (361c6ccc0135af90121d7caf3a286b9c1cc2ba9c)

Author SHA1 Message Date
liym27 067134f1b3
API (Switch) error message enhancement. test=develop (#23459)
6 years ago
GaoWei8 c068512f34
Implement a new C++ operator where and API tensor.where (#23220)
6 years ago
Aurelius84 8674a82c03
Op (Scope) error message enhancement (#23458)
6 years ago
songyouwei c435110a3f
support no_grad inplace operating (#22522)
6 years ago
Pei Yang 42655ef721
Add full_like op. (#23364)
6 years ago
Chen Weihang d349a622f0
api dygraph batch norm type check, test=develop (#23525)
6 years ago
zhongpu 8d95a10906
fix if logic in dygraph, test=develop (#23512)
6 years ago
liym27 316ea5499f
Revert to usage of 'fill_constant' in test_transformer. test=develop (#23529)
6 years ago
guofei ca7bd2beb1
Add a function to update FLAGS (#22851)
6 years ago
guofei cb1a2512dc
Make the place parameter default (#23094)
6 years ago
wangchaochaohu d085f79228
fix untime fail for output var stop_gradient=True for fusion group (#23317)
6 years ago
wangchaochaohu b76f3b2727
add test for fill_value Tensor and refine the doc of full Op (#23524)
6 years ago
Adam 62aff0a7ac
Add DNNL GELU kernels (#22426)
6 years ago
silingtong123 009c049e82
Add randint op API (#23337)
6 years ago
zhongpu ea6a251c0b
fix sample code, test=develop (#23448)
6 years ago
cc 25628587f1
Collect output scale for quantized op and fused op (#23369)
6 years ago
qingqing01 6162cf2f2e
Make optimizer consistent in dygraph and static-graph and remove some LOG-INFO. (#23426)
6 years ago
David Lin 118e585b8c
rename op fluid.layers.matmul to paddle.matmul (#23375)
6 years ago
wangchaochaohu 29c4fae112
Tensor value support (#23491)
6 years ago
Zhou Wei e8efaee92d
update gradient clip english doc for new gradient clipping strategy
6 years ago
Chengmo 426912df5a
Add Index sample OP (#23218)
6 years ago
liym27 660489acac
Add log and check predicted scores. test=develop (#23506)
6 years ago
Bai Yifan 9bc223c8a2
fix test_graph_wrapper failure on cudnnv7, test=develop (#23451)
6 years ago
ShenLiang c706ff20a3
fix conflict, test=develop (#23298)
6 years ago
ShenLiang 5223e2bbc4
Add a new DataFeed named PaddleBoxDataFeed (#23321)
6 years ago
Chen Weihang 75bd350710
Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model (#23171)
6 years ago
cc 9297f49e4b
[OP] Add randperm op (#23292)
6 years ago
wawltor 08e3d9c0dc
Add the matmul, elementwise_euqal, elementwise_sum ops to API2.0 (#23437)
6 years ago
Tao Luo 0b583235f5
Revert "Solve the conflict of ops with the same name. (#23199)" (#23494)
6 years ago
wawltor 6577f91b74
Add the sum op to API 2.0, add some parameters for new api
6 years ago
Steffy-zxf 2d0933c378
Add two new ops paddle.tensor.mul(), paddle.tensor.pow() (#23485)
6 years ago
WuHaobo c4d0305239
add tril op and triu op (#23469)
6 years ago
wangchaochaohu 3eb12bd100
refine the usage of paddle.full test=develop (#23484)
6 years ago
yongqiangma eb035f24d1
add unbind op (#23359)
6 years ago
LutaoChu 4c675a450f
Add 2 new ops: paddle.tensor.div() and paddle.tensor.add() to API2.0(#23352)
6 years ago
Huihuang Zheng 036121b731
[Dy2stat] Make loop_transformer supports class variable (#23478)
6 years ago
Zhen Wang abe3e6906d
Solve the conflict of ops with the same name. (#23199)
6 years ago
wawltor 0b092d05f1
Add the argmax op to API 2.0, and update some parameters
6 years ago
Leo Chen f297a33285
Dev/fix init flags (#23465)
6 years ago
mamingjie-China 1a8d6ee371
add a new op paddle.sort() to API 2.0 test=develop (#23470)
6 years ago
wawltor 915341e3de
Add the zeros, ones, ones_like, zeros_like for api 2.0, test=develop (#23471)
6 years ago
Zhen Wang 56b50c97f8
Add allclose_op (#23335)
6 years ago
kinghuin 948c57d84b
move sin, sqrt, tanh, atan to paddle.tensor.math and add a new parameter "out" (#23387)
6 years ago
Chengmo a2e9af5663
Add Tdm child OP in contrib (#23241)
6 years ago
Aurelius84 4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static (#23407)
6 years ago
Wilber 9676ac1c5c
Add flip op. (#23255)
6 years ago
Feiyu Chan 81f1402f6c
Add functional convolutions in paddle.nn.functional (#23408)
6 years ago
gongweibao 24a063f6ac
Add fleet checkpoint on local fs and remote fs(such as hdfs) for EDL (#22586)
6 years ago
xujiaqi01 ebae6fb6b9
fix gen_worker_desc in hogwild (#23423)
6 years ago
channings a2e10930cf
update linspace, equal operators to API 2.0 (#23274)
6 years ago
liym27 03deb41d73
API (switch_case) error message enhancement. test=develop (#23429)
6 years ago
liym27 cd348dc467
API (case) error message enhancement. test=develop (#23428)
6 years ago
cc 3ea7c59f76
Set fuse_all_reduce_ops=false for quantization test, test=develop (#23413)
6 years ago
zhongpu 7ca836d3da
support if logic for Variable in dygraph (#22892)
6 years ago
zhongpu 166a1ae902
support forward hook for dygraph (#22443)
6 years ago
Leo Chen a62599a888
[feature] prune program by feed and fetch_list automatically (#22474)
6 years ago
cc 7c55a94de5
Disable test_quantization_scale_pass unittest for random error, test=develop (#23441)
6 years ago
Yiqun Liu bc2981e998
Disable test_code_generator and test_post_training_quantization_mobilenetv1 (#23440)
6 years ago
Zeng Jinle 29337f4e17
fix conflict of inferne partial feed with gpu parallel ssa graph executor, test=develop (#23400)
6 years ago
XiaoguangHu 8cf2c38ccb
fix error in paddle.tensor test=develop (#23433)
6 years ago
YuHaoXiang ee58ad62b6
import core in rnn.py (#23394)
6 years ago
xujiaqi01 21f59779ea
fix dump slot in strategy (#23398)
6 years ago
Zeng Jinle f217837654
fix gc transformer ut, test=develop (#23421)
6 years ago
wangchaochaohu 17babe4d55
add full op API (#23112)
6 years ago
Zhou Wei 7fda333ac1
add new method of gradient_clip, better to use,test=develop (#23224)
6 years ago
liym27 b7b0b3595b
Add unittest for transformer prediction in dygraph_to_static (#23207)
6 years ago
songyouwei 738c84644b
support tensor array create read write in dygraph (#23200)
6 years ago
Leo Chen f944b0f6fc
Dev/add l1 loss (#23322)
6 years ago
xujiaqi01 93ea9dd27a
fix stat var in hogwild worker (#23367)
6 years ago
Wojciech Uss 9fd9067455
handle conv2d activations in older QAT models (#23202)
6 years ago
Kaipeng Deng 21d95be0db
Add inplace abn op (#22806)
6 years ago
Zeng Jinle 3a21980b78
add reader dependency pass, test=develop (#23301)
6 years ago
wangchaochaohu 2fe0758f67
fix the doc of fill_constant test=develop (#23336)
6 years ago
Huihuang Zheng 1d4d89baf8
[Dy2stat] Add data_layer_not_check (#23351)
6 years ago
wangchaochaohu d280106007
Add support for attr type Op and add fill_constant Op and scale Op (#23163)
6 years ago
xujiaqi01 3a45767d49
add fleet pslib pull and push sparse op and push dense op (#23139)
6 years ago
gongweibao 0536b5263d
fix test_launch_ps test=develop (#23333)
6 years ago
Zeng Jinle 8c594a84e1
fix double grad 2, test=develop (#23332)
6 years ago
Huihuang Zheng 8814853d82
Remove Read-Only Basic Type Variable in loop_vars (#23299)
6 years ago
Aurelius84 8473854547
Add dygraph_to_static training unitTest of transformer model (#23316)
6 years ago
hong 420944e514
enhance load dygraph; test=develop (#23167)
6 years ago
Zeng Jinle a7b0ff33ce
rm gc transformer ut, test=develop (#23308)
6 years ago
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
6 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
6 years ago
GaoWei8 20eed5401a
Change fluid.layers.where‘s C++ operator name (#23250)
6 years ago
Zeng Jinle 12355cccfd
add clear_gradients to star gan ut, test=develop (#23296)
6 years ago
FDInSky a582f10501
test=develop fix generate_proposal_labels unit test (#23154)
6 years ago
gongweibao af0ad915ea
fix testlaunch test=develop (#23304)
6 years ago
zhongpu dc24f38a9f
support math operator for variable (#23063)
6 years ago
XiaoguangHu baec0a0713
define alias in paddle dir and paddle.nn dir test=develop (#23282)
6 years ago
Aurelius84 f8205ffa82
fix conflict var bug in loop_transformer test=develop (#23287)
6 years ago
Aurelius84 16e74f1185
fix is_controw_flow bug with `if Tensor.numpy()` (#23251)
6 years ago
Wojciech Uss be2ac9cc3a
separated QAT1 and QAT2 (#23284)
6 years ago
lidanqing c524b930e7
Update QAT INT8 related code (#23104)
6 years ago
Wojciech Uss f836c8aa8f
add check for scales and a message (#23119)
6 years ago
Zeng Jinle 8bfd62ffb7
Expose dygraph.grad api (#23124)
6 years ago
xujiaqi01 c8f9e66b71
fix no_cvm in config_fleet (#22818)
6 years ago
xujiaqi01 d0413e58d3
support get pslib version (#22835)
6 years ago
Leo Chen 8f2f977345
support feeding scalar when runing program , test=develop (#23214)
6 years ago
xujiaqi01 68ea1ad55b
add clear one table (#23089)
6 years ago
Adam 4a54a46419
Add UT for SGD operator with large inputs (#23195)
6 years ago
zhongpu e3a078fb4a
remove check_dygraph=False in test_data_norm_op optest (#22335)
6 years ago
Huihuang Zheng e5af90aa28
Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
6 years ago
Aurelius84 a647bcd355
Add convert_function_with_cache in dygraph_to_static_func (#23190)
6 years ago
cc bd80903333
Add activation_type in AddQuantDequantPass to be compatible with paddleslim, test=develop (#23221)
6 years ago
liym27 6af480ca33
Support int64 for op assign_value. test=develop (#23179)
6 years ago
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
6 years ago
liym27 af92630666
fix bug of loop_vars in loop_transformer.test=develop (#23180)
6 years ago
liym27 ebe4eab985
fix bug of ListTransformer in dygraph_to_static. test=develop (#23153)
6 years ago
Huihuang Zheng e9b18c7402
Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150)
6 years ago
Zeng Jinle bba740710d
add cuda resource pool for BufferedReader, test=develop (#23152)
6 years ago
Zeng Jinle 07a1df8f50
fix double grad ut, test=develop (#23155)
6 years ago
Huihuang Zheng 05c00af5f1
Add dygraph_to_static_code and get_code in ProgramTranslator (#23162)
6 years ago
Aurelius84 cc8ca8cea9
Polish error Info in while_loop (#23183)
6 years ago
Zeng Jinle e83af01922
fix ut by serial run, test=develop, test=document_fix (#23213)
6 years ago
songyouwei 2787041246
bug fix (#23193)
6 years ago
Zeng Jinle 092a62e205
remove crf ut, test=develop, test=document_fix (#23205)
6 years ago
Zeng Jinle 07395dde7d
fix ut by serial run, test=develop (#23173)
6 years ago
liym27 11f94cdce9
Improve function is_control_flow_to_transform. test=develop (#23109)
6 years ago
liym27 573d2faacd
fix bug in function `is_to_variable`. test=develop (#23147)
6 years ago
cc 589cd8782f
Post_training_quantizaion supports min_max methon (#23078)
6 years ago
XiaoguangHu 194a22c5a8
reorganize the paddle api test=develop (#23151)
6 years ago
Huihuang Zheng 6fc6bb3e78
Refactoring Program Cache Related Code (#23118)
6 years ago
Liufang Sang 4db031902d
add dequantize_log_op and make pyramid hash support int8 weight (#22548)
6 years ago
Zeng Jinle acfc9b8a70
Reader sequential and inference partial feed (#22699)
6 years ago
Wilber 95b356a069
update embedding_eltwise_layernorm fuse and kernel. test=develop (#23114)
6 years ago
Zeng Jinle a31d7328b7
Add dygraph double grad implementation (#22939)
6 years ago
yaoxuefeng 995a6376f7
add pslib SparseDoubleTable test=develop (#23053)
6 years ago
Yiqun Liu 3af4771122
Add the detection and code-generation of sqrt and square in fusion_group (#23095)
6 years ago
Huihuang Zheng d066d6f994
[Dy2Stat] Change layers.data to fluid.data and Test Var Created In Loop (#23103)
6 years ago
hutuxian 0c30098f8b
Add need_save_delta parameter to solve OOM (#23097)
6 years ago
songyouwei 2e2da7124b
high-performance dygraph slice (#22879)
6 years ago
Aurelius84 26bc953b3f
Fix returned arguments in IfElse_fn test=develop (#23102)
6 years ago
Zhang Ting 0d8f40d2b2
remove init_on_cpu and force_init_on_cpu APIs, test=develop (#22202)
6 years ago
Sylwester Fraczek abee05a8c8
added mkldnn swish activation (#23041)
6 years ago
Aurelius84 31fc3ab79a
Support to use external function (#23057)
6 years ago
Zhang Ting 3f371db82a
add op_device attr for backward op_desc, test=develop (#23062)
6 years ago
Aurelius84 9ef7f6e898
support to modify dict and list in while_loop (#23083)
6 years ago
Liufang Sang 915b892a15
Fix div zero in fake quantize op (#22966)
6 years ago
Huihuang Zheng fb7b008acc
Add Support for Break and Continue in Dygraph to Static (#23067)
6 years ago
tangwei12 853f2e5272
fix bug at sync with communicator (#23077)
6 years ago
liym27 5a202af90b
Support slice write in dygraph_to_static. test=develop (#23055)
6 years ago
Leo Chen 5257530492
don't add unregisterd attr, test=develop (#23047)
6 years ago
liym27 91a2627251
fix bug in select_input: set var type of output to be the same as input. test=develop (#23076)
6 years ago
tangwei12 c4a6a0e2e4
Revert "Integrated API of Parameter Server (#22710)" test=develop (#23071)
6 years ago
Aurelius84 2403362d06
BugFix for parsing Arguments and inserting funcs in IfElseTransormer (#23035)
6 years ago
Feiyu Chan 01ab8a0619
add approximation for gelu, test=develop (#22961)
6 years ago
Zhang Ting eec10aaba2
set op_device for loss_op_desc (#23027)
6 years ago
songyouwei 9203aaf185
fix unittest for coverage (#23007)
6 years ago
GaoWei8 1dc1f9270e
Fix lod error of concat op for axis = 0 (#22538)
6 years ago
tangwei12 66fce9e824
Integrated API of Parameter Server (#22710)
6 years ago
chalsliu d9d314d56a
Improve stability through the use of caching (#22922)
6 years ago
liym27 4af491c2bb
Tensor.shape support control flow if/for/while and bugfix (#22866)
6 years ago
wangchaochaohu 91b0a9ab23
remnove the unsed unittest test=develop (#22999)
6 years ago
WangXi f2265d9ffd
Fix problem use recompute and dgc same time (#23010)
6 years ago
liu zhengxi 8fb8b95286
Add transpose_flatten_concat_fuse_pass tests for gpu and trt (#22976)
6 years ago
Aurelius84 ab473357a2
Support and/or in dygraph_to_static control_flow_if (#22967)
6 years ago
tianshuo78520a 2a7791a815
Fix travic ci (#23002)
6 years ago
wangchaochaohu 3757e0687c
Add Unittest for backward of fusion group (#22932)
6 years ago
liym27 44b1343aab
Support LoDTensorArray in stack/concat api for transformation of list dygraph_to_static (#22987)
6 years ago
Chen Weihang 3dfaf44adc
Rename dygraph parallel env & add doc (#22925)
6 years ago
liym27 08e80d170b
Support list in control flow for dygraph_to_static (#22902)
6 years ago
wangchaochaohu f0d193a23c
Cast fusion for fusion group (#22876)
6 years ago
yaoxuefeng 29a7a52d38
Fix instag (#22632)
6 years ago
Huihuang Zheng d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static (#22867)
6 years ago
Chengmo f70f1cf122
test=develop, speed create clip program (#22950)
6 years ago
Wilber ff3ddbb502
add skip_layernorm pass. test=develop (#22895)
6 years ago
Huihuang Zheng 8f541027a8
Move DygraphToStatic Unit Tests into Its Folder (#22945)
6 years ago
lidanqing 432a4b2789
Changes QAT MKL-DNN documents (#22840)
6 years ago
Zhaolong Xing 8d6dc102fe
[Ernie GPU Optimize]: Embedding_eltwise_layernorm Fuse (#22494)
6 years ago
Aurelius84 4ff2915d1f
Refine code of IfElseTransformer and rename unittest files (#22930)
6 years ago
guofei 3d8571e884
modify assign op and add unittest of assign op (#22769)
6 years ago
Chen Weihang e081c7a05d
skip type/dtype check in dygraph mode, test=develop (#22915)
6 years ago
yaoxuefeng c5cbe7f07b
fix add grad bug test=develop (#22924)
6 years ago
WangXi 8d47162e03
Close fuse when use dgc & move DGC strategy from PE to compiler, test=develop (#22914)
6 years ago
Aurelius84 ba65e4ebef
support Tensor.shape in control_flow_if test=develop (#22916)
6 years ago
Zeng Jinle d33c4343e1
Imperative tracer refactoring (#22457)
6 years ago
mapingshuo 08a772cb46
fix API param bug of recompute.backward() (#22582)
6 years ago
gongweibao 4b40edf359
Use available ports instead of static ports. (#22553)
6 years ago
mapingshuo 5ba9dfc16a
add lookup_table_dequant_op (#22900)
6 years ago
WangXi 62fd3209e1
Fix dgc param regularizer, test=develop (#22888)
6 years ago
liym27 b290420fc4
fix bug in the transformation from to_variable to assign. test=develop (#22885)
6 years ago
liym27 4ea95b6fe5
Support Tensor.shape in dygraph_to_static (#22830)
6 years ago
Chen Weihang 1644926a6c
Polish detail implement of dygraph data loader (#22878)
6 years ago
wawltor 1daa66559f
Fix the elementwise_min API BUG, use the elementwise_min replace elementwise_max. (#22880)
6 years ago
Huihuang Zheng 0d463d3bf7
Fix NameVisitor bugs (#22847)
6 years ago
Aurelius84 de1b390b79
Add unittest for dict in dygraph_to_static test=develop (#22854)
6 years ago
Huihuang Zheng aca3f5311d
Support "while" in Dygraph to Static (#22841)
6 years ago
cc b6717faf80
Added an option to use external FP32 model in QAT comparison test (#22858)
6 years ago
Chen Weihang 2e9e8c056a
add platform limit for cleanup function, test=develop (#22846)
6 years ago
Aurelius84 1217a52155
Modify the way of inserting newly defined func_nodes (#22837)
6 years ago
Zeng Jinle d41d802ba3
Add flags to limit gpu memory (#22793)
6 years ago
Aurelius84 a5036775a9
Add program_cache in dygrapht_to_static (#22766)
6 years ago
Sylwester Fraczek 5ff2439f51
fixed save qat2 model resnet50 and ernie (#22822)
6 years ago
Zhang Ting 4e8bc02461
add fluid.device_guard to specify the device type for Op (#22254)
6 years ago
songyouwei df87e79f54
Add functional dygraph mode api (#22745)
6 years ago
123malin 0f9d40816e
test=develop, optimize distributedstrategy (#22677)
6 years ago
Chen Weihang 5ee29c67b8
Set run exclusive for data loader unittest (#22831)
6 years ago
songyouwei 0c617377a9
add case and switch_case unittests for dygraph mode (#22790)
6 years ago
wawltor 2b8640962a
Fix the big shape and precision op test, remove those from the white list (#22788)
6 years ago