Commit Graph

497 Commits (cced930b61ba246dffec68bbe09bd9e22a142d64)

Author SHA1 Message Date
liym27 865a45984f
Check whether there is any inplace operation affecting gradient calculation. (#27901)
5 years ago
WeiXin 1476e1f998
save model after jit.load (#28748)
5 years ago
liym27 01bdea7c31
[Dy2Stat] Don't conver the function from third library logging (#29161)
5 years ago
liym27 a7433cc379
[Dy2Stat] Fix bug: the return statement should be transformed to an equivalent Paddle/Python if statement, which depends on if conditions of the return stmt. (#29165)
5 years ago
ShenLiang e2d01eb650
Support dynamic graph distributed (#28997)
5 years ago
liym27 5fe44571f0
[Dynamic-to-Static] Support **kwargs as input of the function which is decorated by `jit.save.to_static` (#29098)
5 years ago
Chen Weihang 95a0f87b44
support jit.save datra parallel (#29135)
5 years ago
Leo Chen 770395cb93
Split train_mode and has_grad for tracer (#29064)
5 years ago
gongweibao 1358397e97
Clean up the redundant files and unify the launch interface. (#28928)
5 years ago
WeiXin fafadbab70
Rename variables when use 'jit.load' (#28933)
5 years ago
liym27 682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop (#29023)
5 years ago
Chen Weihang bb16c2515d
Polish parallel api impl & doc details (#28980)
5 years ago
Chen Long 018e169923
fix some docs (#29011)
5 years ago
Huihuang Zheng 5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape (#28775)
5 years ago
Leo Chen 3815d7aa40
Upgrade string literals to raw string (#28989)
5 years ago
liym27 85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially(#28993)
5 years ago
Huihuang Zheng 96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop (#28992)
5 years ago
wanghuancoder 887a35113e
fix eng doc for some api (#28477)
5 years ago
Chen Weihang 768dab441e
polish two api doc detail, test=document_fix (#28971)
5 years ago
Aurelius84 d6aee7597c
[Dy2Stat]Set buff.persistable=False when it's not initialized (#28749)
6 years ago
liym27 269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func (#28722)
6 years ago
liym27 e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node (#28735)
6 years ago
liym27 9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message (#28713)
6 years ago
Chen Weihang 3c5f2cac68
fix save parse error for dict input (#28712)
6 years ago
Huihuang Zheng 9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop (#28710)
6 years ago
Leo Chen 11e32baf1e
Add matmtl_v2 to amp list (#28693)
6 years ago
Huihuang Zheng b6f86b8491
Fix Using "isinstance" in Loop, test=develop (#28641)
6 years ago
Yang Zhang 614f20f6ba
Update `add` `clip` `MSELoss` and `no_grad` (#28530)
6 years ago
liym27 0ce933a9ee
[API2.0] Fix documents of 6 APIs to fit API2.0: (#28514)
6 years ago
Huihuang Zheng 3b0d31ab89
Modify ProgramTranslator and TracedLayer Doc for API 2.0 (#28509)
6 years ago
Huihuang Zheng 546b1c1dc4
Fix paddle.jit.dy2static.data_layer_not_check 2.0 API Doc (#28461)
6 years ago
WeiXin b5e662f837
refine jit.save/load to add support for other method, not only forward (#28376)
6 years ago
Aurelius84 bd8dfe38ca
[Dy2Stat] Refine code example for 2.0 (#28440)
6 years ago
Aurelius84 2500dca878
[Dy2Stat] Fix bug in convert_call (#28368)
6 years ago
Aurelius84 57e4411ab5
[Dy2stat] Support to modify value of buffer tensor (#28328)
6 years ago
Chen Weihang 4086f48ea1
Check and fix tensor and scalar type promotion (#28299)
6 years ago
chentianyu03 6cebd71454
add + - * / @ [] operator to ComplexVariable (#28217)
6 years ago
liym27 b1eb28d74b
[Dy2Stat-log] Call warnings.warn() to display the warning-message only once when calling StaticFunc.__call__ or ProgramTranslator().get_output (#28260)
6 years ago
Aurelius84 a5c18204e9
[Dy2stat]Join break cond with while cond in some pattern (#28171)
6 years ago
Aurelius84 7a3a05cccb
[Dy2Stat]Support to save model with nested output (#28224)
6 years ago
Aurelius84 e730516090
[Dy2stat] Refine return mechanism in @to_static (#28116)
6 years ago
cnn 7c1aa0d69d
2.0rc api rename (#28088)
6 years ago
Aurelius84 135b62a4ec
[Dy2stat] Refine code of DygraphToStaticAst (#28103)
6 years ago
Aurelius84 3718b2e706
Fix test_lstm unittest failed and Add more unittest (#28029)
6 years ago
Guo Sheng fa9d3fa5bf
Incorporate cudnn_lstm into LSTM api (#27217)
6 years ago
Aurelius84 ffcc11758a
[Dy2Stat] Fix Error when generating train_program in eval mode (#27975)
6 years ago
Steffy-zxf 832458d516
update code examples for paddle.sums
6 years ago
chentianyu03 d05058d268
Remove and reorganize the alias of APIs (#27717)
6 years ago
Chen Weihang ed31dac6eb
remove scale loss and coll grads, test=document_fix (#27874)
6 years ago
Leo Chen 049696bf67
Refine the format of printing tensor (#27673)
6 years ago
Huihuang Zheng 914558049f
Refine ProgramTranslator API English Doc for 2.0rc (#27849)
6 years ago
Chen Weihang 94faa112e9
Polish save load en doc details (#27845)
6 years ago
Zhou Wei e122e16456
fix english doc, unittest, and remove useless alias of 2.0 lr_scheduler (#27686)
6 years ago
Chen Weihang 9b49f02441
Polish jit.save/load design & remove paddle.SaveLoadConfig (#27623)
6 years ago
Yiqun Liu 836ee3b0c8
Polish the english documentation and example of paddle.nn.Linear and paddle.nn.functional.linear (#27759)
6 years ago
wanghuancoder c826bcb2ec
modify doc for ParameterList and LayerList (#27609)
6 years ago
wanghuancoder 7ca66f1e06
modify Sequential doc, test=develop (#27608)
6 years ago
wanghuancoder 7698e19928
modify doc for paddle.nn.Layer (#27624)
6 years ago
liym27 3a8bef1d41
[Dynamic-to-Static] Refine 2.0rc assign: paddle.nn.functional.assign (#27650)
6 years ago
Chen Weihang 53803202cc
add rename var in block (#27705)
6 years ago
Chen Weihang dec53a9c79
Remove DataParallel.scale_loss & apply_collective_grads (#27603)
6 years ago
Chen Weihang 199da9689c
Polish api Program/CompiledProgram/ParallelEnv doc & code example (#27656)
6 years ago
Huihuang Zheng cc2fc93804
[Dy2stat] Refine Dy2stat APIs to 2.0rc (#27430)
6 years ago
Zhou Wei 6871e57b30
fix in_dynamic_mode of paddle,test=document_fix (#27671)
6 years ago
Huihuang Zheng abb32bbccd
[Dy2stat] Fix lstm bug (#27631)
6 years ago
Leo Chen c7e0a8bebf
Remove inplace argument when calling nn.reshape() (#27376)
6 years ago
Zhou Wei 162b4d6c13
remove to_variable from 2.0 (#27528)
6 years ago
Chen Weihang ecfdfc9c58
fix guard place set error (#27573)
6 years ago
Aurelius84 fc9d80bc9e
[Dy2Stat]rename StaticLayer into StaticFunction (#27487)
6 years ago
Chen Weihang bb84f0e646
Add new paddle.save/load APIs (#27331)
6 years ago
Zhou Wei 1e1ae5c54d
Make the Bind Method of Tensor more automatic (#27270)
6 years ago
Aurelius84 7ba6279a25
[Dy2stat] Refine error msg of @to_static if not in imperative mode (#27371)
6 years ago
liym27 ac82baa80d
[Dy2Stat-log] Add feature also_to_stdout and optimize log messages (#27285)
6 years ago
Huihuang Zheng d4b4357bc0
[Dy2stat] Change the Global Switch Name of ProgramTranslator for API 2.0 (#27203)
6 years ago
Leo Chen 189e10f1dd
Remove unnecessary requirements (#27341)
6 years ago
Chen Weihang c23f09fea6
Support load state_dict from save_params/persistables (#27298)
6 years ago
Chen Weihang 950301bfa1
Add input_spec & output_spec for TranslatedLayer (#27284)
6 years ago
zhupengyang ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid (#27277)
6 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)
6 years ago
Leo Chen 19228bd142
Temporally disable zero_copy (#27248)
6 years ago
Chen Weihang 33ff833af2
fix loaded no params layer run error (#27241)
6 years ago
liym27 3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. (#27225)
6 years ago
Chen Weihang ac8afe184e
use structured name in loaded dict (#27242)
6 years ago
Aurelius84 5e0dde02b2
[Dy2stat] support usage: to_static(model) (#27040)
6 years ago
Chen Weihang 5406b014c0
Refine jit.save implement to adapt InputSpec using cases (#26959)
6 years ago
ShenLiang 5bd84b22c4
revert divide (#27202)
6 years ago
liym27 a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 (#27201)
6 years ago
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
6 years ago
Chen Weihang 4c70e31ab5
add save load to jit.all (#27131)
6 years ago
Chen Weihang c1a8868732
Change jit.save/load configs to config & update code examples (#27056)
6 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
6 years ago
Chen Weihang 9373cf5ae4
Add TranslatedLayer.program method to get program (#26961)
6 years ago
Chen Weihang 9cb57f94c6
Update set_dict method name & add aliases (#26700)
6 years ago
Chen Weihang 209273e605
Support load state dict form `inference model` format save result (#26718)
6 years ago
liym27 435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. (#26750)
6 years ago
liym27 f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. (#26873)
6 years ago
Yang Zhang 6129b0e246
Revert `no_grad` changes and add new implementation (#26826)
6 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)
6 years ago
MRXLT 1f36d3cdcb
update optimizer (#26711)
6 years ago
Chen Weihang 28cb653145
Remove backend argument of init_parallel_env (#26773)
6 years ago