tangwei12
66fce9e824
Integrated API of Parameter Server ( #22710 )
...
Fleet Parameter Server API Integrated
5 years ago
chalsliu
d9d314d56a
Improve stability through the use of caching ( #22922 )
...
* Improved stability through the use of caching
test=develop
* fix style
test=develop
* Fix syntax error
test=develop
* Fix syntax error
test=develop
5 years ago
liym27
4af491c2bb
Tensor.shape support control flow if/for/while and bugfix ( #22866 )
...
* Support Tensor.shape in control flow if/for/while and separate TensorShapeTransformer from BasicApiTransformer. test=develop
5 years ago
wangchaochaohu
91b0a9ab23
remnove the unsed unittest test=develop ( #22999 )
...
* remove the fill_constant_batch_size_like, gaussian_random_batch_size_like and uniform_random_batch_size_like_cn three Op unittest
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 )
...
* add transpose_flatten_concat_fuse_pass tests for gpu and trt, test=develop
* update test_inference_api.py, test=develop
5 years ago
Aurelius84
ab473357a2
Support and/or in dygraph_to_static control_flow_if ( #22967 )
...
* Support and/or in controlFlow if test=develop
* Refine IsControlFlow interface test=develop
5 years ago
tianshuo78520a
2a7791a815
Fix travic ci ( #23002 )
...
* fix the travic ci problem
5 years ago
wangchaochaohu
3757e0687c
Add Unittest for backward of fusion group ( #22932 )
...
* add fusion group test for backward and refine code
5 years ago
liym27
44b1343aab
Support LoDTensorArray in stack/concat api for transformation of list dygraph_to_static ( #22987 )
...
* Support that the input(x) of stack api is a LoDTensorArray. test=develop
* Support that the input of concat api is a LoDTensorArray. test=develop
* Add tests to test stack/concat called in dygraph_to_static. test=develop
5 years ago
liym27
08e80d170b
Support list in control flow for dygraph_to_static ( #22902 )
...
* support list in control flow if. test=develop
* support list in for/while and supplement tests. test=develop
5 years ago
wangchaochaohu
f0d193a23c
Cast fusion for fusion group ( #22876 )
...
* add support for expression type convert and add cast Op support in fusion group
5 years ago
yaoxuefeng
29a7a52d38
Fix instag ( #22632 )
...
* update
* update test=develop
* update compile set test=develop
* update compile set test=develop
* update test=develop
* update test=develop
* update test=develop
* update compile setting test=develop
* update compile setting test=develop
* update run demo test=develop
* update test=develop
* update test=develop
* fix test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update format test=develop
* update format test=develop
* update style test=develop
* update style test=develop
* change style test=develop
* change style test=develop
* change style test=develop
* add dataset unittest test=develop
* update test=develop
* update for record test=develop
* udpate style for record test=develop
* update for record test=develop
* update for record test=develop
* update for record test=develop
* fix format test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* fix compile warning test=develop
* add attr default test=develop
* add unittest test=develop
* fix style test=develop
* fix style test=develop
* change out_val_ifempty to out_val_if_empty test=develop
5 years ago
Huihuang Zheng
d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static ( #22867 )
...
1. Add basic support for `for in range` loop
2. Move `test_dygraph_to_static_*` to `dygraph_to_static` dir and rename them
3. Add test case for dict in while_loop
5 years ago
Wilber
ff3ddbb502
add skip_layernorm pass. test=develop ( #22895 )
...
* add skip_layernorm pass. test=develop
5 years ago
Huihuang Zheng
8f541027a8
Move DygraphToStatic Unit Tests into Its Folder ( #22945 )
...
As the title
5 years ago
Zhaolong Xing
8d6dc102fe
[Ernie GPU Optimize]: Embedding_eltwise_layernorm Fuse ( #22494 )
...
* 1. add embedding eltwise layernorm fuse
2. add embedding eltwise layernorm op
3. refine inplace_add_relu
4. refine fc_eltwise_layernorm
test=develop
* 1. refine fc
test=develop
* fix comments
test=develop
* fix comments
test=develop
5 years ago
Aurelius84
4ff2915d1f
Refine code of IfElseTransformer and rename unittest files ( #22930 )
...
+ Refine code structure and move code related with control flow `if` into `ifelse_transformer.py`
+ Merge code of `ast_utils.py` into `utils.py`
5 years ago
guofei
3d8571e884
modify assign op and add unittest of assign op ( #22769 )
...
As the title.
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 )
...
* refine grad maker, test=develop
* refactor tracer stage 1, test=develop
* merge develop to solve conflict third times, test=develop
5 years ago
mapingshuo
08a772cb46
fix API param bug of recompute.backward() ( #22582 )
...
* fix API param bug of recompute.backward(), test=develop
5 years ago
gongweibao
4b40edf359
Use available ports instead of static ports. ( #22553 )
5 years ago
mapingshuo
5ba9dfc16a
add lookup_table_dequant_op ( #22900 )
...
add lookup_table_dequant_op
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 )
...
* support basic tensor.shape.
* Support tensor.shape with dependencies.
5 years ago
Chen Weihang
1644926a6c
Polish detail implement of dygraph data loader ( #22878 )
...
* polish detail implement of data loader, test=develop
* solve coverage ci problem, test=develop
5 years ago
Huihuang Zheng
0d463d3bf7
Fix NameVisitor bugs ( #22847 )
...
1. copy.deepcopy in NameVisitor should be changed to copy.copy to make hash or set work
2. read_context should be type of gast.Load()/gast.AugLoad(), not gast.Load/gast.AugLoad
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 )
...
Add basic support for while in translating dygraph to static
1. Analysis the variable liveness in class NameVisitor
2. Replace while key word using while_loop API
5 years ago
Aurelius84
1217a52155
Modify the way of inserting newly defined func_nodes ( #22837 )
...
* Modify the way of inserting newly defined func_nodes test=develop
5 years ago
Zeng Jinle
d41d802ba3
Add flags to limit gpu memory ( #22793 )
...
* add recorded cuda memory apis, fix typo, test=develop
* add more ut, test=develop
* follow comments, test=develop
* fix py35 incompatible issues, test=develop
5 years ago
Aurelius84
a5036775a9
Add program_cache in dygrapht_to_static ( #22766 )
5 years ago
Zhang Ting
4e8bc02461
add fluid.device_guard to specify the device type for Op ( #22254 )
...
* add fluid.device_guard to specify the device type for Op
5 years ago
songyouwei
df87e79f54
Add functional dygraph mode api ( #22745 )
...
* functional dygraph enable/disable
test=develop
* use context manager instead
test=develop
* refine sample code
test=develop
* rename api & expose to fluid
test=develop
* fix sample code
test=develop
5 years ago
123malin
0f9d40816e
test=develop, optimize distributedstrategy ( #22677 )
...
* test=develop, optimize distributedstrategy
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 )
...
test=develop
5 years ago
wawltor
2b8640962a
Fix the big shape and precision op test, remove those from the white list ( #22788 )
...
Fix the big shape op test, elementwise_mul, elementwise_div, mul op
Fix the precision op test, mul op
5 years ago
Chen Weihang
15e59c310d
cleanup mmap files in unittest, test=develop ( #22814 )
5 years ago
Zhen Wang
89cfa49156
Unmerged fetch list ( #22635 )
...
* update ScopeBufferedSSAGraphExecutor&AsyncSSAGraphExecutor&ThreadedSSAGraphExecutor&FastThreadedSSAGraphExecutor&ParallelSSAGraphExecutor&ParallelExecutor for fetching unmerged results.
* add the unit test for fetch_unmerged.
* update ut for multi-card and multi-cpu.
* add the error message and the user suggestion in FetchOpHandle. test=develop
5 years ago
hong
f05c213f98
fix basic gru lstm parameter attr bug; test=develop ( #22508 )
...
* fix basic gru lstm parameter attr bug; test=develop
* fix bias attr bug; test=develop
* add basic lstm gru name unitest; test=develop
5 years ago
zhupengyang
cde5378955
upgrade fp32 to fp64, enlarge input shape for hsigmoid unittest ( #22773 )
...
* upgrade fp32 to fp64, remove no_grad_set, enlarge input shape for hsigmoid unittest test=develop
* revert "remove no_grad_set" test=develop
5 years ago
Chen Weihang
7d8d573453
Speed up dygraph DataLoader based on shared memory and LoDTensor serialization ( #22541 )
...
* add lodtensor share memory & serialization, test=develop
* fix windows compile error, test=develop
* deal vartype pickle & fix unittest matching error message, test=develop
* update timeout variable name, test=develop
* refactor memory map implement, test=develop
* clear mmap file discripter when exit unexpectedly, test=develop
* remove the child process fd in advance, test=develop
* remove mmap fds after Queue.put in child process, test=develop
* add hard unittests for register exit func, test=develop
* fix python2 compatibility problem in unittest, test=develop
* fix exception unittest error, test=develop
* polish code based review comment, test=develop
5 years ago
hutuxian
53a2b68f4e
support customized download command in dataset ( #22782 )
...
* user can call dataset.set_download_cmd to set its customized download cmd
* add UT to cover this scenario
5 years ago
liym27
1a2baa1834
test ResNet decorated by dygraph_to_static_output in static mode. ( #22779 )
...
* test ResNet decorated by dygraph_to_static_output in static mode. test=develop
* Follow comments and change dygraph_to_static_output to dygraph_to_static_graph.test=develop
5 years ago
wangchaochaohu
ca9e77a8d4
add sum op support for fusion group ( #22771 )
...
* Add the codegen and auto fusion for sum Op in fusion group
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 )
...
* change dygraph_to_static_output to dygraph_to_static_graph. test=develop
* Remove duplicate code. test=develop
* Follow comments from Liujie. test=develop
* change dygraph_to_static_output to dygraph_to_static_graph. test=develop
5 years ago
Liufang Sang
5dbafe3805
fix smooth l1 loss op shape > 100 test=develop ( #22605 )
...
* fix smooth l1 loss op shape > 100 test=develop
* remove from white list test=develop
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 )
...
* add mnist to test dygraph_to_static test=develop
5 years ago
liym27
8c381cd957
support fetch feed in dygraph to static graph ( #22767 )
...
* Support fetch and run program in the process of dygraph_to_static_output. test=develop
* fix to_source(gast) and remove dygraph API such as Conv2D, Linear. test=develop
5 years ago
wangguanzhong
f2d1cd119a
fix lod level, test=develop ( #22755 )
5 years ago
FlyingQianMM
79d712346f
Correct CPU gradients of the argsort op ( #22739 )
...
* Correct CPU gradients of the argsort op, form a network to test its forward and backward process, test=develop
* fix dynamic threshold error in test_argsort_op, test=develop
5 years ago
songyouwei
b813c948f0
support control flow cond in dygraph mode ( #22693 )
...
* dygraph support cond op
test=develop
* unittest coverage
test=develop
* fix coverage
test=develop
* fix for coverage
test=develop
* refine TypeError msg
test=develop
* remove restrict
test=develop
5 years ago
Leo Chen
b2c1be851a
support cond in clone, test=develop ( #22657 )
...
* support cond in clone, test=develop
* refine code, test=develop
* refine code, test=develop
* follow comments, test=develop
* refine code, test=develop
5 years ago
zhupengyang
2143bd5738
enhance shape check if use user_defined_grads in check_grad ( #22722 )
5 years ago
Huihuang Zheng
66991218ec
Add Basic Function Return Type Analysis ( #22747 )
...
1. Considering functions, I have to change the node type from single value to a set. Because python function is allowed to return different types. The set represent all possible types
2. I added scope_name and scope_type for AstVarScope, because in python functions, variable may have different scope. For example:
```
a = 3
def foo(b):
a = 9
return a + b
```
the `a` in `foo` is different to the `a` out of `foo`. Similar to class field. The scope_name will help me to know the function name when static analysis finds a `return` sentence.
5 years ago
songyouwei
60aaa7158b
dygraph support while_loop op ( #22714 )
...
* dygraph support while_loop op
test=develop
* refine assign
test=develop
5 years ago
chengjuntao
15c2667143
register fp16 for assign op ( #22744 )
...
* register fp16 for assign op, test=develop
* add op test for fp16, test=develop
5 years ago
cc
fb15aa1c5b
Ngraph op tests skip check grad ci ( #22688 )
...
* ngraph op test skip check grad ci, test=develop
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 )
...
* Add two types of Metric Calculator: MultiTaskCalculator & CmatchRankCalculator.
* Add a config for DynamicAdjustChannelNum function to denote whether we will discard the remaining instances when they are not be distributed evenly.
* Remove CPU code in Pull/PushSparse and we will add it back when testing it fully.
* Fix some known issues: such as copying persistable vars after one epoch running.
5 years ago
ShenLiang
3132681e8a
add partial_sum op in contrib ( #22292 )
...
* add partial_sum_op, test=develop
* modify the Paddle Error Message, test=develop
* modify the Paddle Error Message, test=develop
* modify the bug for python3, test=develop
* modify the ut for ci, test=develop
* mv to contrib, test=develop
* use check_variable_and_dtype, test=develop
* fix ci, test=develop
* fix conflict, test=dvelop
* add partial concat, test=develop
* fix the conflict, test=develop
* fix the error, test=develop
* rm SSE4, test=develop
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 )
...
* add partial_concat, test=develop
* fix the grids and blocks, test=develop
* fix the Paddle_Enforce, test=develop
* fix the doc of op, test=develop
* fix the doc, test=develop
* fix the doc of the op, test=develop
* replace -1 with None, test=develop
5 years ago
Aurelius84
dab5e5d8bc
Add IsControlFlowIfVisitor in ast_transformer ( #22709 )
...
* add is_control_flow_if test=develop
5 years ago
liym27
68c76793ca
support dygraph basic api transformed to static api ( #22678 )
...
* support dygraph to static graph for simple case.
* add test for dygraph API recognition. test=develop
* support basic to_variable api. test=develop
* update dict: dygraph_class_to_static_api
* add all tests of dygraph api. test=develop
* use gast/astor instead of ast/codegen for the compatibility of PY2 and PY3. test=develop
* add arg 'num_flatten_dims' for fc ast node. test=develop
* Modify names of class by Camel-Case.
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 )
...
test=develop
5 years ago
tianshuo78520a
d2ba91aad1
fix typo words ( #22653 )
5 years ago
tangwei12
66a3150135
SYNC with communicaotor ( #22344 )
...
* add sync communicator and implement
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
Aurelius84
08b09f6447
Support if/else in dygraph_to_static ( #22540 )
...
* support nested if/else
* support to derivate returns the parameter list automatically
* polish tranform function of slice
* fix modify x.numpy()[i] slice function
* support to transform ast.node into callable function
* fix get_name_ids bug and add more unittest test=develop
* fix requirements.txt test=develop
* remove useless import statement test=develop
* Fixed version compatibility issues in param of function test=develop
* use decorater to test ast_to_func test=develop
* add textwrap.dedent for source_code test=develop
* polish code comment
* fix compatibility with python2 and python3 test=develop
* fix gast version error test=develop
* fix gast repo test=develop
* polish transfer_from_node_type code test=develop
* add nested_if_else unittest test=develop
* split IfElseTransformer test=develop
* specify gast version test=develop
* fix ast_to_func root type test=develop
5 years ago
wangchaochaohu
7a4c29e0e0
add fuse_group python unitest ( #22532 )
...
* add fuse_group python unintest
5 years ago
Huihuang Zheng
14672a6364
Add Basic Node Var Type Analysis ( #22603 )
...
1. Move AstNodeWrapper, StaticAnalysisVisitor to a new python file: static_analysis.py
2. Add basic node var type analysis
5 years ago
songyouwei
0aee43005a
Linear use mul op ( #22662 )
...
* Linear use mul op
test=develop
* fix unittest
test=develop
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 )
...
* improve the mul_mkldnn_op line coverage
test=develop
* remove fp32 mul mkldnn kernel
test=develop
* locally refactoring
test=develop
* change according to reviews
test=develop
5 years ago
wangchaochaohu
c65c6ae534
add flag to control profile level in python API ( #22319 )
...
* add python flag to control profile level test=develop
5 years ago
liym27
17a6b50fe3
support num_flatten_dims=-1 of API fc. ( #22634 )
...
* support num_flatten_dims=-1 of API fc. test=develop
* fix name of class Test* and add CUDAPlace test. test=develop
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 )
...
* support reset param with None value
* add unittest
test=develop
* update unittest
test=develop
5 years ago
Chen Weihang
192110725a
Add Queue.get delay for multiprocess data loader ( #22604 )
...
* add get delay for multiprocess data loader, test=develop
* add unittest for coverage ci, test=develop
* add timeout unittest, test=develop
* increase the delay time, test=develop
5 years ago
Jiawei Wang
8f035fb637
Add TopK Op Grad CPU&GPU Kernel test=develop ( #22628 )
...
* Add TopK Op Grad CPU&GPU Kernel test=develop
* Add TopK Op Grad, modify grad op maker test=develop
* Add TopK Op Grad, modify grad op maker test=develop
* Add TopK Op Grad, modify PADDLE_ENFORCE test=develop
* Add TopK Op Grad, modify PADDLE_THROW test=develop
* Add TopK Op Grad, modify unittest test=develop
* fix ngraph top k op unittest test=develop
5 years ago
guofei
9ed59da443
Modify english document and unittest of while_loop ( #22615 )
...
Modify english document and unittest of while_loop
5 years ago
Chen Weihang
fc645d8a47
Fix data loader test failed problem in release 1.7 ( #22624 )
...
* split unittests in data loader test, test=release/1.7
* split unittests to different files, test=develop
* remove repeat unittest, test=develop
5 years ago
123malin
e59463efc7
test=develop, add distributed tools ( #22623 )
5 years ago
tangwei12
1aab3e61c9
add texttable for pretty flag output ( #22584 )
...
pretty print for communicator flag
5 years ago
Steffy-zxf
90ee366653
update ops's unittest data type from float32 to float64 and shape over 100 ( #22544 )
...
* update ops's unittest of elementwise_pow, elementwise_max, elementwise_min, scale and sqrt
1. update elementwise_pow, elementwise_max and scale's unitests with input data type (float32 -> float64)
2. fix bug that the elementwise_pow doesn't meet threshold requirements with tackling float64 data
3. remove sqrt from op_accuracy_white_list.py
4. update the unittests of elementwise_pow, elementwise_max and elementwise_min ops that their input data shape over 100
5. test=develop
* modify the writing style according suggestions
test=develop
5 years ago
Chen Weihang
ec90742708
Adjust sleep time of main process in signal handler test ( #22597 )
5 years ago
hong
6980239632
Enhance load program state ( #22546 )
...
* enhance load program state; test=develop
* optimize commet; test=develop
5 years ago
Zhaolong Xing
8acd745c25
[Ernie GPU Optim]: Fuse three fc to multihtead matmul ( #22486 )
...
* 1. optim multihead matmul: fuse three fc to multihtead matmul
test=develop
* fix conflict
test=develop
* fix comments
test=develop
5 years ago
Huihuang Zheng
a8dd425aa3
Add Static Analysis to Construct AstNodeWrapper ( #22569 )
...
As the title
5 years ago
joanna.wozna.intel
146ed4099d
Add test with reused requantize op ( #22482 )
...
test=develop
5 years ago
Zeng Jinle
08033c8634
fix traced layer with non persistable vars, test=develop ( #22552 )
5 years ago
Guo Sheng
31b5464632
Add support for dynamic_decode(while) training. ( #22231 )
...
* Add support for dynamic_decode(while) training. test=develop
* Fix assign_op and tensor_array_read_write_op after solving conflict. test=develop
* Fix test_rnn_decode_api.py. test=develop
* Refine docs for apis in rnn.py. test=develop
* Adjust outputs of dynamic_decode. test=develop
* Remove the force_cpu update in assign_op. test=develop
* Remove the force_cpu update in assign_op. test=develop
* Make RNNCell.get_initial_states support batch_dim_idx argument. test=develop
* Rename _create_array_outof_while as _create_array_out_of_while in rnn.py.
test=develop
5 years ago
tangwei12
b0675c8193
fix bug with compiledProgram ( #22495 )
...
* add thread barrier for the compiled program
5 years ago
Double_V
58d99247f4
support slice double grad, test=develop ( #22166 )
...
* support slice double grad, test=develop
* merge two doublegradopmaker to one doublegradopmaker,test=develop
* change the shape of slice_OP's unittest, test=develop
5 years ago
huzhiqiang
9e29d3ebed
【OpPorting Example】DEMO OF FIX COMPILE&RUNTIME LOD_EQUALITY ( #22460 )
5 years ago
yaoxuefeng
2235ee1a5e
multi-loss optimization by adding a DownpourOpt worker ( #22025 )
...
* update
* update test=develop
* update compile set test=develop
* update compile set test=develop
* update test=develop
* update test=develop
* update test=develop
* update compile setting test=develop
* update compile setting test=develop
* update run demo test=develop
* update test=develop
* update test=develop
* fix test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update format test=develop
* update format test=develop
* update style test=develop
* update style test=develop
* change style test=develop
* change style test=develop
* change style test=develop
* add dataset unittest test=develop
* update test=develop
* update for record test=develop
* udpate style for record test=develop
* update for record test=develop
* update for record test=develop
* update for record test=develop
* fix format test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
5 years ago
zhaoyuchen2018
54970444ce
Improve transpose performance with tile sm copy, test=develop ( #22311 )
...
* Refine code, fix select tile error,test=develop
* Refine element type and some comments, test=develop
* Refine comments and gpu utils, test=develop
* Remove some useless condition
* Refine floor and ceil, test=develop
* refine for loop. test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
5 years ago
guofei
3a59a7a11f
Make assign op support LoDTensorArray and modify while_loop API ( #22309 )
...
This PR makes assign op support LoDTensorArray and enable the loop_vars in
while_loop to support tuple or list.
5 years ago
liu zhengxi
14b6133b45
Implement InferencePassTest for testing precision of inference passes ( #22387 )
...
* add InterencePassTest for testing precision of inference passes, test=develop
5 years ago
Guo Sheng
e7bbad6c49
Fix the leaving out of rnn_memory_helper_grad's output vars. test=develop ( #22499 )
5 years ago
Wilber
870f465887
fix test_fusion_seqpool_concat lod level between compile and runtime ( #22488 )
5 years ago
Huihuang Zheng
903039a3c6
Add Simple Framework for Transforming Dygraph to Static Graph ( #22491 )
...
This PR provides very basic and simple framework for transforming Dygraph to Static Graph.
API names, final outputs are not determined yet. Feel free to modify or add class/function/type when you think the framework is not extendable for you.
5 years ago
Yiqun Liu
dcfb603897
Enable the detection of subgraph composed of grad ops ( #21223 )
...
* Add the first implememtation of fusion_group op #19621 (#3 )
* Add the dynamic load of nvrtc, and support runtime compiling of CUDA kernel using nvrtc.
test=develop
* Call CUDA driver api to launch the kernel compiled by nvrtc.
test=develop
* Disable for mac and windows.
test=develop
* Refine the codes to support manually specified num_threads and workload_per_thread.
test=develop
* Refine the CUDA kernel to support large dims.
test=develop
* Add DeviceCodePool to manage all device codes.
* Add the first implementation fusion_group op.
* Add unit-test for fusion_group op.
* Add the check of result.
* Add the check of nvrtc in unit-test.
test=develop
* Add comment to explain the inputs, outputs and features of fusion_group op.
test=develop
* Disable fusion_group op for mac and windows.
test=develop
* Make the compiling of device code return status instead of hanging up.
test=develop
* Add the check of whether there is CUDA driver library, and do not core dump when failing to call the CUDA driver API.
* Unify fusion_group_op's input and output names.
test=develop
* Add the check of CUDA driver library in unittest.
test=develop
* Enable generating code for a given subgraph. #21126 (#4 )
* Enable generating code for a given subgraph.
* Support sorting the subgraph.
* Remove the rearange of expressions because we use the sorted subgraph directly.
* Enable generating code for a subgraph which is composed of grad ops.
* Use expression information to check the accuracy in unittest.
* Separate load and store from computation expressions.
test=develop
* Improve the loading statements in generated codes.
test=develop
* Remove unused arguments from formal list.
test=develop
* Enable the detection of subgraph of grad ops.
* Generate code for detected subgraph in fusion_group_pass.
* Add an option in BuildStrategy to enable fusion_group_pass and add unittest.
test=develop
* Fix a bug when checking whether the shape of all inputs are the same.
* Add debug information.
* Remove subgraph_detector from inference/analysis to the common framework/ir directory. (#5 )
test=develop
* Call subgraph_detector in fusion_group pass.
test=develop
* Disable fusion_group when WITH_GPU is OFF.
test=develop
* Refine all PADDLE_ENFORCE message.
test=develop
* Fix the case that some inputs are not defined in grad ops, and set op_role for fused op.
test=develop
* Follow review comments.
test=develop
5 years ago
Aurelius84
50af6b5d79
polish no_grad_set of gradient and append_backward ( #22440 )
...
* polish backward api doc test=develop, test=document_preview,
test=document_fix
* polish backward api doc test=develop, test=document_preview, test=document_fix
* no_grad supports set of Variable test=develop, test=document_preview
* polish sample code of append_backward test=develop, test=document_preview
* modify assert into Raise TypeError test=develop,test=document_preview
* fix unittest failed test=develop
* rm useless file test=develop
* polish en doc test=develop
* polish code of no_grad_set test=develop
* polish code of no_grad_set test=develop
5 years ago
Aurelius84
c2f39431aa
add skip_check_grad_ci of var_conv_2d ( #22451 )
...
* add skip_check_grad_ci of var_conv_2d test=develop
* modify check_shape_white_list test=develop
5 years ago
Wilber
7bc4b09500
add WITH_NCCL option for cmake. ( #22384 )
...
cmake选项中添加了WITH_NCCL,显示指定是否编译NCCL的部分代码,WITH_NCCL默认打开,但如果WITH_GPU为OFF,则关闭WITH_NCCL
添加了PADDLE_WITH_NCCL定义
单机单卡能够关闭NCCL编译,多卡的话需要默认打开NCCL,如果关闭NCCL,则只能使用单卡
Co-authored-by: 石晓伟 <39303645+Shixiaowei02@users.noreply.github.com>
5 years ago
Bai Yifan
c8b90d8f9a
fix deformable_conv small cases, test=develop ( #22441 )
5 years ago
Leo Chen
822e5b36ec
Support int16 for Tensor ( #22423 )
...
* add int16 support, test=develop
* add test, test=develop
* fix typo, test=develop
* fix dtype error in slice, test=develop
5 years ago
tangwei12
7e2665c58b
fix bug with half ( #22378 )
...
* fix bug with half communicator
5 years ago
liu zhengxi
0404e7a985
Update the precision of pad, pad2d, pad_constant_like's unit tests from fp32 to fp64 ( #22394 )
...
* update the ut precision of pad pad2d pad_constant_like from fp32 to fp64, test=develop
5 years ago
xujiaqi01
371f377bea
add GeneralRoleMaker ( #22295 )
...
* add GeneralRoleMaker which is for general usage
* test=develop
5 years ago
lidanqing
ade5022681
[UT Coverage]Improve sum_mkldnn_op line coverage ( #22275 )
5 years ago
Wojciech Uss
92462e948d
improve elementwise_add_mkldnn_op test code coverage ( #22359 )
5 years ago
wangchaochaohu
e6ca512af1
refine convert type for numpy type ( #22386 )
5 years ago
lilong12
6d325a9470
enable test_dist_se_resnext_nccl.py, test=develop ( #22067 )
5 years ago
石晓伟
a392b77785
add no_grad_set value check in op_test, test=develop ( #22370 )
...
* add no_grad_set value check in op_test, test=develop
* update ops list, test=develop
5 years ago
gongweibao
ad2bc0c364
Fix a distribution bug and cleanup some not need logs. ( #22381 )
5 years ago
juncaipeng
7b0692a610
remove skip_check in test_activation_mkldnn_op, test=develop ( #22376 )
...
* remove skip_check in test_activation_mkldnn_op, test=develop
5 years ago
whs
5f655d2cef
Refine unitest im2seq op. ( #22372 )
5 years ago
Zeng Jinle
039bb5050c
Polish backward.py to prune more ops ( #22246 )
...
* polish backward prune, test=develop
* fix control flow op bug, test=develop
* add some unittests, test=develop
* fix unittest args, test=develop
* follow huihuang's comments, test=develop
5 years ago
Zeng Jinle
26da700ab2
Fix static graph dataloader early reset bug ( #22365 )
...
* fix dataloader early reset bug, test=develop
* change implementation, test=develop
* fix ut, test=develop
5 years ago
zhupengyang
c6f888e5a5
update unittest accuracy to float64 for relu, prelu, maxout ( #22273 )
5 years ago
juncaipeng
325f0722bd
skip all mkldnn op test ( #22363 )
5 years ago
Chengmo
a22aaf7078
test=develop, fix test dist fleet geo unittest ( #22287 )
...
fix timeout of test_dist_fleet_geo
5 years ago
Yiqun Liu
b7cac50b64
Implement a common python unittest to test the ir passes. ( #22209 )
...
* Implement a common python unittest to test the ir passes.
test=develop
* Save the results in np.array and support to startup on CPU.
test=develop
* Fix the unittest.
test=develop
* Add check_program to check whether the optimized program is different from the origin one.
test=develop
* Remove the inferface all_ops.
test=develop
* Add exception test in pass_test.
test=develop
5 years ago
songyouwei
4dec15999f
Allow Layer attr shadow ( #22333 )
...
* allow sublayer or param shadow attrs
* add unittest
test=develop
* change remove fn name
test=develop
5 years ago
zhupengyang
cf0e264e63
all cases use large shape and skip special cases ( #22332 )
5 years ago
tangwei12
82bc814a57
integrated HALF_ASYNC to communicator ( #21869 )
...
* add half_async in the communicator
* fix DistributedStrategy
5 years ago
hong
00c0139e6e
add learning rate api of optimizer ( #22080 )
...
* add learning rate api; test=develop
* fix uni test converage; test=develop
* fix travis ci error; test=develop
* fix comment; test=develop
* fix example error; test=develop
* polish the api description, test=develop
Co-authored-by: zhongpu <2013000149@qq.com>
5 years ago
zhupengyang
cb5e0d20c2
skip cases with small shape ( #22318 )
5 years ago
hong
008ea1ae2e
Fix test layers 单测随机挂问题 ( #22278 )
...
* fix test_layers compare static graph and dygraph result; test=develop
* fix test_layers random error; test=develop
5 years ago
Chen Weihang
35efbe6d95
Speeding up dygraph DataLoader with multiprocessing ( #21762 )
...
* add multiprocess for dygraph data loader, test=develop
* polish code & add safe gurad, test=develop
* refactor dygraph dataloader & add signal handler, test=develop
* fix member initializer compile error on ci, test=develop
* fix member initializer compile error one more, test=develop
* remove useless config, test=develop
* skip windows incompatible problem, test=develop
* add unittest for coverage, test=coverage
* add more exception unittest case, test=develop
* deal with signal handler coverage, test=develop
* polish code & add signal handler tests, test=develop
* deal with coverage ci problem, test=develop
* split data loader test & coverage ci fix, test=develop
* remove test_imperative_data_loader_with_exception, test=develop
* remove singal process except test case, test=develop
* add exception tests again & remove sample list test, test=develop
* split normal and exception unittests to diff class, test=develop
* polish doc for use_multiprocess effect in static mode, test=develop
5 years ago
zhupengyang
7ab44afbcc
check op tests' shape should be 100+ ( #22047 )
5 years ago
hong
737334989b
State dict do not count data parallel layers ( #22169 )
...
* DataParallel state dict don't include _layers.; test=develop
* add unitest of data parallel; test=develop
* add load state test; test=develop
5 years ago
Bai Yifan
faba4b116a
Remove disable flag in test_fsp_op.py ( #22171 )
...
* fix fsp_op, test=develop
* fix fsp grad op maker, test=develop
* update op_use_default_grad_op_maker.spec, test=develop
5 years ago
juncaipeng
67e9247f4c
Make every op in a line to avoid conflict in the future ( #22274 )
5 years ago
songyouwei
4bf2ccaa52
fix save_dygraph & save with nonexistent dir ( #22266 )
...
* fix save_dygraph with nonexistent dir
test=develop
* minor fix
test=develop
* fix unittest
test=develop
* fix static save
test=develop
5 years ago
zhongpu
9a7245de0e
fix optest of check_dygraph=False, test=develop ( #22283 )
5 years ago
danleifeng
f56e07492c
edit useless code;test=develop ( #22276 )
5 years ago
zhongpu
e31f8a2f5e
add CI check for sequence ops' unittests ( #22221 )
5 years ago
danleifeng
f5262865c0
change select_gpus into absolute values in launch.py ( #22031 )
5 years ago
zhupengyang
2b619493e2
all cases use large shape ( #22241 )
...
enhanced ops: concat, nearest_interp, deformable_conv_v1, sequence_conv, transpose2, conv2d
5 years ago
Chen Weihang
efcdeb512f
Add all_parameters api for Program ( #22180 )
...
* add all_parameters for Program, test=develop
* refine unittest, test=develop
* add example print result, test=develop
5 years ago
liym27
d90c121534
Revert "open test_parallel_executor_fetch_feed for PR_Windows_CI. test=develop ( #22020 )" ( #22253 )
...
This reverts commit c7b03d308c
.
5 years ago
juncaipeng
05ee05e248
no fp64 check for mkldnn op test, test=develop ( #22217 )
5 years ago
Zhen Wang
f2522e91c4
fix the type error caused by setting bool attr in OpDesc. test=develop ( #22257 )
5 years ago
songyouwei
0ba1d140d4
Add CI check for sequence ops' unittests ( #21615 )
5 years ago
123malin
985bceac53
Bug fix for sparse recorder ( #21969 )
...
* test=develop, bug fix for sparse recorder
5 years ago
zhongpu
7e2af4c91f
modify sequence_pool optest apply get_sequence_instance_size_0_input, test=develop ( #22214 )
5 years ago
Zhang Ting
e18a737506
only import used test case and function( #22208 )
5 years ago
hong
6e04334cec
Check dygraph weight name ( #22140 )
...
* add parameter check; test=develop
* change parameter name checker in dygraph guard; test=develop
* fix test layers error; test=develop
* revert some code to develop; test=develop
* fix exampel error; test=develop
* fix comment error; test=develop
* fix comment error; test=develop
5 years ago
zhongpu
6882b8ebfa
fix bug fot test_dygraph_mnist_fp16.py, test=develop ( #22222 )
5 years ago
liym27
8de33f4197
add NotImplementedError for multi optimizers ( #22181 )
...
* add NotImplementedError for multi optimizers used on multi-places . test=develop
* assert error only if num_devices>1. test=develop
* set test_optimizer_in_control_flow in CMakeLists for using multi-GPU.test=develop
5 years ago
FlyingQianMM
443a713c9e
add backward gradient computation for op argsort ( #22203 )
...
* add backward gradient computation for op argsort test=developo
* use pre-commit test=develop
5 years ago
Zhen Wang
46189b166d
Add bn and relu fuse pass ( #22048 )
...
* add bn and relu fuse pass
* add op attr assert and dtype assert
* fix some inputs&&outputs bugs for the fused op and pattern.
* add the unittest for fuse_bn_act_pass. test=develop
* use normative enforce statements. test=develop
* add the cpu test. test=develop
* add the support of batch_size=1 for the bn with relu op. test=develop
* add the error type for paddle throws. test=develop
* add fused_batch_norm_act and fused_batch_norm_act_grad to op_has_unsed_vars_white_list. test=develop
5 years ago
songyouwei
0d82baf837
add batch_size_1_input data function for sequence ops unittests ( #22172 )
5 years ago
baojun
298ee7d28a
Improve ngraph file line coverage ( #22155 )
5 years ago
zhongpu
d0f0a2520c
test Optimizer in dygraph ( #21949 )
...
* test Optimizer in dygraph, test=develop
* add optest for Optimizer in dygraph, test=develop
* fix adagrad optimizer, test=develop
* fix dpsgd optimizer, test=develop
* fix test_optimizer.py, test=develop
* fix dpsgd optimizer, this op only support cpu, test=develop
* add optest for optimizer, test=develop
* add description for dpsgd, test=develop
* add rmsprop to white_list in unused_var_check.cc, test=develop
* polish code style, test=develop
* polish code style, test=develop
* delete seed attribute for DpsgdOptimizer, test=develop
* change testing to debugging, test=develop
5 years ago
songyouwei
83037e55ca
named_sublayers and named_parameters ( #21868 )
...
* use snake_cased Layer name
* add named_parameters and named_sublayers api
* add include_sublayers param, add unittest
test=develop
* fix named unittests
test=develop
* fix unittest
test=develop
* add api docs
test=develop
* arg fix
test=develop
* reserve rnn_impl name_scope for static graph
test=develop
* fix load static param
test=develop
* fix load static param
test=develop
5 years ago
zhongpu
7d10edc5ee
add clear_gradients for Optimizer and add clear_gradients api description ( #21948 )
...
* add clear_gradients for Optimizer, add api description, test=develop
* fix optest for optimizer's clear_gradient interface, test=develop
* add sample code, test=develop
* polish sample code, test=develop
5 years ago
Leo Chen
51cb918a05
update layers used in transformer dygraph model, test=develop ( #22051 )
...
* update layers, test=develop
* update layers for resnet, test=develop
* fix is_test attr, test=develop
* update cycle_gan, test=develop
* update reinforcement_learning, test=develop
* update ocr, test=develop
* fix bug, test=develop
5 years ago
songyouwei
1ae3f47f59
update PRelu arg ( #21946 )
...
* update PRelu arg
test=develop
* fix unittests
test=develop
* fix element mode alpha shape
test=develop
* split channel_or_input_shape arg
test=develop
* fix unittest
test=develop
5 years ago
Chen Weihang
8b29fec7ad
open test dygraph mnist fp16, test=develop ( #22163 )
5 years ago
Zeng Jinle
c3bcd3c1e2
fix dygraph non zero gpu bug, test=develop ( #22165 )
5 years ago
Double_V
cfb0c12ef9
fix grad diff over limit when the data type of input is double,test=develop ( #22161 )
5 years ago
zhongpu
cf475f95df
Remove FC in dygraph, modify FC to Linear in sample code ( #22082 )
...
* modify fc to linear in sample code, test=develop
* remove FC, test=develop
* remove warnings, test=develop
* drop fluid/imperative/README.md , test=develop
* change fc to linear, test=develop
* polish code style, test=develop
5 years ago
Double_V
6ea3809143
Support prroi_pool_op with Tensor and LoDTensor rois ( #20649 )
...
1. Add a new input named batch_roi_nums for prroi_pool_op. batch_roi_nums includes the number of roi for each image in batch when rois is Tensor. This information is saved in rois's lod when rois is LoDTensor.
2. add grad check to prroi_pool_op and solve unnormal X grad diff in CPU.
5 years ago
juncaipeng
bde7ee97f7
Use unified threshold in all op test ( #21814 )
...
* modify test framework, test=develop
* fix test_fsp_op, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* add check for threshold, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* up, test=develop
* update, test=develop
* update, test=develop
* update, test=develop
5 years ago
zhupengyang
f2f913073f
all cases use large shape ( #22102 )
...
enhanced ops: acos, asin, brelu, ceil, cos, elu, floor, hard_shrink,
hard_sigmoid, hard_swish, relu6, round, rsqrt, sin, softshrink,
cos_sim, cross_entropy, im2squence, kldiv_loss
5 years ago
hong
9f7d90d203
Load inference enhance ( #21919 )
...
* enhance load interface; test=develop
* add uni test and add comment; test=develop
* fix converage; test=develop
* use path.joint replace "/"; test=develop
* windows debug; test=develop
* fix window unitest error; test=develop
* fix commet error; test=develop
* add model shuffix check; test=develop
* fix example error; test=develop
5 years ago
hong
2f49cf70f7
Support dygraph structuerd name ( #21930 )
...
* support dygraph structured name; test=develop
* add load static param unitest and fix save load; test=develop
* fix varBase import error; test=develop
* fix unitest error; test=develop
* add comment for parameter; test=develop
* fix uni test error; test=develop
* change parallel se-resnet; test=develop
* fix dygraph se resnext parallel test; test=develop
* remove useless code; test=develop
* remove useless code; test=develop
5 years ago
Double_V
b9a6354710
Solve elu unitest fail ( #22123 )
...
* set esp as 1e-6 to solve elu unitest fail,test=develop
5 years ago
Chengmo
418abc92f4
Update pyramid related OP ( #21372 )
...
* add special way to add distribute vars, Update Pyramid hash op
5 years ago
Yibing Liu
434f7b9c0f
Fix the global_step & continuous applying error in EMA ( #22090 )
...
* Fix the global_step & continuous applying error in EMA
test=develop
* Fix for step 0 & add unit test, test=develop
5 years ago
zhupengyang
5de6a1913b
fix test_bilinear_tensor_product_op timeout ( #22120 )
5 years ago
Chengmo
5c33919328
Fix grad clip ( #21784 )
...
* fix grad clip, clip op belongs to Backward op when running in Parameter Server mode.
5 years ago
Feiyu Chan
14aebc7a95
add erf op ( #21785 )
...
* add erf op and python interface.
* add fp16 support for erf op.
* add unitests for erf op and its python interface.
5 years ago
WangXi
f385c34107
fix fleet collective api run on cpu, test=develop ( #22064 )
5 years ago
zhupengyang
cce9af0e2b
all cases use large shape ( #22106 )
...
enhanced ops: conv2d, conv3d
elementwise_pow: change to a reasonable shape
5 years ago
Double_V
fab4b0765a
support elu_op double grad ( #21822 )
...
* support elu activation double grad,test=develop
* delete the code commit in .cc,test=develop
* fix relu test unpass, test=develop
* add elu double grad kernel and unit test
* add caculate dX in elu double grad functor, test=develop
* update the commit code,test=develop
5 years ago
Jacek Czaja
b0b27ff699
[MKL-DNN] Conv grad and Batch Norm grad NHWC support ( #22088 )
5 years ago
Huihuang Zheng
dd4361568e
Add ParallelExecutor Test for Cond API and Fix PE Checks Shape Bug ( #22029 )
5 years ago
songyouwei
2a47cc5fc4
dygraph LayerList container ( #21734 )
...
* add dygraph LayerList
* add unittest
test=develop
* add newline
test=develop
* typo fix
test=develop
5 years ago
silingtong123
370a8e9126
Remove unit tests that are no longer maintained ( #22081 )
5 years ago
chengjuntao
e519a1fc82
add bigger shape test example for elementwise_pow OP ( #22063 )
5 years ago
zhupengyang
8b3ef2a587
all cases use large shape ( #22091 )
...
enhanced ops: unsqueeze, squeeze2, strided_slice, unsqueeze,
unsqueeze2, var_conv_2d, spectral_norm, slice, match_matrix_tensor,
nce, pad, pad_constant_like, filter_by_instag
5 years ago
zhupengyang
85ba527522
all cases use large shape ( #22065 )
...
affine_channel, affine_grid, bilinear_interp, bilinear_tensor_product,
clip, crop, crop_tensor, cumsum, data_norm, expand, expand_as
5 years ago
123malin
7fb817d447
add distributed_strategy ( #21710 )
...
* add distributed_strategy
5 years ago
Jacek Czaja
ad8a9cb82c
[MKL-DNN] Pool & LRN Grad Ops NHWC support ( #21747 )
5 years ago
Adam
e1d666fb8b
Hotfix to MKL-DNN pool2d tests ( #22086 )
5 years ago
zhupengyang
bf978fffe5
all cases use large shape ( #22084 )
...
flatten, flatten2, gather, gather_nd, group_norm, gru,
gru_unit, reduce_max, reduce_min, reduce_mean, reduce_sum,
reshape, scatter_nd_add, sequence_expand, sequence_expand_as,
sequence_pad
5 years ago
liym27
7d8d45991a
control flow: support optimizer called ( #21851 )
...
* append optimize op in the grad block of current block if current block is in control flow. test=develop
* add conditional grad op when optimizer used in control flow. test=develop
* add comment and modify typo. test=develop
* fix append_backward to support control flow. test=develop
* add test. test=develop
* fix copy_var_to_parent_block and conditional_block_grad. test=develop
* fix bug: revert to append conditional_block_grad vars to sub grad block. test=develop
* fix bug: revert to assign var to parent block even if var already is in parent block
* fix bug: consider outputs is empty. test=develop
* move _rename_grad_ out. test=develop
* modify code according to reviews from Huihuang. test=develop
* modify code according to reviews from Jinle. test=develop
5 years ago
Qinghe JING
12b2b4b1a1
Add gradient check to reduce_max and reduce_min ops ( #21985 )
5 years ago
Leo Zhao
1c39efb783
Enable test conv2d ngraph ( #22074 )
5 years ago
Leo Chen
3f653c8323
register NoNeedBufferVarsInference for max_pool_grad_op, test=develop ( #22055 )
...
* fix test_conv2d_ngraph for grad diff, test=develop
* register NoNeedBufferVarsInference for max_pool_grad_op, test=develop
* refine error message, test=develop
* fix numpy, test=develop
* disable test conv2d_ngraph_op, test=develop
Co-authored-by: Zhang Ting <709968123@qq.com>
5 years ago
Michał Gallus
6192108408
[DNNL] 3D Fully-Connected ( #21746 )
5 years ago
huzhiqiang
f5f65a7e8a
OP unit test specification: compiletime-runtime consistency check ( #22006 )
5 years ago
FDInSky
aa2ed0dcc6
fix generate_proposal_labesl op ( #21793 )
...
* test=develop fix generate_proposal_labesl op
5 years ago
mapingshuo
81030125a3
convert input vars' dtype for range op ( #22028 )
...
* convert dtype of vars for range op, test=develop
5 years ago
dyning
985e4bae5e
fix unittest for spp op, test=develop ( #22030 )
...
fix unittest for spp op
5 years ago
songyouwei
56414c7daf
move private weight fields to public ones ( #21982 )
...
* move private weight properties to public ones
test=develop
* revert changes to FC
test=develop
* fix unittest
test=develop
* fix unittest
test=develop
* fix coverage
test=develop
* fix merged dev
test=develop
* bug fix
test=develop
5 years ago
Pei Yang
b852ef7375
add no_check_set check for op unittests ( #21611 )
5 years ago
liym27
c7b03d308c
open test_parallel_executor_fetch_feed for PR_Windows_CI. test=develop ( #22020 )
5 years ago
Chen Weihang
9a2204ee1f
Uniform append_backward & gradients parameter_list type to Variable ( #21938 )
...
* update doc, test=develop
* fix related unittests, test=develop
* fix str incompatible error, test=develop
5 years ago
Zhang Ting
835ba4ec81
add is_empty_grad_op for OpTest ( #22022 )
...
* add is_empty_grad_op for OpTest, test=develop
5 years ago
silingtong123
34e26c9a7d
remove @unittest.skip in test_parallel_executor_mnist.py ( #22019 )
5 years ago
WangXi
3ec289a6a3
fix sync_batch_norm hang in fleet ( #21838 )
5 years ago
Aurelius84
a0b533765e
increase data shape in topk_avg_pooling unittest ( #22010 )
5 years ago
Zeng Jinle
86c40e207d
Expose fluid.dygraph.TracedLayer API ( #21518 )
...
* expost fluid.dygraph.TracedLayer apis, test=develop
* polish doc, test=develop
* follow comments, test=develop, test=document_fix
* follow comments, test=develop
* remove save_inference_model return value, test=develop
5 years ago
Aurelius84
911eef4319
enhance checking validity of apply_gradient ( #21870 )
...
* enhance checking validity of apply_gradient test=develop
* refactor code test=develop
* stash
* add adamOptimizer test=develop
* add adamOptimizer test=develop
5 years ago
Leo Chen
33f1306753
update layers used in mnist dygraph model, test=develop ( #21947 )
...
* update layers used in mnist dygraph model, test=develop
* fix import issue, test=develop
* add dygraph utils, test=develop
* add unittest, test=develop
5 years ago
Yang Zhang
c3527f5526
Annotate NormOP test to skip grad check ( #21894 )
5 years ago
FDInSky
fa8bab9cbc
add fp64 check_grad for conv2d, conv3d ( #21931 )
...
* test=develop add fp64 check_grad for conv2d, conv3d
5 years ago
FDInSky
cf7b325389
fix conv2d_transpose op unittest ( #21927 )
5 years ago
Kaipeng Deng
f4013ecb3b
enable kldiv_loss_op unittests ( #21990 )
5 years ago
Kaipeng Deng
c15d4208b9
fix no grad check for pool_max & spectral_norm ( #21971 )
...
* fix no grad check for pool_max & spectral_norm. test=develop
5 years ago
Li Fuchen
e0d8b8f5c0
use large input size in test_add_position_encoding_op.py ( #21962 )
...
* use large input size in test_add_position_encoding_op.py, test=develop
* revert shape_white_list, test=develop
5 years ago
zhoushiyu
cee2ccb078
add shuffle batch op ( #21674 )
...
* add shuffle batch op, test=develop, test=document_preview
* fix size_t conflict and check_output test=develop, test=document_preview
* fix bug test=develop, test=document_preview
* add unittest of shuffle_batch layer test=develop, test=document_preview
* fix py coverage and op input type, test=develop, test=document_preview
* fix py coverage, test=develop
* fix en doc, test=develop
* move to contrib test=develop
* add unique_name test=develop
* invoke shuffle_batch in contrib.layers test=develop
5 years ago
zhongpu
dca075839b
remove params in Tracer object (in dygraph) ( #20815 )
...
* remove params in Tracer object, test=develop
* Repair failed optest, test=develop
* remove build_once & name_scope (Conv2D)
test=develop
* fix unittest
test=develop
* Conv2DTranspose
* Conv3D & Conv3DTranspose
test=develop
* Pool2D & BatchNorm
* Embedding
* LayerNorm
* GRUUnit & NCE
* PRelu
* BilinearTensorProduct
* GroupNorm & SpectralNorm
* TreeConv
test=develop
* fix LayerNorm in transformer unnittest
test=develop
* disable LayerNorm or BatchNorm in multicard
test=develop
* refine Layer.create_parameter api
test=develop
* refine LayerNorm, remove begin_norm_axis param, add normed shape check
test=develop
* LayerNorm bug fix
test=develop
* fix optest,test=develop
* fix optest, test=develop
* fix optest for pass parameter_list when constructing an Optimizer class instance, test=develop
* polish code for better code style, test=develop
* fix se_resnext optest, test=develop
* polish code for better code style, test=develop
Co-authored-by: songyouwei <youwei0314@gmail.com>
5 years ago
mapingshuo
c3e1954918
make reverse op support negative axis ( #21925 )
...
* make reverse op support negative axis
5 years ago
pkpk
911e4c7db6
Fix the bug in sequence_scatter unitest ( #21960 )
...
* test=develop
* test=develop
* test=develop
* change the check_shape_white_list in web
* test=develop
* test=develop
5 years ago
lijianshe02
2687f2afec
fix input shape of test_log_loss_op ( #21953 )
5 years ago
juncaipeng
b1ec1d54cf
Delete check grad for int, collect op for now ( #21922 )
5 years ago
hutuxian
27decacb8a
fix aucop stat shape ( #21846 )
...
* fix stat shape back in global auc scenario
* add UT to cover global auc
5 years ago
WangXi
0d61653c8e
Revert to run distributed unittest serially, test=develop ( #21924 )
5 years ago
songyouwei
cff7a49856
Add ParameterList ( #21056 )
...
* add ParameterList container
* add unittest
test=develop
* fix container, rebase remove build_once
test=develop
* add parameters None check
test=develop
* update Sequential unittest
test=develop
* use Linear in Sequential sample code
test=develop
* fix Sequential arg type doc
test=develop
5 years ago
songyouwei
8439384e25
Move sequence op unittest files to a separate folder sequence ( #21842 )
...
* move sequence op unittests to a separate folder
test=develop
* add missing CMakeList file
test=develop
* fix relative path import
test=develop
* fix relative import
test=develop
* use sys.path.append
test=develop
5 years ago
GaoWei8
2690ddb558
Use skip_check_grad_ci to skip grad check ( #21907 )
5 years ago
zhupengyang
1f3029cb54
ci check for check_shape_white_list.py ( #21859 )
5 years ago
Aurelius84
51a86d2b6b
Optimize adam speed ( #21777 )
...
* optimize adam speed by removing _finish_update test=develop
* fix SparseAdamFunctor param list test=develop
* Remove scale_op in expect_list of adam_op test=develop
* fix test optimizer loss assert error test=develop
* fix test optimizer loss assert error test=develop
* modify PADDLE_ENFORCE usage test=develop
* fix op_type in lamb_op.cc test=develop
* fix errors ostream format bug test=develop
* add betaPowOut in ngraph op test=develop
* fix ngraph::op api for gcc8 test=develop
* clean code test=develop
* modify struct into class test=develop
* remove code of beta1Tensor in lamb_op test=develop
5 years ago
Leo Chen
310edc0d0c
Update layers used in ptb model to use auto-generated op functions in dygraph mode ( #21724 )
...
* update layers, test=develop
* fix input numpy, test=develop
* fix bugs, test=develop
* follow commments, test=develop
* update getitem, test=develop
5 years ago
lijianshe02
f17bd1786a
add decorator skip_check_grad_ci for test_group_norm ( #21910 )
...
* add decorator skip_check_grad_ci for test_group_norm test=develop
5 years ago
juncaipeng
feabed1309
Modify op test ( #21835 )
...
* remove return in op_test teardown, test=develop
* add check_grad for fp64 and other type
* update white list
5 years ago
huzhiqiang
53c16eabe4
test the compatibility between execution time and compiling time ( #21511 )
...
* test the equality between running-time and compiling time
* add white_list for compile_vs_runtime check test=develop
* add check of new-registered op on compile&runtime-lodEquality test=develop
* test=develop
* test=develop
* update white-list test=develop
* merge with new code test=develop
* fix code style test=develop
* test=devleop
* test=develop
* test=develop
* test=develop
* add more ops to white_list test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* fix code_style: add comments test=develop
* test=develop
5 years ago
zhupengyang
5b282a8157
skip check_grad of TestHSigmoidOpSparse ( #21888 )
5 years ago
FDInSky
6b9fbcf3ad
Update iou_similarity op to support non-normalized bbox ( #21671 )
...
Update iou_similarity op to support non-normalized bbox
5 years ago