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
Leo Chen
aba759ba16
[Feature] Enhance inplace addto strategy for gradient accumulation in static graph ( #27112 )
...
* support use add instead of sum to do gradient accumulation
* add inplace addto pass
* add grad_add op and inplace addto pass
* remove debug code
* code refine
* fix bug when sereral sum ops inserts at same op_idx
* fix Flags type
* add addto attribute for conv3d
* fix ut
* code clean
* fix type
4 years ago
LutaoChu
669efb98de
Fix bug: shapes of Topk outputs are wrong when the parameter k is Tensor
...
Fix bug: shapes of Topk outputs are wrong when the parameter k is Tensor
4 years ago
Wilber
39546aa2f3
Add pass compatible and unit test. ( #27377 )
4 years ago
huangxu96
02606d45ef
Quant op dev ( #25932 )
...
* Finished ChannelWiseQuantDequantAbsMaxOp and Passed unittests.
* Finished channel-wise quantize strategy in imperative quantization.
* Added Cuda code of ChannelWiseQuantDequantMaxAbsOP
Add Cuda code of ChannelWiseQuantDequantMaxAbsOp
* Add quant_axis for channel_wise quant.
* fixed a bug in unnitests, which will not trigger axis = 1 case and cannot meet the coverage rate requirement.
* Added some assert infomation and fixed some coding style mistakes.
4 years ago
guofei
aa7835efee
Correct the error in decorator.py ( #27409 )
...
test=develop
4 years ago
Kaipeng Deng
f3b4a64add
fix CIFAR MNIST UCIHousing dataset. test=develop ( #27368 )
...
* fix CIFAR & MNIST dataset. test=develop
4 years ago
MRXLT
f936adbd2d
fix adam ( #27343 )
...
* fix adam
* rmsprop support double
4 years ago
tangwei12
d6b54de467
【paddle.fleet】Fix/role maker api fix ( #27326 )
...
* fix fleet util and gloo
* fix worker endpoints
* fix
* fix UT
* fix gloo
* fix gloo
* update gloo
* update gloo
* update gloo
* update gloo
* update gloo
* fix gloo wrapper for hdfs
* add file gloo and UT
* fix UT
* fix UT
* fix UT
* hide public method of RoleMaker
* fix UT
* GPU fleetrun support gloo
* parameterserver fleetrun support gloo
* add UT
* add UT
* fix UT
* fix get server endpoint
* fix get server endpoint
* fix UT
* hide public method of rolemaker
* hide public method of rolemaker
* hide public method of rolemaker
* Update test_fleet_rolemaker_new.py
* hide public method of rolemaker
* hide public method of rolemaker
4 years ago
tangwei12
99626502f7
【paddle.fleet】gloo and util ( #27213 )
...
* fix worker endpoints
* fix gloo wrapper for hdfs
* GPU fleetrun support gloo
* parameterserver fleetrun support gloo
* fix get server endpoint
4 years ago
liu zhengxi
4c5cfdea1b
fix paddle.nn.Transformer api ( #27391 )
4 years ago
Pei Yang
fd7ab4e63c
register pass compatibility ( #27357 )
...
* pass compatibility
* add compatibility registry
* add unittests for different padding
* add assert
* drop errmsg
4 years ago
haozech
7e6dfcf9b2
Add 3 pass version check ( #27283 )
4 years ago
LielinJiang
03b0e0c42b
Remove dependences of cv2 ( #27286 )
...
* rm dependence of cv2
4 years ago
chajchaj
fef94eac4e
fix cross_entropy bug of the axis parameter in log_softmax ( #27311 )
4 years ago
Zhen Wang
d28162b97f
Remove save_quantized_model in ImperativeQuantAware. ( #27240 )
4 years ago
liym27
ac82baa80d
[Dy2Stat-log] Add feature also_to_stdout and optimize log messages ( #27285 )
...
* Add env value to log to stdout; 2.Add logger name
* Optimize log messages in dygraph-to-static
* Replace logging.warn and warnings.warn with logging_utils.warn
4 years ago
Shang Zhizhou
3c11717988
add op version checker to ir passes ( #27329 )
4 years ago
furnace
515efe4240
add empty_like op (python, and unit test), use c++ implementation of empty op, ( #27287 )
...
and optimize the c++ implmentation of empty op as PR#26659 reviews,
and add bool for shape op.
4 years ago
123malin
f36b9a7f79
【Fleet2.0 Util】 add documents ( #26698 )
...
* test=develop, util documents
4 years ago
guofei
bcb4a583aa
Replace the 'spawn' start method with 'fork' start method for multiprocessing, on MacOS with python>=3.8 ( #27317 )
...
* Replace the 'spawn' start method with 'fork' start method for multiprocessing, on MacOs when python>=3.8
test=develop
4 years ago
Jack Zhou
63203c4abc
enhance reduce op which can reduce tensor with arbitrary rank
...
enhance reduce op which can reduce tensor with arbitrary rank
4 years ago
LiuChiachi
69279207eb
Update hapi.model._save_inference_model by using new features of dy2stat in 2.0-beta API ( #27272 )
...
* update model.save_inference_model
* update doc for _save_inference_model, delete useless class in unittests
* make users not be able to set model._inputs be None
* update usage of Model class in unittests
* fix bugs of _verify_spec
* fix bugs of _verify_spec
* add unittest to increase coverage rate
* delete http.log
* update doc for save, remove requirments and limitations for using
* update doc for class Model
4 years ago
YUNSHEN XIE
f0a5eef58f
cancel three disable ut ( #27359 )
4 years ago
YUNSHEN XIE
25902b2c12
del exclusive ut which name with test_dist_ ( #27316 )
4 years ago
ShenLiang
9ee77b1f41
Fix elementwise_floordiv op ( #27352 )
...
* fix floordiv
4 years ago
Zhou Wei
7d7f0fad7f
python for windows not install netifaces ( #27355 )
4 years ago
guofei
9bea834ed4
Refine the unittest to support py38 ( #27208 )
...
* Refine the unittest to support py38
test=develop
4 years ago
Zhou Wei
a7fadce82f
fix dll load bug on windows from python3.8 ( #27324 )
4 years ago
Huihuang Zheng
d4b4357bc0
[Dy2stat] Change the Global Switch Name of ProgramTranslator for API 2.0 ( #27203 )
...
Change ProgramTranslator.enable_declarative to ProgramTranslator.enable_to_static to meet API 2.0
4 years ago
danleifeng
8d05c00c67
fix paddle.fleet en-doc for apis in dynamic mode ( #27354 )
...
* fix fleet dynamic-mode en-doc;test=develop
4 years ago
ShenLiang
746a8ded29
fix comment of adaptive lsgd ( #27362 )
4 years ago
wanghuancoder
bf8e030eed
modify test_imperative_using_non_zero_gpu from use two gpus to one gpu ( #27348 )
...
* add op_function_generator.exe retry in windows, test=develop
* modify test_imperative_using_non_zero_gpu from use two gpus to one gpu, test=develop
4 years ago
Leo Chen
189e10f1dd
Remove unnecessary requirements ( #27341 )
...
* remove objgraph
* remove graphviz
* fix ut
4 years ago
gongweibao
11bcf0e21c
Cleanup redundant code files ( #27319 )
4 years ago
ShenLiang
54b81fa32c
add adaptivelsgd in meta_optimizer ( #27289 )
...
* add adaptivelsgd
* Todo fix the code to avoid the conflict.
4 years ago
Yibing Liu
34091533c9
Fix bug in continuous apply, test=develop ( #27337 )
4 years ago
Chen Weihang
c23f09fea6
Support load state_dict from save_params/persistables ( #27298 )
...
* support load state_dict from save_params/persistables
* remove failed unittest
* add load eof check & unittest
* remove eof check
4 years ago
yaoxuefeng
c67c391682
refine fleet dataset class api ( #27133 )
4 years ago
ShenLiang
c296618c94
fix error message in broadcast/allreduce/gather ( #27302 )
...
* fix error message
4 years ago
Chen Weihang
950301bfa1
Add input_spec & output_spec for TranslatedLayer ( #27284 )
...
* add input_spec & output_spec for translated_layer
* update error message
4 years ago
littletomatodonkey
18fc927562
add regularizer api ( #27292 )
4 years ago
YUNSHEN XIE
8fe1c2d1c2
move three ut to execute only at night ( #27314 )
4 years ago
Zhen Wang
ef6dd6b8e6
fix the test_fleet_lars_meta_optimizer ut. ( #27291 )
4 years ago
danleifeng
389a9a7e0e
fix ports conflict when use paddlecloud to launch analogue multi-nodes ( #26191 )
...
* fix ports conflict when launching multi-nodes in paddlecloud;test=develop
* add DISTRIBUTED_TRAINER_ENDPOINTS env for cloud;test=develop
4 years ago
mapingshuo
9dedafa0df
fix strategy, test=develop ( #27323 )
...
* fix strategy, test=develop
* fix can_apply
4 years ago
chalsliu
c8e54c5e42
Disable unit-test test_fleet_rolemaker_new
4 years ago
Shang Zhizhou
47fdc60ecc
Optimize slice trt plugin ( #26970 )
...
* optimize slice TRT plugin
This patch removes unnecessary barrier for data transfer of needed offset,
so data transfer can be overlap with GPU kernel execution.
This patch also fixes incorrect name of slice plugin. That is, replaces
"layernorm" with "slice"
test=develop
* add serialize/deserialize to slice plugin
* add static shape slice trt plugin
* fix slice trt op convertor dynamic shape bug
* fix format by clang-format
* fix pylint format error
* fix problems commented by peiyang
Co-authored-by: Ryan Jeng <rjeng@nvidia.com>
4 years ago
Wilber
f827665ae6
[Pass Compatible] Bind python compatible. ( #27262 )
4 years ago
Shang Zhizhou
e6e2e53782
Optimize error report ( #27254 )
...
* optimize errror report
* add test case for pad op converter
* fix some spelling mistake commented by peiyang
4 years ago
GaoWei8
ee1ed42c99
change sequence length attribute to input ( #27193 )
...
* replace sequence length attr to input
4 years ago
cc
2d8281d5ad
Remove the cache in post_traning_quantization, test=develop ( #26450 )
...
* Remove the cache in post_traning_quantization, test=develop
4 years ago
YUNSHEN XIE
6947a58a1f
disable three unittests,test=document_fix ( #27299 )
4 years ago
zhupengyang
ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid ( #27277 )
4 years ago
lilong12
bc3e9ba1c6
check the validation of parameters for expand and tile apis ( #26816 )
...
* bug fix, test=develop
4 years ago
LielinJiang
a685435962
fix conv depthwise bug ( #27278 )
...
Fix conv deepwise bug when in_channels=1.
4 years ago
xiaoting
d4f03dfb71
fix for tuple,test=develop ( #27190 )
4 years ago
MRXLT
9166307315
add check for sparse parameters with weight_decay ( #27141 )
...
* add check for sparse parameters with weight_decay
* move sparse check to adam.py
4 years ago
Chen Weihang
8d53172794
move DataLoader._worker_loop to top level ( #27247 )
...
* move worker loop to top level
* move reader process loop to top level
* fix failed unittests
4 years ago
Zhen Wang
d708b21074
Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. ( #26240 )
...
* update amp_check_finite_and_scale_op for static_amp.
* use amp_check_finite_and_scale in static graph amp.
* update grads to zero when grads own infinite values(as for amp_checkout_finite_and_scale op).
* add update_loss_scaling op in cpp.
* add update_loss_scaling_op unit test.
* update the doc of the check_finite_and_unscale op
* Update the process of gradients updating skipping if the gradients have infinite values.
* update the way to zero grads.
* update test_update_loss_scaling_op.py
* add log info when find infinite grads.
* add the unit test for UpdateLossScaling Layer.
4 years ago
ShenLiang
2b6a5793fe
remove auto mode from localsgd optimizer ( #27237 )
...
* rm auto from localsgd
4 years ago
Adam
cc3f4b813a
Add int8 GRU kernel ( #27220 )
...
* Add int8 GRU kernel with UTs
* Lint fixes
* More lint fixes
4 years ago
Leo Chen
19228bd142
Temporally disable zero_copy ( #27248 )
...
* temporally disable zero_copy
* add test
* follow comments
4 years ago
Leo Chen
f402d8d8c0
fix bug when axis is a tensor with more than 1 element ( #27263 )
4 years ago
Aurelius84
20a84820fd
fix unused var with zero gradient bug in fluid.gradient ( #27246 )
...
* fix calcu_gradients
* fix code place
* fix embedding interface usage
4 years ago
Chen Weihang
33ff833af2
fix loaded no params layer run error ( #27241 )
4 years ago
liym27
3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. ( #27225 )
4 years ago
Chen Weihang
ac8afe184e
use structured name in loaded dict ( #27242 )
4 years ago
Aurelius84
5e0dde02b2
[Dy2stat] support usage: to_static(model) ( #27040 )
...
* support to_static(model)
* add warning and unittest
4 years ago
furnace
2e59769612
add empty op (c++, python, unit test) ( #26659 )
4 years ago
Zhen Wang
b671538623
* Reduce the training iterations in test_fetch_unmerged and test_fuse_bn_act_pass. ( #27234 )
...
* Use the single GPU card to execute the test_fuse_bn_act_pass UT.
4 years ago
Zhen Wang
ece74c4cd4
Update the _get_fake_quant_type definition in imperative QAT. ( #27222 )
4 years ago
lilong12
c5f957ae38
add double grad for tile op and expand_v2 op ( #27114 )
...
* add double grad for tile, test=develop
* add double grad for expand_v2 op, test=develop
4 years ago
lilong12
58a88ba9af
add double grad for expand ( #27183 )
...
* add double grad for expand, test=develop
4 years ago
Chen Weihang
5406b014c0
Refine jit.save implement to adapt InputSpec using cases ( #26959 )
...
* add some unittest cases ot verify jit.save, no_test
* add more unittests
* add test with example inputs
* polish implement details
* remove useless blank
* fix fetch random error
4 years ago
ShenLiang
5bd84b22c4
revert divide ( #27202 )
4 years ago
123malin
60c3ef3ab8
【paddle.fleet】parameter_server_optimizer support auto_strategy ( #27181 )
...
* parameter_server_optimizer support auto_strategy
4 years ago
wawltor
fde5cfe881
fix the CudaPinMemory bug for the equal op ( #27176 )
...
fix the CudaPinMemory bug for the equal op and add the test case for the equal op
4 years ago
liym27
d3874ab44a
Move unittest test_optimizer_in_control_flow from CI multi_cards. ( #27185 )
4 years ago
Huihuang Zheng
40dd563dd7
Decrease test_parallel_executor_crf CI time, test=develop ( #27212 )
...
Decrease the number of running iterations to reduce CI time.
CI system shows it decreased the unittest time from about 90 seconds to about 30 seconds
4 years ago
zhupengyang
cc3306f7c8
restruct logsumexp to speed up compiling ( #27191 )
4 years ago
JZ-LIANG
5d039f4086
modified the implement of Lars optimizer ( #26733 )
...
add lars to fleet meta optimizer
4 years ago
liym27
a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 ( #27201 )
4 years ago
Dong Daxiang
f7d08b7db8
【paddle.fleet】refine launch and distributed repr string for print ( #27093 )
...
* refine launch and distributed repr string for print
4 years ago
Qinghe JING
43b0445b29
Add double grad in reduce sum ( #27115 )
...
* set default value to strategy in distributed_optimizer test=develop
4 years ago
iducn
c60352b3d4
update requirements ( #27172 )
...
* update requirements.txt
* add unittest_py directory and add new requirements.txt file,test=document_fix
* add unittest_py directory and add new requirements.txt file,test=document_fix
4 years ago
tangwei12
ca6100de5f
disable ut, fix it @malin ( #27200 )
4 years ago
liym27
3497fbe473
Use paddle.disable_static() to replace with dygraph.guard(). ( #27139 )
4 years ago
Aurelius84
252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name ( #26997 )
...
* Add naming rule if not specific InputSpec.name
* fix function name typo
* refine comment
* remove print statement
4 years ago
yongqiangma
4558d395e9
fix Norm op error ( #26771 )
...
* fix frobenius_norm error, rm p=0 2-axis support. test=develop
4 years ago
LielinJiang
4d7d661249
Fix kl and summary bug ( #27132 )
...
* fix summary rnn
* fix kl_div bug when input shape is [1] and reduction is batchmean
4 years ago
Double_V
c7b9d97fa9
fix avg_pool3d count_include_pad as True,test=develop ( #27155 )
4 years ago
whs
eb01976037
[2.0 API]Add checker in grid_sample_grad op ( #27126 )
4 years ago
wangguanzhong
a28ae86e11
Enhance ops to support LoD as input for dygraph detection models. ( #25316 )
...
* enhance collect_op for dygraph, test=develop
* enhance detection ops with lod, test=develop
* support none bbox left in generate_proposals, test=develop
* unfiy MultiLevelRoisNum, test=develop
* update core.ops, test=develop
* add op register for new input & output, test=develop
4 years ago
yaoxuefeng
0dab0fc23c
add back triu in fluid ( #27135 )
4 years ago
123malin
f2d68d3ed5
【paddle.fleet】parameter_server_optimizer support auto_strategy ( #26838 )
...
* test=develop, add ps auto
4 years ago
Chen Weihang
4c70e31ab5
add save load to jit.all ( #27131 )
4 years ago
LielinJiang
8df5b4d608
Add correlation api to contrib ( #27015 )
...
* add correlation api to contrib
4 years ago
tangwei12
5dec254be5
fix weight ( #26986 )
...
* fix weight
* fix weight and fix doc
* fix embeeding padding idx
* add UT
* fix interval
4 years ago
yinhaofeng
dc00bd67ff
delate some wrong message test=develop, test=document_fix ( #26595 )
...
* delate some wrong message test=develop, test=document_fix
* delate some wrong message
4 years ago
Leo Chen
d6ee0868a4
fix unsqueeze in dygraph ( #27107 )
...
* fix unsqueeze in dygraph
* add test
* add test
4 years ago
xiaoting
58f3ef982a
fix typo for interp_v2,test=develop ( #26843 )
...
* fix typo for interp_v2,test=develop
* align with torch, test=develop
* add area mode, test=develop
* fix bug, test=develop
* format notes, test=develop
* update for converage, test=develop
* fix bilinear, test=develop
* fix bicubic, test=develop
* fix typo, test=develop
* fix coverage, test=develop
* fix helper.input_dtype, test=develop
* polish notes, test=develop
* polish notes, test=develop
* polish notes, test=develop
4 years ago
ceci3
54d8424e93
[2.0API] fix weight_norm support negative dim and unittest in convert_syncbn ( #27108 )
...
* fix 2.0api, test=develop
* fix, test=develop
4 years ago
ShenLiang
aca450f6fb
fix the localsgd optimizer ( #27094 )
...
* fix the localsgd
4 years ago
Chen Weihang
c1a8868732
Change jit.save/load configs to config & update code examples ( #27056 )
...
* change configs to config & update examples
* fix deprecate decorator conflict
4 years ago
Dong Daxiang
0443b480b8
【paddle.fleet】add auto parallel L1 implementations ( #27090 )
...
* add auto parallel L1 implementation
test=develop
4 years ago
wangchaochaohu
5af81f833c
fix gpu kernel for numel Op ( #27085 )
4 years ago
wawltor
39d5bb6dce
udpate the dtype check for the argmin, argmax
...
fix the bug for dtype check for the argmin/argmax
4 years ago
guofei
3a02424a4e
Refine the error of test_dynrnn_static_input ( #27084 )
...
test=develop
4 years ago
Wilber
632125415c
Refine python inference api ( #26958 )
4 years ago
Sylwester Fraczek
eb65877ce0
fix dimensions error for mobilenetv1_KL_quant ( #26776 )
...
* fix dimensions error for mobilenetv1_KL_quant
fixes AssertionError: The size of weight scales vector (1000) does not match the number of output channels (1024) in the weights tensor fc7_weights.
add mul test
* remove comment
* add third case unit test
4 years ago
wawltor
24ec5175ab
remove the dependence of matplotlib in dataset of uci_housing
...
remove the dependence of matplotlib in dataset of uci_housing
4 years ago
pangyoki
f0b26313d8
fix _check_values_dtype_in_probs method in Distribution class ( #27046 )
4 years ago
GaoWei8
4ff16eb201
Add padding cudnn interface ( #26370 )
...
* add lstm cudnn of padding data and refine cudnn codes
4 years ago
Aurelius84
35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer ( #26987 )
...
* add descriptor cache
* fix self arugments
* deal case if instance is None
* clean code
* fix usage
4 years ago
Chen Weihang
9373cf5ae4
Add TranslatedLayer.program method to get program ( #26961 )
...
* add TranslatedLayer.program method
* add unittests & update example code
* polish example code
* update program api example code
4 years ago
wawltor
8857e3911f
add the dynamic dtype check for the argmin/argma
...
update the check for the dtype check for the argmin, argmax
4 years ago
wangchaochaohu
041f4ab842
refine linspace Op for dtype setting( #27071 )
4 years ago
Yang Zhang
92530ca445
Fix clip output var dtype ( #27029 )
4 years ago
wangchaochaohu
c3b314c373
refine the error of message test=develop ( #27067 )
4 years ago
zhupengyang
2f97ecdd74
fix normal ut by set manual_seed ( #27028 )
4 years ago
wangchaochaohu
8fa3d367ed
Remove "TypeError" from some files as required ( #27019 )
4 years ago
Chengmo
a72752263b
support heter-xpu-ps ( #27018 )
...
support heter-xpu-ps
4 years ago
AshburnLee
d843706230
add shape check for fill_constant OP and remove doc of type error ( #26919 )
4 years ago
whs
2660ea379d
Fix cuda kernel of affine grid ( #27003 )
...
test=develop
4 years ago
pangyoki
a0c98e67a6
fix dtype not matching bug in log_prob and probs method of Distribution class ( #26767 )
...
* fix _to_tensor method of Distribution class
* Add unittest
* let dtype be consistent with value in log_prob and probs
* fix format
* fix dtype problem and change unittest
* fix dtype of Numpy class in unittest
* add formula for entropy and kl
* change formula
* fix kl formula format
* fix kl formula format 2
* change gt to np in unittest
* optimize unittest format
* delete dumplicate
* delete dumplicate 2
* extract common function used to convert dtype value
4 years ago
LielinJiang
f95e8ffc90
Fix conv and summary api bug ( #27023 )
...
* fix conv output_size has no default value bug
* fix summary bug
4 years ago
Double_V
0dfe26d069
add pool unittest ( #26949 )
4 years ago
arlesniak
8aebcabf34
Test for passing global env FLAGS_use_mkldnn ( #26938 )
4 years ago
zhang wenhui
21565e8d85
fix batchnorm ,test=develop ( #26972 )
4 years ago
Aurelius84
695bfb0765
reduce repeat time of Predictor ( #27011 )
4 years ago
liym27
54427b8030
[Api2.0] sum: bug fix - support attr(dtype) is float32 or int32 and add ValueError ( #26946 )
4 years ago
ShenLiang
ff3dc8ac73
fix the remainder ( #26995 )
4 years ago
Zhou Wei
352ac149ee
update doc of paddle.to_tensor ( #26820 )
...
update doc of paddle.to_tensor
4 years ago
MRXLT
72f6e566be
fix sample code ( #26962 )
4 years ago
pangyoki
46057dd2ac
change uniform_random to uniform and optimize function names in unittest for random ops ( #26951 )
...
* fix unittest format and extract common function
* change function name
4 years ago
yaoxuefeng
7f3e6ca596
add cuda generator ( #26786 )
4 years ago
Chengmo
c4846196b8
fix Heter Ps multi thread ( #26876 )
...
* fix heter-ps multi thread
4 years ago
huangjun12
fcb2ac6001
fix alpha dropout bug when p=1, test=develop ( #26977 )
4 years ago
mapingshuo
9e4fe92303
fix strategy example ( #26856 )
...
* fix doc
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* fix doc, test=develop
* update localsgd doc
test=develop
* update localsgd doc
test=develop
* fix fleet dgc amp doc, test=develop
* fix, test=develop
* fix async configs
Co-authored-by: liuyi05 <gavin1332@gmail.com>
Co-authored-by: WangXi <wangxi16@baidu.com>
Co-authored-by: seiriosPlus <tangwei12@baidu.com>
4 years ago
danleifeng
6b4ca0d7f1
【paddle.fleet】distributed_optimizer supports dygraph ( #26541 )
...
paddle.distributed.fleet supports dynamic graph execution.
4 years ago
danleifeng
3a2a711681
【paddle.fleet】simplify fleetrun log infos ( #26888 )
...
* print detailed and clear log infos; test=develop
4 years ago
danleifeng
e35ad3eee8
【paddle.fleet】support running python train.py for fleet tasks ( #26249 )
...
* support running python train.py for fleet-task; test=develop
4 years ago
Chen Weihang
9cb57f94c6
Update set_dict method name & add aliases ( #26700 )
...
* update set_dict method name & add aliases
* fix var name error
* fix alias formats
* use set_state_dict in unittest
* add decorator solve compatible problem
* polish decorator
* replace layer set_state_dict by patched method
* remove import monkey path layer
* fix import function error
* add unittest for coverage
4 years ago
ruri
3900f66c19
[API 2.0]Fix adaptive pooling bug ( #26922 )
...
* fix
* fix doc, test=document_fix
4 years ago
Chen Weihang
209273e605
Support load state dict form `inference model` format save result ( #26718 )
...
* support load infer model format state dict
* add unittests
* remove keep name table
* recolve circle inport
* fix compatible problem
* recover unittest
* polish doc and comment
4 years ago
Zhen Wang
bcdbac1753
fix some cast error. ( #26884 )
4 years ago
zhupengyang
6a09b8f1cb
erase Raises and refine doce of random functions ( #26901 )
4 years ago
LielinJiang
559d9f2bb9
Add summary for hapi ( #26386 )
...
* add summary for hapi
4 years ago
Zhou Wei
d5f4c39fda
set_default_type only take effect on python floats or complex ( #26939 )
...
* set_default_type only take effect on python floats or complex
* fix doc
4 years ago
Leo Chen
1275659ccc
refine paddle.stack ( #26886 )
...
* refine paddle.stack
* support TensorArray
* add test
* fix coverage problem
* fix coverage problem
* fix sample code
4 years ago
LielinJiang
96331f74d7
fix conv1d padding ( #26921 )
4 years ago
littletomatodonkey
3ba7b9b567
fix regularizer timeout ( #26952 )
4 years ago
ruri
05da5a3cdd
remove matplotlib requirement files ( #26948 )
4 years ago
pangyoki
b036294c02
fix uniform CI random fail problem ( #26932 )
...
* fix uniform CI random fail problem
* decrease diag_num in DiagInit
4 years ago
Yang Zhang
29b844ad5e
Fix clip op attr ( #26924 )
4 years ago
huangjun12
e480168fae
fix dropout bug in backward when input is 1d tensor ( #26837 )
...
* fix dropout bug in backward when input is 1d tensor, test=develop
* add test case and refine error message, test=develop
* refine error message, test=develop
4 years ago
joejiong
2f50aa227e
add deprecated information to the top of an API docstring ( #26818 )
...
As the title
4 years ago
YUNSHEN XIE
d8984a6b90
limit timeout value setting on linux ( #26923 )
4 years ago
zhang wenhui
c7b5ac4bb6
fix norm bug, test=develop ( #26827 )
...
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
4 years ago
LiuChiachi
9ee4e3dc6b
Correct 2.0 API usage in hapi.model.load ( #26829 )
...
* replace fluid.optimizer.set_dict with optimizer.set_state_dict
* replace fluid.optimizer.set_dict with optimizer.set_state_dict
* add coverage rate
* Increase coverage rate, fix code style
* Increase coverage rate, fix code style
* add fit to generate optimizer.state_dict() to save .pdopt to increase coverage rate
* delete http.log
4 years ago
gongweibao
4e1c8f3e6e
Remove psutil dependency. ( #26841 )
4 years ago
Guo Sheng
e6af53b10a
Update some used apis in Transformer apis to 2.0 apis. ( #26831 )
...
Fix some code samples in Tranoformer apis.
test=develop
4 years ago
Tao Luo
bf6cbbc745
remove unused fc_gan unit-test demo ( #26889 )
4 years ago
lilong12
030b298e82
fix sample codes in collective.py ( #26787 )
...
* fix sample codes, test=develop
4 years ago
liym27
435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. ( #26750 )
4 years ago
liym27
f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. ( #26873 )
4 years ago
wawltor
0a29fc85d6
fix the argmin,argmax op for the paddlepaddle 2.0
...
* fix the argmin,argmax op for the paddlepaddle 2.0, add checkPoint for the argmax/argmin
4 years ago
Yang Zhang
6129b0e246
Revert `no_grad` changes and add new implementation ( #26826 )
4 years ago
Chengmo
d0962abd20
supplement bug fix of parameter server ( #26217 )
...
* fix fluid.embedding
4 years ago
Leo Chen
60ffc22026
Refine bernoulli and unsqueeze op ( #26842 )
...
* add check for bernoulli and register bool for unsqueeze
* follow comments
4 years ago
Bai Yifan
1127d0d33f
fix adaptive_avg_1d outputsize type issue, test=document_fix ( #26869 )
4 years ago
liym27
61107aa6f1
[Dy2Stat-debugging] Fix bug: Returns True if the verbosity level set by the user is greater than or equal to the log level ( #26858 )
4 years ago
Huihuang Zheng
ad5547d97b
Fix typo util->until. ( #26855 )
...
Fix an English typo in unit test.
4 years ago
MRXLT
1769d2128a
fix ut ( #26844 )
4 years ago
Sylwester Fraczek
f866bfedf1
support mnist and resnet dygraph_to_static test ( #25774 )
...
* support mnist and resnet dygraph_to_static test
* make FLAGS_use_mkldnn a public flag
* fix test_get_set_flags
* Change name of a function
* Rerun CIs commit
* Fix oneDNN dygraph training
Co-authored-by: Adam <38704900+grygielski@users.noreply.github.com>
Co-authored-by: grygielski <adam.grygielski@gmail.com>
4 years ago
tangwei12
ebc5f99789
add embedding 2.0 ( #26649 )
...
* add embedding 2.0
* add embedding support input int32
4 years ago
MRXLT
1f36d3cdcb
update optimizer ( #26711 )
...
* update doc
* update doc
* fix optimizer sample code
* add default value for adamw weight_decay
* fix adamw
* change LearningRateDecay to _LRScheduler
* fix adamw;notest
* fix load;notest
* remove file
* bug fix
* fix code style
* bug fix
* add ut
* adamw support weight_decay=0
* fix ut
* fix set_lr doc
* fix doc
* change parameters place
4 years ago
Chen Weihang
28cb653145
Remove backend argument of init_parallel_env ( #26773 )
...
* remove backend argument of init_parallel_env
* remove keep name table in transformer
* add cpu version check
* add skip unittest for init_parallel_env
* polish doc: remove func use & update example
4 years ago
tangwei12
9ded7565ec
【paddle.fleet】FleetAPI 2.0 ( #26772 )
...
* add FleetAPI doc
Co-authored-by: liuyuhui <liuyuhui@baidu.com>
4 years ago
Aurelius84
b0111778b8
enhance error message ( #26808 )
4 years ago
huangjun12
3ce727a81c
rename Dropout2D/3D to Dropout2d/3d, test=develop ( #26796 )
...
rename Dropout2D/3D to Dropout2d/3d
4 years ago
GaoWei8
11fb8a1c10
Refine cudnn softmax ( #25757 )
...
* refine cudnn softmax
4 years ago
arlesniak
885c61f086
Add use of global flag 'use_mkldnn' to layer_helper ( #26497 )
...
* get use of global 'use_mkldnn' in layer_helper
* update for CI
* update for CI, relu test
* update for CI, relu test added, make FLAGS_use_mkldnn a public flag
* added more strict tests, fixes after review
* fixes after review
* fixes after review, CI stuff
4 years ago
swtkiwi
f44420c874
test=develop ( #26710 )
4 years ago
Aurelius84
df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems ( #26778 )
...
* Fix Python Version compatibility
* add import six
4 years ago
Zhong Hui
1f6df8787f
fix doc, use to_tensor
...
fix doc, use to_tensor for the loss ops
4 years ago
yaoxuefeng
a47d92d868
fleet add save with whitelist test=develop ( #23376 )
4 years ago
qingqing01
f7fb4c2212
Move hapi to python/paddle root dir. ( #26442 )
...
* Move hapi form paddle/incubate to paddle
* Remove vision/datasets/utils.py and clean code
* Add sample code for conll05
* Print pull path when saving model
* Fix sample code after paramter_list of SGD is changed to parameters
* Fix bug in wmt16 datase
4 years ago
Yang Zhang
9a1ea9b45d
Add support for tensor min/max in dygraph ( #26764 )
4 years ago
pangyoki
4a57880d91
support default dtype for distribution APIs ( #26695 )
...
* set default dtype for distribution API
* Add unittest
* Add unittest
* fix import get_default_dtype problem
* delete change under fluid.layers.nn
* little change
4 years ago
Chengmo
7f2aa2db3c
【paddle.fleet】Support Heter Parameter Server ( #25998 )
...
* Support Heter Parameter Server
5 years ago
Dong Daxiang
994217ea05
【paddle.fleet】fix api documents ( #26777 )
...
* fix api document
5 years ago
ruri
db68e08589
[API2.0]Unify pooling function and add adaptive max pooling function ( #26483 )
5 years ago
Jiawei Wang
a1b99fae07
Adadelta Optimizer ( #26590 )
...
* add doc; notest
* fix doc; notest
* update doc; notest
* refine optimizer && adam
* refine optimizer; notest
* add adam
* fix doc
* fix doc && add adamw; notest
* add error message
* bug fix
* refine rmsprop && adamax
* fix ci
* buf fix
* update comment
* unify arguments place; notest
* fix ut, test=develop
* bug fix
* fix conflicts, test=develop
* add examples code
* bug fix
* fix comments
* fix sample code
* add sample code for Optimizer
* add adamax ut, test=develop
* fix rmsprop ut, test=develop
* add ut for optimizer.py and adamw.py
* first commit of adadelta optimizer
* fix learning rate
* fix adadelta doc and add sgd momentum
* remove unused fluid
* fix codestyle
* Update test_adam_op.py
* Update test_adam_op.py
* fix SGD in 2 unittests
* fix SGD in 2 unittests
* fix ci
* fix ut
Co-authored-by: MRXLT <xlt2024@gmail.com>
Co-authored-by: mapingshuo <mps2012@yeah.net>
5 years ago
LielinJiang
346689c6f1
Register conv_transpose Op version for compatible Op upgrades ( #26745 )
...
* fix bug
* add version check
* fix docs, test=document_fix
* fix formula, test=document_fix
5 years ago
lilong12
2675cae758
add deprecated decorator for old apis expand and expand_as ( #26759 )
...
* add deprecated, test=develop
5 years ago
ceci3
42d2915ad4
[2.0 API] add SyncBatchNorm.convert_sync_batch_norm ( #26688 )
...
* add cnvert,test=develop
5 years ago
LielinJiang
4106e54c50
Fix hapi transform bug ( #26738 )
...
* fix bug
5 years ago
LiuChiachi
25dad426ef
fix sample code for hapi.model.save ( #26667 )
...
* fix sample code for hapi.model.save, test=document_fix
* test=document_fix
* update usage of 2.0 API, test=document_fix
* fix bugs, return dygraph back to users while using model.save in dygraph
* fix code style
5 years ago
Zhen Wang
f32ae272ec
Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. ( #26766 )
...
Use `Tensor` instead of `Variable` in the doc of paddle.grad.
5 years ago
Zhou Wei
7b78bfc089
[2.0API]support set_default_dtype for to_tensor ( #26432 )
...
* add set_default_type for tensor
* fix doc
* fix doc
5 years ago
Leo Chen
844583c8fd
Refine paddle.manual_seed ( #26496 )
...
* refine manual seed
* fix ci problem
* fix unittests
* fix unittest
* set is_init_py=false in manual_seed
* fix unittest
* fix bernoulli_op
* fix(unittest): change random_seed to manual_seed
* 🐞 fix(unittest): fix manual_seed
* trigger ci
* fix test_sentiment
* fix test_imperative_save_load
* fix test_uniform_random_op
* fix test_uniform_random_op
* fix test_jit_save_load
* merge develop
* fix manual_seed
* fix manual_seed
* use global engine
* use shared_ptr
* fix double free
* fix bug
* fix bug
* fix bug
* fix test bug
* fix test bug
* fix test bug
* fix ci
5 years ago
Chen Weihang
31f422ae5e
Add interface to launch parallel dygraph by multiprocessing ( #26044 )
...
* add dygraph parallel run interface
* polish implement & unified env property name
* add print config arg
* refactor init_parallel_env function
* Compatible with multiprocessing and launch modes
* set default trainer start port
* support run in python 2
* polish python2 support code
* remove python2 support
* refine launch import
* polish dome design details
* refactor api implemention & path
* use new method _set_expected_place
* add spawn unittest framework & mnist test
* add more unittests & doc
* fix unittest failed
* polish english doc
* self review and polish details
* refactor code by reviewer's comments
* fix unittest failed
* fix parallel_env unittest
* fix several typos
* fix error introduced when fixing typos
* add unpublic note for start_processes
* polish details by xiaoguang's comment
* verify correctly when spawn nprocs=-1
* refactor spawn & init_parallel_env design
* polish doc details
* open spawn unittests
* try to fix doc compile error
* try to fix unknown doc format error
* add skip unittest when not gpu
5 years ago
gongweibao
3390c7e260
fix test=develop ( #26697 )
5 years ago
zhupengyang
f34fb0a291
normal: enlarge threshold to reduce random error ( #26763 )
5 years ago
liym27
b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static ( #26457 )
...
* [Dy2Stat] Add debugging and logging mechanism for dygraph to static.
* Remove TransformerError temporarily.
* import mock in PY2, from unittest import mock in PY3. test=develop
* Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface.
* polish doc of set_verbosity and set_code_level.
5 years ago
Pei Yang
e3f8e5cf5c
trt int8 support conv2d_transpose ( #26636 )
5 years ago
Zhou Wei
30aab17734
[2.0API]support 2.0 lr_scheduler for 2.0 optimizer ( #26737 )
...
* support 2.0 lr_scheduler for 2.0 optimizer
* fix unittest
* fix doc
* fix unittest
* fix sample code, fix unittest
5 years ago
ShenLiang
29494d703d
fix remainder, floor_div ( #26732 )
...
* fix remainder, floordiv
5 years ago
LutaoChu
d39e789882
For normalize op, remove special treatment of one-dimensional input, add check for one-dimensional input ( #26747 )
...
For normalize op, remove special treatment of one-dimensional input, add check for one-dimensional input
5 years ago
LutaoChu
7d4e21588d
add parameters check in static mode for diag op
...
add parameters check in static mode for diag op
5 years ago
hong19860320
a7db9acc2f
Add the constraint for the scale of SELU/selu ( #26686 )
5 years ago
pangyoki
5f275aadaf
fix sample method of Uniform and Normal class ( #26713 )
...
* fix sample shape error
* Add unittest
* change assert_allclose to assert_equal
* Add unittest doc
* fix encoding problem
5 years ago
littletomatodonkey
52a6ca0cf5
test=develop, improve pad assertion error ( #26748 )
5 years ago
Kaipeng Deng
c03092b188
fix dataloader performace decrease & unittest hanging. test=develop ( #26739 )
5 years ago
Jack Zhou
c282db3a93
add broadcast feature for elementwise logical op
...
add broadcast feature for elementwise logical op
5 years ago
Yang Zhang
63eef7632e
Fix clip input check ( #26683 )
...
* Fix clip input check
* Fix default min/max value
* Allow both max and min to be None
* Register op change
* Revert OP signature change
5 years ago
donproc
edf5f3173a
[2.0 API] add paddle.nn.functional.linear and fix paddle.nn.Linear ( #26480 )
5 years ago
lilong12
2f75465d9a
fix the call to core.ops.x, test=develop ( #26729 )
5 years ago
lilong12
f1ae017fa9
update copyright year, test=document_fix ( #26586 )
5 years ago
Zhen Wang
f9066e6a6f
Update the demo code and the doc of varbase.backward. ( #26506 )
...
* update the demo code and the doc of varbase.backward.
* update the doc of the fake interface `paddle.fluid.Variable`.
* remove BackwardStrategy.
5 years ago
Feiyu Chan
f4083010a7
Add unified RNN APIs ( #26588 )
...
* Add RNN related apis in paddl.nn
test=develop
* new rnn api, cell almost done
* add new progresses in rnn APIs for 2.0
* refine rnn APIs and docstrings.
* add unittets
* disable gpu tests when paddle is not compiled with cuda support
* remove unnecessary imports
* fix docstring
* add to no_sample wlist
* backport to python2 to avoid yield from
* add **kwargs, fix typos
* update docstrings for birnn
* rename argument for SimpleRNN and SimpleRNNCell, fix sample code
* add default value for initial_states in fluid.layers.birnn
Co-authored-by: guosheng <guosheng@baidu.com>
5 years ago
joejiong
f311d3c1cf
Fix pow api type error with python side method, merge elementwise_pow and pow. ( #26163 )
...
As the title
5 years ago
yongqiangma
e4cc6a28b0
Norm op support 2-axis ( #26492 )
5 years ago
chalsliu
dc56c89822
Add the option to execute unit tests only at night ( #26669 )
...
* Add the option to execute unit tests only at night
* set ut nightly label for 3 cases.
5 years ago
Aurelius84
f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative ( #25960 )
...
* add InputSpec
* add unittest for tensorSpec and SimpleNet
5 years ago
xiaoting
89d7d86684
add intepolte_v2 ( #26520 )
...
* add intepolte_v2
* fix linear interp
* polish unittest, test=develop
* update code samples to 2.0 API, test=develop
* remove warning, test_develop
* add name in attrs, test=develop
* polish code, test=develop
* change Align to align, test=develop
* fix unittest in py3,test=develop
* fix coverage, test=develop
* fix coverage, test=develop
* fix for windows ci, test=develop
* fix coverage, test=develop
5 years ago
gongweibao
fc5acdd041
Fix fleet ut timeout issue. ( #26694 )
5 years ago
zhupengyang
32ae8e8132
leaky_relu, log_softmax, hardshrink formula format ( #26720 )
5 years ago
Zhang Ting
97cebfa4d3
add dtype for unique ( #26655 )
...
* update doc, test=document_fix
* add attr(dtype)
* refine code
5 years ago
wanghuancoder
07e3b9a33b
api20, Bilinear add deprecated, and fix english doc ( #26610 )
...
* API2.0 del old api(BilinearTensorProduct) from nn init.py, test=develop
* add import for deprecated, test=develop
* modify deprecated location, test=develop
* fix english doc, test=develop
* Update __init__.py
* Update __init__.py
* Update common.py
* fix english doc, test=develop
Co-authored-by: Chen Weihang <chenweihang@baidu.com>
5 years ago
Kaipeng Deng
84e7be3178
add TensorDataset for multiprocess DataLoader ( #26332 )
...
* add TensorDataset. test=develop
5 years ago
Yi Liu
2024ef69a2
【paddle.fleet】add comments about localsgd in DistributedStrategy ( #26709 )
...
* modified timeout value on windows and mac (#26690 )
* add Local SGD algorithm referenced paper
test=develop
5 years ago
lilong12
1c68138327
[api 2.0] add collective op for cpu using gloo and paddle.distributed.* apis ( #26552 )
...
add collective op for cpu using gloo and paddle.distributed.* apis
5 years ago
Leo Chen
07973c577e
disable deprecated ( #26684 )
5 years ago
Leo Chen
5c14fdcf0c
fix bug when get_glibc_ver returns None ( #26693 )
5 years ago
JZ-LIANG
958d7212c7
【paddle.fleet】Document refine lars & lamb ( #26533 )
5 years ago
pangyoki
1e53088abc
fix Distribution class problem ( #26535 )
...
* fix problems commented by Lutao
* rename _to_variable to _to_tensor
* fix unittest coverage
* little problem
5 years ago
Aurelius84
67d03bed70
Fix jit.to_static usage ( #26682 )
5 years ago
pangyoki
cb00d50498
../python/CMakeLists.txt ( #26531 )
5 years ago
ShenLiang
33afeb315a
fix the tanh ( #26657 )
...
* fix the tanh
* fix the learning rate
5 years ago
Bai Yifan
8986a82131
fix adaptive gpu grad bug, add doc refine ( #26660 )
5 years ago
Dong Daxiang
98e057bb1e
remove role maker in test_fleet_graph_execution_meta_optimizer.py ( #26674 )
...
test=develop
5 years ago
hong19860320
dbcef732d8
Fix the formula of SELU/selu ( #26675 )
5 years ago
Qi Li
2de034e146
fix prelu, test=develop ( #26613 )
5 years ago
Zhou Wei
7af5cb9b32
fix english doc of all lr_scheduler ( #26619 )
...
* fix doc of lr_scheduler
* fix doc
5 years ago
wawltor
286eca2d9e
update the code for the topk v2
...
add the top v2 for the paddlepaddle api 2.0
5 years ago
LiuChiachi
761ed17db3
Update save inference model to support dygraph ( #25894 )
...
* update save_inference_model for hapi
* update save_inference_model to support dygraph
* fix comments
* fix comments
* test=develop
* test, test=develop
* fix dim test, test=develop
* test, test=develop
* add test_export_deploy_model_dynamic
* fix unittest for hapi: save_inference_model
* fix code style
* accept review by guoshengCS
* fix coverage rate
* update doc for save_inference_model and copyright
* change test model back to LeNet() in test_export_deploy_model
* copy jit.save, use LeNet() to test export deploy model
* add return value for dygraph, and fix doc error
* corrected the doc writing
* Delete redundant import and correct import order in sample code.
* remove 'fluid' and add prepare() and fit() in sample code
* correct usage of API 2.0 in sample code
* fix sample code bugs
* fix code style bugs
* fix test_model.py bugs
* set for_inference=True
* correct usage for static.InputSpec
* update doc for model.save
* correct usage of API 2.0
* rename param name for model.save
* correct for_inference as training
5 years ago
joejiong
d32beea2a9
Add Checking Type for "multiply" operation ( #26508 )
...
Co-authored-by: wujionghao <wujionghao@email.com>
As the title
5 years ago
gongweibao
ed4a4ea37e
fix test=develop ( #26632 )
5 years ago
Dong Daxiang
08d736ad78
【paddle.fleet】add cudnn related strategies to DistributedStrategy ( #26598 )
...
* add cudnn related strategies to DistributedStrategy
5 years ago
Zhang Ting
0a895bc0df
improve unique op ( #26537 )
...
* add unique_v2 op
* remove unique_v2 op
* update doc
5 years ago
zhang wenhui
0679678212
add norm 2.0 api, test=develop ( #26465 )
...
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
5 years ago
YUNSHEN XIE
a8b5741fb4
add a few unittests for setting timeout properity ( #26630 )
5 years ago
Huihuang Zheng
26d67414fd
Enrich English declarative Doc ( #26538 )
...
As the title.
5 years ago
wanghuancoder
c1f5df5269
optimized transformation form tensor to numpy ( #26447 )
...
* optimized transformation form tensor to numpy, test=develop
* optimized transformation form tensor to numpy, pass pre-commit, test=develop
* modify fetchophandle zerocopy to deepcopy in PE&CUP, test=develop
* modify py:array construct, test=develop
* fix _fetch_var to use deep copy, test=develop
5 years ago
zhupengyang
c80fcf901e
reduce_mean error if keepdim=True and reduce_all=True ( #26614 )
5 years ago