MRXLT
84d8e49de8
refine adam/strided_slice && fix doc for rmsprop/unstack ( #27740 )
...
* refine parameters order && doc
* update rmsprop doc
* refine adam/transpose/unstack/stride_slice
* fix bug && doc
* fix doc
* bug fix
* bug fix
* fix doc
* fix doc
* fix doc
* fix doc
* depercate old strided_slice
* update doc
* set default value for name
* update doc
4 years ago
tangwei12
e96fc6abb2
Fix/embedding doc ( #27816 )
...
* fix fluid doc
* fix fluid doc
* fix fluid doc, test=document_fix
* fix fluid doc, test=document_fix
4 years ago
joejiong
2bcb7c0a2f
Mutiply allows non-tensor data input ( #27690 )
...
Mutiply allows non-tensor data input
4 years ago
Jacek Czaja
55e63763ec
[oneDNN] adaptive pool support ( #27747 )
4 years ago
chen zhiyu
6335e6a0a6
add musl option ( #27798 )
4 years ago
GaoWei8
36bb056ed6
Add flattern weight of lstm ( #27192 )
...
* add flattern weight of lstm
4 years ago
zhupengyang
659d04df2c
hsigmoid -> hsigmoid_loss/HSigmoidLoss; refine docs ( #27745 )
4 years ago
LiuChiachi
b84d4ae31c
Fix bug of Model.save ( #27815 )
...
* fix model bugs, inputs can be InputSpec instance
* correct error message
4 years ago
hong19860320
f3e2580cf0
Fix the param of swish ( #27824 )
4 years ago
TeslaZhao
070ac9590c
Add double grad in Squeeze and Unsqueeze ( #27810 )
...
* Add double grad in Squeeze and Unsqueeze
* Add double grad in Squeeze and Unsqueeze
4 years ago
Jack Zhou
d4359b0f39
add the kunlun kernel for the paddle 2.0
...
Add xpu kernel for KUNLUN core:
* accuracy op
* sign op
* scale op
* sum op
Add default atol in xpu unittest.
4 years ago
LielinJiang
4676f03cbb
fix summary ( #27820 )
4 years ago
mapingshuo
840d54de9b
add XPU support for shape op and reshape op ( #27804 )
4 years ago
WangXi
0a1862d1d2
fleet combine amp dgc recompute meta optimizer ( #27643 )
4 years ago
cc
8fabb1c32f
Add test attribute in channelwise_quant op, test=develop ( #27742 )
...
* Add test attribute in channelwise_quant op, test=develop
4 years ago
tianshuo78520a
81d3992c47
Fix docker build error ( #27735 )
4 years ago
Chen Weihang
9b49f02441
Polish jit.save/load design & remove paddle.SaveLoadConfig ( #27623 )
...
* replace config by kwargs
* change save path form dir to prefix
* fix failed unittests
* revert unittest name change
* polish en docs
* add more tests for coverage
4 years ago
hong19860320
74d3a55072
Add Swish and ThresholdedReLU for API 2.0 ( #27758 )
4 years ago
wangxinxin08
ad99e638fd
add double grad op for matmul ( #27776 )
...
* add matmul doublegrad op
* fix compile errors
* modify code according to review
* delete float16
4 years ago
Wilber
c425cf1822
[API 2.0]Update 2.0 api from fluid to paddle ( #27802 )
4 years ago
Yiqun Liu
bf187c7577
Polish the documentation and examples of paddle.static.nn.fc. ( #27768 )
...
* Reimplement paddle.static.nn.fc, mainly change the parameters and English documentation.
* Polish the documentation format.
4 years ago
zhupengyang
0025e0d87b
refine APIs: brelu, hardsigmoid, hardswish, maxout ( #27658 )
4 years ago
zhupengyang
5098891fdf
add softmax xpu kernel ( #27700 )
4 years ago
Leo Chen
65c06141b6
disable_fuse_all_reduce ( #27746 )
...
* disable_fuse_all_reduce
* fix test
* fix ut
4 years ago
Double_V
f6ad2375be
fix pool3d bug, test=develop ( #27718 )
...
* fix pool3d bug, test=develop
* fix unitest, test=develop
* fix test and fix pool2d bug, test=develop
4 years ago
石晓伟
0d27591642
save operator version infomation to program desc, test=develop ( #27668 )
4 years ago
zhulei
00d401ec1a
Add api of constant in paddle.nn.initializer ( #27786 )
...
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
4 years ago
Li Fuchen
c4b1faa469
modified sample code of add_position_encoding to use paddle.randn, test=document_fix ( #27679 )
4 years ago
LielinJiang
d3b98f0d84
Fix dynamic parallel train mode for hapi ( #27787 )
...
* fix dynamic parallel for hapi
* fix code style
4 years ago
LutaoChu
b53970ee36
Fix cross, cumsum op docs test=document_fix
...
Fix cross, cumsum op docs
4 years ago
Feiyu Chan
c52b6bbfa9
add alias for RNN APIs from paddle.nn.layer.rnn explicitly ( #27784 )
4 years ago
Yiqun Liu
836ee3b0c8
Polish the english documentation and example of paddle.nn.Linear and paddle.nn.functional.linear ( #27759 )
4 years ago
liu zhengxi
061240b34a
remove beam_search and beam_search_decode api in paddle.nn ( #27660 )
4 years ago
zhupengyang
395cb561aa
refine logsumexp error message and docs ( #27713 )
4 years ago
Jacek Czaja
606611d351
[oneDNN] GRU BF16 kernel ( #27731 )
4 years ago
gongweibao
baddedfdf1
fix ut test=develop ( #27760 )
4 years ago
zhulei
6da552a22f
Update initializer examples of Bilinear ( #27709 )
4 years ago
FlyingQianMM
7ecbc465c1
reimplement paddle.nn.functional.sigmoid_focal_loss ( #27748 )
...
* reimplement paddle.nn.functional.sigmoid_focal_loss. test=develop
* fix reduction error message. test=develop
* fix exp. test=develop
* reset the shape of logit. test=develop
* delete disable_static in example. test=develop
4 years ago
Qi Li
994438b109
change clip grad api, test=develop ( #27767 )
4 years ago
LielinJiang
d84eb9b33f
keep network mode unchange when use summary api ( #27754 )
...
* keep summary mode unchange
* add no grad decorator
4 years ago
LielinJiang
b9c7c66ea5
add type promotion ( #27756 )
4 years ago
LielinJiang
9089841b6e
Fix bilateral inference shape bug ( #26822 )
...
* fix bilateral bug
4 years ago
wanghuancoder
6076d0a5df
modify doc for bilinear_tensor_product, test=develop ( #27613 )
4 years ago
Chen Weihang
bcc34724c2
polish api code & example ( #27696 )
4 years ago
wanghuancoder
c826bcb2ec
modify doc for ParameterList and LayerList ( #27609 )
...
* modify doc for ParameterList and LayerList, test=develop
* add empty line after code-block, test=develop
4 years ago
wanghuancoder
aaa3ee65e4
modify doc for unique_name.guard unique_name.generate unique_name.switch, test=develop ( #27605 )
4 years ago
wanghuancoder
7ca66f1e06
modify Sequential doc, test=develop ( #27608 )
4 years ago
wanghuancoder
7698e19928
modify doc for paddle.nn.Layer ( #27624 )
...
* modify doc for Layer, test=develop
* modify doc for Layer2, test=develop
* set dtype default value to float32, test=develop
* add example code for paddle.nn.Layer, test=develop
* set create_parameter and create_variable dtype default value to None, test=develop
* modify some example code, tet=develop
* refine, test=develop
* del no ues code, test=develop
* modify doc, example code, args, test=develop
* modify doc, test=develop
4 years ago
huangjun12
7793fd2877
add huber_loss to fix ci, test=develop ( #27766 )
4 years ago
huangjun12
de60c54938
fix doc and example code of huber_loss and npair_loss ( #27678 )
...
* fix huber_loss ans npair_loss doc and example code, test=document_fix
* remove disable_static in example code, test=document_fix
* remove huber_loss and refine npair_loss example code, test=document_fix
* remove huber_loss in functional/__init__.py, test=document_fix
4 years ago
Huihuang Zheng
9f3fb95b34
[Dy2stat] Add Simnet Test for V2 APIs ( #27460 )
...
Add Simnet Test for V2 APIs.
We used tool from https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-beta/guides/migration_cn.html#paddle1-xpaddle2-0beta to do v1.x to v2 transformation.
This PR pulled changes from #27430 , please DO NOT merge before #27430 is merged
4 years ago
joanna.wozna.intel
a90711c7a2
Add avx512 core instructions check 2 ( #27750 )
...
* Add test skip from cmake
* Remove print
4 years ago
Wojciech Uss
966447e338
Added support for quantization of fusion_gru ( #27518 )
4 years ago
joanna.wozna.intel
0cd4907eba
Add avx512 core instructions check ( #27732 )
...
* Add avx instructions check
* Small fix
* Change function name
* Change uint to unsigned int
4 years ago
ysh329
9cd86487cc
Fix api for ErrorClipByValue, code demo of clip_by_norm. test=develop ( #27654 )
...
* Fix ErrorClipByValue api and demo code of clip_by_value. test=develop
Co-authored-by: tianshuo78520a <707759223@qq.com>
4 years ago
123malin
54c368db1e
[API 2.0: doc] fix doc of nonzero ( #27685 )
...
* test=develop, update example
4 years ago
Leo Chen
69a3339aaa
Move dygraph amp api to paddle-2.0 ( #27681 )
...
* move dygraph amp api to paddle
* refine code and add unit test
4 years ago
LielinJiang
a0f1dba37f
Add visualdl callback function ( #27565 )
...
* add visualdl callback
4 years ago
pangyoki
9b3ef5979d
add categorical class ( #27695 )
...
* add multinomial cpu kernel
* fix C++ notype error
* fix windows ci array len error
* let array len be const
* change array to vector
* add cuda kernrl with num_distribution is 1, and not support replacement=False
* add multinomial python api
* support num_distribution different multinomial distributions
* add categorical class
* fix test_distribution enable_static error
* add unittest for different setting of Categorical
* optimize format
* little change
* little change
* add raise error if shape not match, optimize format
* fix windows CI dtype error in concat
* little changes
* little changes2
* change values type to int64
* change values type to int64
* change values type to int64
4 years ago
xiemoyuan
4d3eefbb95
Modify the docs for Transformer's APIs. test=document_fix ( #27729 )
4 years ago
Huihuang Zheng
ab85a8910d
[Dy2stat] Add Resnet Test for V2 APIs ( #27459 )
...
* Add test_resnet_v2.py test=develop
4 years ago
Wilber
488152a6d0
[API 2.0]Update 2.0 api from fluid to paddle. ( #27598 )
4 years ago
LielinJiang
7f9b198d59
Romove grid_sampler and refine example code ( #27649 )
...
* refine grid_sample and temporal_shift
4 years ago
danleifeng
a01bc6b31d
【paddle.fleet】fleet support non_distributed training in dygraph mode ( #27714 )
...
* fleet support non_distributed training in dygraph mode; test=develop
4 years ago
yaoxuefeng
e496640bf4
fix bmm enforce equal batch ( #27694 )
4 years ago
lilong12
742cbe6660
[bug fix] avoiding multiple initialization of gloo for fleet in dygraph mode ( #27706 )
...
* add double grad for expand, test=develop
4 years ago
hutuxian
a12071ab8a
add type check for initializer and regularizer in ParamAttr ( #27720 )
4 years ago
Qi Li
f373269df0
update histogram op for performance optimization, test=develop ( #24912 )
4 years ago
tianshuo78520a
4d5ddbf106
add xpu test ( #27622 )
...
* add xpu test
* notest;add kunlun_test
* notest;add kunlun_test
* notest;test=kunlun
* notest;test=kunlun
* notest;test=kunlun
* notest;test=kunlun
* test=kunlun
4 years ago
LiuChiachi
d15cbe70b2
Remove Input requirement in dygraph for Model ( #27557 )
...
* remove input requirment in dygraph Model
* correct unittest
* upadte save inference model in dygraph without input
* fix unittets for test_model.py
* solve conflicts
* solve conflicts
* delete http.log
* fix test_model.py bug, correct initialization of MyModel
* fix unittests bugs
* set paddle manual seed for unittest
* fix Model bugs, because inputs can be list or dict when it is provided.
* add random seed for test_export_deploy_model
* delete redundant codes, because calls
* Code optimization, error information optimization
4 years ago
liym27
3a8bef1d41
[Dynamic-to-Static] Refine 2.0rc assign: paddle.nn.functional.assign ( #27650 )
4 years ago
lijianshe02
295e87e428
fix dice_loss, log_loss doc and example code test=document_fix ( #27702 )
...
* update 2.0 API for dice_loss and log_loss test=document_fix
4 years ago
Peihan
8d68dd4785
Fix test_se_resnet unittest ( #27715 )
...
* fix test_se_resnet unittest
* fix test_se_resnet unittest
* add comments for decresing test_se_resnet precision
4 years ago
Qi Li
4d79304c09
update samples of print and clip api, test=develop ( #27670 )
4 years ago
ShenLiang
e262cb6293
fix the scatternd/scatterndadd ( #27634 )
...
* fix the scatternd/scatterndadd
* fix the doc of scatter
* replace rank with ndim
4 years ago
Huihuang Zheng
28f83f0519
[Dy2stat] Add Ptb Lm Test for V2 APIs ( #27461 )
...
As the title
4 years ago
Bai Yifan
b77d9f268e
migrate code example and doc ( #27627 )
...
* migrate code example and doc
4 years ago
pangyoki
7cd2c13f1b
add multinomial op ( #27219 )
...
* add multinomial cpu kernel
* fix C++ notype error
* fix windows ci array len error
* let array len be const
* change array to vector
* add cuda kernrl with num_distribution is 1, and not support replacement=False
* add multinomial python api
* support num_distribution different multinomial distributions
* add multinomial python api unittest
* change output dtype to int64
* fix coverage prob
* optimize format
* fix dtype of output error, should be int64_t
4 years ago
iducn
7c69e36131
add pip new requirements to windows ( #27697 )
...
* add pip new requirements to windows
* Increase the conditions that restrict system installation
4 years ago
Chen Weihang
53803202cc
add rename var in block ( #27705 )
4 years ago
yaoxuefeng
719309a80f
add note of large offset of trace test=document_fix ( #27693 )
4 years ago
yaoxuefeng
cefb49ab44
fix docs ( #27637 )
4 years ago
pangyoki
90eb5541d8
fix the precision problem of test_distribution ( #27524 )
...
* increase tolerance
* increase the difference between low and high
* change tolerance of Normal log_prob method
* change probs tolerance to 1e-4
* change tolerance of Normal kl method
4 years ago
ceci3
29d5937aaa
fix batch_norm doublegrad, test=develop ( #27703 )
4 years ago
Wojciech Uss
42d175385d
Add support for (de/re)quantization with shift ( #27481 )
4 years ago
littletomatodonkey
8da2b16d1a
fix reg ( #27647 )
...
* fix reg
* fix code example and doc
* remove disable_static
* fix doc
* fix l2decay
4 years ago
123malin
cc780b1977
test=develop, optimize geo communicator ( #26857 )
...
* test=develop, optimize geo communicator
4 years ago
lilong12
5132f5129d
terminate http server used by gloo for fleet after init ( #27698 )
4 years ago
Pei Yang
8a4f85feb9
Add unittests and OP version registry for quant_conv2d_dequant_fuse_pass ( #27689 )
4 years ago
Chen Weihang
dec53a9c79
Remove DataParallel.scale_loss & apply_collective_grads ( #27603 )
...
* remove data parallel scale loss & apply collective_grads
* move apply in minimize
* fix failed unittests
4 years ago
yukavio
7b46fb0f14
fix generate_proposals and affine grid error info ( #27636 )
4 years ago
yaoxuefeng
6d9ae66096
delete ExponentialMovingAverage in paddle/optimizer ( #27683 )
4 years ago
Chen Weihang
199da9689c
Polish api Program/CompiledProgram/ParallelEnv doc & code example ( #27656 )
...
* polish Program api doc & example
* polish CompiledProgram api doc & example
* polish ParallelEnv api doc & examples
* polish details, test=document_fix
* polish program doc details, test=document_fix
* polish details, test=document_fix
* fix note format error, test=document_fix
* add lost example, test=document_fix
* fix lost example, test=document_fix
4 years ago
Chen Weihang
b14ecb8632
Polish api BuildStrategy/ExecutionStrategy doc & code example ( #27662 )
...
* polish BuildStrategy api doc & example
* polish ExecutionStrategy api doc & example
* polish details
4 years ago
Huihuang Zheng
cc2fc93804
[Dy2stat] Refine Dy2stat APIs to 2.0rc ( #27430 )
...
Refine Dy2stat APIs to 2.0rc
After discussion, we accepted 3 key points from reviewers:
1. In 2.0rc we changed dygraph_to_static folder to dy2static
2. Keep the three files: convert_call_func.py, convert_operators.py, variable_trans_func.py
3. Remove convert_operators path when users import convert_xxx.
After this PR, users can import convert_xxx APIs by:
`import paddle.jit.dy2static.convert_xxx`
The file structure will be:
```
jit
dy2static
convert_operators.py
convert_func_call.py
variable_trans_func.py
```
Detail changed API in files:
In python/paddle/jit/dygraph_to_static/convert_call_func.py:
from ...fluid.dygraph.dygraph_to_static.convert_call_func import convert_call #DEFINE_ALIAS
In python/paddle/jit/dygraph_to_static/convert_operators.py:
from ...fluid.dygraph.dygraph_to_static.convert_operators import cast_bool_if_necessary #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_assert #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_ifelse #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_len #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_and #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_not #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_or #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_print #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_dtype #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_shape #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_while_loop #DEFINE_ALIAS
In python/paddle/jit/dygraph_to_static/variable_trans_func.py:
from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_fill_constant_node #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_static_variable_gast_node #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.variable_trans_func import data_layer_not_check #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable #DEFINE_ALIAS
from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable_gast_node #DEFINE_ALIAS
4 years ago
MRXLT
3baf561a90
reduce epoch ( #27661 )
4 years ago
Shang Zhizhou
6363a3362b
add paddle.enable_static() && random.seed(xx) to test_activation_op ( #27585 )
...
* add paddle.enable_static() to some testcase
* add seed to random in test_activation_op
* update a randomseed
* update a randomseed
4 years ago
Zhou Wei
6871e57b30
fix in_dynamic_mode of paddle,test=document_fix ( #27671 )
4 years ago
Huihuang Zheng
abb32bbccd
[Dy2stat] Fix lstm bug ( #27631 )
...
This PR fixed two bugs when converting LSTM in dy2stat:
is_unsupported has a condition can trigger Python syntax error
LSTM API's implementation in _rnn_static_graph doesn't include parameter initialization, which can cause dy2stat error.
4 years ago
furnace
b7b1ae865e
update mv op docs ( #27559 )
4 years ago
lilong12
bbc2add703
Initialize gloo for low level collective apis ( #27672 )
...
* add gloo initializer, test=develop
4 years ago
Huihuang Zheng
b7107c65a6
[Dy2stat] Fix test_yolov3 to Run Correctly on Win/Mac ( #27666 )
...
We decreased the batch size on CPU so that it can run correctly on Win/Mac machine, this may cause the delta to be larger. So I set larger delta value.
4 years ago
danleifeng
6ad72106f9
[API 2.0] Fix api 'is_empty' ( #27593 )
...
* fix is_empty api and code example; test=develop
4 years ago
LiuChiachi
ee13a2ab88
Add transformer generate square subsequent mask api ( #27651 )
...
* add transformer generate square subsequent mask api
* add dtype for input, update doc, use -np.inf
* add dtype for input, update doc, use -np.inf
4 years ago
Kaipeng Deng
3ccee08285
numpy -> paddle in conv & conv_transpose ( #27669 )
...
* numpy -> paddle in conv. test=develop
4 years ago
whs
ca2892019a
Add label smooth to functional package ( #27642 )
4 years ago
arlesniak
0ecf441af1
Add support for mkldnn ops types selection with FLAGS in dygraph ( #27482 )
...
* Add support for mkldnn ops types selection with FLAGS in dygraph
* use regex to match DNNL verbose
* python3 encoding fix
4 years ago
YUNSHEN XIE
e7b476c15d
disable ut test_parallel_executor_fetch_isolated_var,test=document_fix ( #27641 )
4 years ago
mapingshuo
c29aa8c40e
fix reshape doc, remove reverse api ( #27592 )
4 years ago
Qinghe JING
1539a23822
Fix bugs in hdfs download ( #27344 )
...
* set default value to strategy in distributed_optimizer test=develop
4 years ago
cc
07b01b0e90
[doc] Change docs of WeightNormParamAttr to dygraph model ( #27571 )
...
* Change docs of WeightNormParamAttr to dygraph model, test=develop, test=document_fix
4 years ago
Leo Chen
c7e0a8bebf
Remove inplace argument when calling nn.reshape() ( #27376 )
...
* remove inplace argument
* fix sample code
* fix sample code
4 years ago
Leo Chen
26b6169106
Refine initializer to support not passing block in dygraph mode ( #27612 )
...
* support not passing block
* fix NumpyArrayInitializer
* add unit test
4 years ago
Yang Zhang
0873644cfe
Remove alias for `l2_normalize` ( #27616 )
...
functionality provided by `normalize`
4 years ago
Feiyu Chan
e1f8617ee2
bugfix: RNN does not initialize the state for the cell correctly ( #27644 )
...
1. fix a bug that paddle.nn.RNN does not initialize the state for the cell correctly;
2. add unittest for paddle.nn.RNN and paddle.nn.BiRNN
4 years ago
Li Fuchen
5e4f01f5ef
modified sample code of add_position_encoding to 2.0 ( #27561 )
...
* modified sample code of add_position_encoding to 2.0, test=document_fix
* use core.op in add_position_encoding API.
* add test for add_position_encoding in dygraph mode
4 years ago
Zhang Ting
a4c25b2f34
use paddle.is_compile_with_cuda ( #27586 )
...
* modify doc
4 years ago
yaoxuefeng
780140599f
【paddle.distributed.fleet】add data_generator in distributed.fleet.dataset ( #27345 )
4 years ago
Zhang Ting
eb37ee2a26
modify docs of program API, test=document_fix ( #27600 )
4 years ago
lilong12
36c0410223
Revert "Initialize gloo for low level collective apis ( #27356 )", test=document_fix ( #27665 )
4 years ago
Zeyu Chen
aed0080181
Remove NLTK requirements to avoid dependency security alert from Github Dependabot. ( #27628 )
...
Remove NLTK requirements to avoid dependency security alert from Github Dependabot
4 years ago
Pei Yang
ae6e40a7fd
Add unittests and OP version registry for tensorrt_subgraph_pass ( #27544 )
...
* add unittests and op version register for tensorrt_subgraph_pass
* rename to test_trt_subgraph_pass.py
* fix softmax converter diff when padding dim=1
4 years ago
123malin
6822307745
test=develop, rm netifaces ( #27581 )
...
* test=develop, rm netifaces
4 years ago
wanghuancoder
c68a0313a5
add paddle.fluid._cuda_synchronize ( #27595 )
...
* add paddle.fluid._cuda_synchronize, test=develop
* fix bug about core_avx core_noavx, test=develop
* delete CPUPlace and XPUPlace, test=develop
4 years ago
Li Fuchen
516d84b22a
fix tests warpctc ( #27639 )
4 years ago
liym27
074a71bd25
Support assignment to a Variable in dynamic mode but not deal with backward. ( #27471 )
...
* Support assignment to a Variable in dynamic mode. Note: not deal with backward.
* Rewrite VarBase __setitem__ for high-performance.
* try to test 3 means to do __setitem__ and test the performance of 3 means.
* Retain the means of the highest performance: C++ code and don't trace op.
4 years ago
lilong12
fa73e4a284
Initialize gloo for low level collective apis ( #27356 )
...
* add gloo initializer, test=develop
4 years ago
Tao Luo
bf99bc4a62
update name_scope example code ( #27594 )
...
* update name_scope example code
test=document_fix
* refine name_scope doc
test=document_fix
4 years ago
WangXi
5641ea2bf6
Remove optimizer which in fleet, test=develop ( #27606 )
4 years ago
littletomatodonkey
68df20d2f2
fix pad2d example code ( #27615 )
...
* fix example code
* rename var to tensor
* remove static
* fix return type
4 years ago
Aurelius84
7c5162400f
[API 2.0]Migrate api example for gradients/append_backward/program_guard ( #27570 )
...
* modify sample code
* variable -> tensor
* migrate program_guard sample code
* refine error message
* migrate program_guard
* refine comment style
* fix indent
4 years ago
Dong Daxiang
4e8f18ab25
Get final strategy ( #27602 )
...
* add get final strategy for user to print final strategy
4 years ago
furnace
d01f626944
update mv op according PR#27024 ( #27474 )
4 years ago
YUNSHEN XIE
d1c2a3bc6f
disable ut test_warpctc_op,test=document_fix ( #27632 )
4 years ago
littletomatodonkey
6e41143ffe
remove paddle.metrics.cos_sim api ( #27569 )
...
* fix api alias
* remove cos_sim
4 years ago
whs
96daa2594e
Fix padding in conv1d op ( #27590 )
4 years ago
Li Fuchen
1501a80f74
add support to float64 input of warpctc op. ( #27399 )
...
* add float64 input to ctc_loss
* modified error message of warpctc
* update repo and tag of warpctc
* add test for warpctc with float64 input
* modified warpctc.cmake to make sure build always
* resolved sample code bug of warpctc
* add core.ops in warpctc dygraph
* fix a bug of test
4 years ago
liym27
3f170dd83d
[API 2.0] Fix example code of api 'switch_case' and add/delete alias ( #27578 )
...
* Fix example code of api `fluid.layers.switch_case` to use api2.0
* delete `paddle.nn.switch_case` alias and add `paddle.static.nn.switch_case`
4 years ago
Zhou Wei
c5b6e44b4a
fix cholesky of test_math_op_patch_var_base ( #27591 )
4 years ago
liym27
9b7ebf1099
[API 2.0] Fix example code of api 'case' and add/delete alias ( #27577 )
...
* Fix example code of api fluid.layers.case
* delete paddle.nn.case alias and add paddle.static.nn.case
4 years ago
QingshuChen
6b727e08b1
support elementwise add, activation, matmul on Baidu Kunlun ( #27143 )
...
* support elementwise add, activation, matmul on Baidu Kunlun
* test=kunlun
* minor
* test=kunlun
* reconstuct the xpu directory
* test=kunlun
* minor
* test=kunlun
* minor
* test=kunlun
* minor
* test=kunlun
* minor
* test=kunlun
* minor
* test=kunlun
4 years ago
Jack Zhou
d37b3774fd
register log double grad kernel for cpu and cuda
...
register log double grad kernel for cpu and cuda
4 years ago
Zhou Wei
162b4d6c13
remove to_variable from 2.0 ( #27528 )
4 years ago
Chengmo
0e101c4f6f
Fix test dist fleet heter ctr ( #27513 )
...
* fix test_dist_fleet_heter_ctr & peformance update
4 years ago
Double_V
42065ba37a
fix activate_nn_grad, test=develop ( #27555 )
4 years ago
Double_V
b9d739a7ea
fix pool bug, test=develop ( #27537 )
...
* fix pool bug, test=develop
* fix coverage,test=develop
* fix bug, test=develop
4 years ago
gongweibao
86fa043205
init test=develop ( #27554 )
4 years ago
Chen Weihang
ecfdfc9c58
fix guard place set error ( #27573 )
4 years ago
joanna.wozna.intel
b0ee1405f7
Add conv2d bfloat16 support ( #27325 )
4 years ago
LielinJiang
b38e4f2840
Refine vision models ( #27476 )
...
* refine vision models
4 years ago
Leo Chen
0b4bb023a7
Add static mode check on data() ( #27495 )
...
* add static check on data()
* follow comments
* fix ut
4 years ago
Thunderbrook
6f69a4cb05
add xpu in heter mode ( #27000 )
...
* add xpu in heter mode
test=develop
* BOOST_CONST_GET; PADDLE_THROW
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* refine
test=develop
* refine
test=develop
* refine
test=develop
* refine code
test=develop
4 years ago
ceci3
8daccc9ea7
Fix batch norm double grad compute ( #27549 )
...
* fix bn double grad, test=develop
* update, test=develop
4 years ago
Chen Weihang
c143326df5
try to fix test_paddle_save_load unknown timeout ( #27536 )
...
* try to fix paddle save load test
* open paddle save load
* replace dataloader
* remove dataloader
4 years ago
ShenLiang
6fc74bbaf6
add fp16 for matmul ( #27523 )
...
* add fp16 for matmul
4 years ago
Zhong Hui
fab4e6d08f
add abs support double grad
...
add abs support double grad for the api 2.0
4 years ago
Shang Zhizhou
77a36f8997
[buf fix]:fix some unittests error ( #27540 )
...
* [buf fix]:fix unittest test_activation_op error
* split long-time unittests to smaller ones
* rename some unittests
4 years ago
zhang wenhui
6e16a0997c
fix unittest_group_norm_op_v2, test=develop ( #27486 )
...
* fix unittest_group_norm_op_v2, test=develop
* fix unittest_group_norm_op_v2, test=develop
4 years ago
Chen Weihang
dd04b160d9
fix test imperative se resnext failed ( #27538 )
4 years ago
WangXi
e550fc02ae
fleet2.0 add fp16 grad compression ( #27480 )
4 years ago
cc
c5c13473c6
Add compatibility check for four mkldnn pass ( #27364 )
...
* Add pass compatibility check for four mkldnn pass, test=develop
4 years ago
Leo Chen
41a7ce8347
fix random failure of test_buffer_sahred_memory_reuse_pass ( #27551 )
4 years ago
Kaipeng Deng
8473ee9dae
make places of DataLoader optional. ( #27432 )
...
* make places of DataLoader optional. test=develop
4 years ago
Wilber
3d5522146e
register seq_concat_fc_fuse pass. ( #27479 )
4 years ago
123malin
32ad4f90a4
【paddle.fleet】 Usages Change: from fleet.util() to fleet.util ( #27468 )
...
* test=develop, bug fix
4 years ago
Huihuang Zheng
273f58a3c5
Decrease Random Failure Probability for test_parallel_executor_mnist, test=develop ( #27498 )
...
As the title, decrease random failure probability for test_parallel_executor_mnist
The old code set larger delta when comparing reduce and all reduce, but didn't set all. I added it.
On my linux machine, I run 100 times, no failure occurs. In addition, we only saw this random failure on CI two times since I worked. I thought it was rare and I just increased the delta.
4 years ago
Chen Weihang
59c049995e
change test main process wait time ( #27516 )
4 years ago
YUNSHEN XIE
b6ecf35627
disable test_paddle_save_load,test=document_fix ( #27534 )
4 years ago
Guo Sheng
081fb2f963
Remove dependency on nltk for paddle __init__. ( #27388 )
...
* Remove dependency on nltk for paddle __init__.
test=develop
* Remove nltk.movie_reivew sentiment dataset to remove dependency on nltk.
test=develop
4 years ago
Chen Weihang
f2c97b6da5
replace dataset with fake data ( #27519 )
4 years ago
LielinJiang
78a27a2b0d
Reproduce summary api ( #27367 )
...
* reproduce summary api
4 years ago
Aurelius84
fc9d80bc9e
[Dy2Stat]rename StaticLayer into StaticFunction ( #27487 )
...
* rename StaticLayer
* rename
4 years ago
Zhou Wei
5c8fdb5926
Fix GradientClipByGlobalNorm dtype bug ( #27437 )
...
* fix dtype of gradientclipbyglobalnorm
* fix dtype bug of GradientClipbyGlobalnorm
4 years ago
tangwei12
c0caf0e45f
fix ut for static graph ( #27506 )
4 years ago
YUNSHEN XIE
66951ab2ea
modified timeout value for 4 ut ( #27462 )
4 years ago
Chen Weihang
bb84f0e646
Add new paddle.save/load APIs ( #27331 )
...
* init commit of new save/load
* fix failed unittests
* fix save_load_v2 unittest failed
* fix failed unittest & polish doc
* add tests for coverage
* add more tests & move static apis
* fix example code error
* polish emample code
* fix detail example code problem
4 years ago
YUNSHEN XIE
19a58b3d5d
disable ut test_vision_models and test_pretrained_model,test=document_fix ( #27502 )
4 years ago
Zhou Wei
1e1ae5c54d
Make the Bind Method of Tensor more automatic ( #27270 )
...
* Makes the Bind Method more intelligent
* Makes the Bind Method more intelligent
* fix unittest
* fix unittest
* fix conflict
4 years ago
LutaoChu
5508c78744
Fix bug: The calculation result of Diag_v2 Op under large size input is wrong ( #27447 )
...
The calculation result of Diag_v2 Op under large size input is wrong
4 years ago
tangwei12
bc5f0246a8
large scale kv speedup ( #26510 )
...
* rename communicator meet->BatchesCounter
* fix parame recv for sparse
* geo sparse init from pserver
* optimize init from pserver
* add large scale optimizer fuse(SGD/ADAM)
* rectification init_worker and exe.run startup program
4 years ago
Qi Li
d7b7dcd10e
fix cmake dependencies of test_recognize_digits, test=develop ( #27475 )
4 years ago
cc
43240a1b81
[doc] Add example for cache and buffered ( #26819 )
...
* Add example for cache and buffered, test=develop, test=document_fix
4 years ago
Zhang Ting
906e7f921e
add fuse_bn_act op ( #27230 )
...
* add fused_bn_add_relu op
4 years ago
Wilber
5034d181f3
update for 2.0 inference api. ( #27473 )
4 years ago
danleifeng
0721767ba9
fix server_num bug;test=develop ( #27442 )
4 years ago
wangchaochaohu
76fb95fe76
avoid data transform for linspace OP ( #27444 )
4 years ago
pangyoki
827ac36faa
Use dygraph mode by default ( #27443 )
...
* default open dygraph mode
* fix CI-Mac
* fix Mac-CI other unittest file
* fix CI-Py3
* fix test_communicator_geo and test_buffer_shared_memory_reuse_pass
* add enable_static to fix CI-Py3
* add enable_static to fix CI-coverage
* delete try except
4 years ago
wangchaochaohu
0a862fd356
refine the precious of linspace Op using half way ( #27452 )
4 years ago
danleifeng
905e2346ac
add endpoints log;test=develop ( #27439 )
4 years ago
Aurelius84
7ba6279a25
[Dy2stat] Refine error msg of @to_static if not in imperative mode ( #27371 )
...
* refine error mesg
4 years ago
Kaipeng Deng
18f2ea66bd
remove paddle.readers API ( #26727 )
...
* remove paddle.readers API. test=develop
4 years ago
Zhong Hui
f4c750d721
Add the cpu version of segment sum mean max min op
...
Add the cpu version of segment sum mean max min op
4 years ago
guofei
3fe176df35
Fix test_gast_with_compatibility.py due to the problem of gast in python3.8 ( #27433 )
...
test=develop
4 years ago
furnace
13a4c74efd
add mv op(c++, python, unit test) ( #27024 )
4 years ago
LutaoChu
f11a53ee76
Optimize argsort Op performance on GPU
...
* argsort op acceleration on GPU when the input size is equal to the length of the ‘axis’ dimension
4 years ago
ceci3
1d3b27cae8
add double grad compute for batch norm ( #27296 )
...
* add double grad compute for batch norm,test=develop
* fix unittest, test=develop
* remove unuse tensor,test=develop
* add format,test=develop
* update, test=develop
4 years ago
Kaipeng Deng
4bd7aa2566
use paddle.get_default_dtype in vision datasets. test=develop ( #27426 )
4 years ago
danleifeng
fc61efd736
fix port env bug(int);test=develop ( #27405 )
4 years ago
Double_V
e217e965a9
fix pool bug ( #27366 )
4 years ago
Shang Zhizhou
d93661942e
fix bug sequececonv_eltadd_relu_fuse_pass ( #27404 )
...
* fix bug sequececonv_eltadd_relu_fuse_pass, output error when sequence_conv's padding_start > 0
* fix seqconv_eltadd_relu_fuse_pass unitest error
4 years ago