Commit Graph

372 Commits (34091533c95291dd96459af65dacf04a9cce9fa2)

Author SHA1 Message Date
Chen Weihang c23f09fea6
Support load state_dict from save_params/persistables (#27298)
4 years ago
Chen Weihang 950301bfa1
Add input_spec & output_spec for TranslatedLayer (#27284)
4 years ago
zhupengyang ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid (#27277)
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)
4 years ago
Leo Chen 19228bd142
Temporally disable zero_copy (#27248)
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)
4 years ago
Chen Weihang 5406b014c0
Refine jit.save implement to adapt InputSpec using cases (#26959)
4 years ago
ShenLiang 5bd84b22c4
revert divide (#27202)
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
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
4 years ago
Chen Weihang 4c70e31ab5
add save load to jit.all (#27131)
4 years ago
Chen Weihang c1a8868732
Change jit.save/load configs to config & update code examples (#27056)
4 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
4 years ago
Chen Weihang 9373cf5ae4
Add TranslatedLayer.program method to get program (#26961)
4 years ago
Chen Weihang 9cb57f94c6
Update set_dict method name & add aliases (#26700)
5 years ago
Chen Weihang 209273e605
Support load state dict form `inference model` format save result (#26718)
5 years ago
liym27 435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. (#26750)
5 years ago
liym27 f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. (#26873)
5 years ago
Yang Zhang 6129b0e246
Revert `no_grad` changes and add new implementation (#26826)
5 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)
5 years ago
MRXLT 1f36d3cdcb
update optimizer (#26711)
5 years ago
Chen Weihang 28cb653145
Remove backend argument of init_parallel_env (#26773)
5 years ago
Aurelius84 b0111778b8
enhance error message (#26808)
5 years ago
Aurelius84 df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems (#26778)
5 years ago
Zhen Wang f32ae272ec
Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. (#26766)
5 years ago
Chen Weihang 31f422ae5e
Add interface to launch parallel dygraph by multiprocessing (#26044)
5 years ago
liym27 b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457)
5 years ago
Zhen Wang f9066e6a6f
Update the demo code and the doc of varbase.backward. (#26506)
5 years ago
Aurelius84 f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative (#25960)
5 years ago
wanghuancoder 07e3b9a33b
api20, Bilinear add deprecated, and fix english doc (#26610)
5 years ago
Aurelius84 67d03bed70
Fix jit.to_static usage (#26682)
5 years ago
Huihuang Zheng 26d67414fd
Enrich English declarative Doc (#26538)
5 years ago
ceci3 f8dbd7a273
fix syncbn, test=develop (#26523)
5 years ago
yaoxuefeng d6e888cace
fix Flatten api test=develop (#26346)
5 years ago
wanghuancoder 90e6819cf2
fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix (#26271)
5 years ago
ShenLiang 0e81626081
add div, floor_div, remainder (#26562)
5 years ago
Zhen Wang c037d6253a
Update the demo of paddle.grad (#26498)
5 years ago
Chen Weihang c09de13ec4
Refine jit load model by extra_var_info (#26461)
5 years ago
Yang Zhang f6d20d565c
Update `no_grad` doc examples (#26481)
5 years ago
Zhou Wei ce7d5263e6
[2.0API]Bind method for tensor and Variable (#26416)
5 years ago
Huihuang Zheng e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop (#26453)
5 years ago
Chen Weihang 7c1ff38e01
Enhance add_parameter check for dygraph layer (#26188)
5 years ago
Chen Weihang a7cd61fdd1
fix DataParallel code samples, test=document_fix (#26423)
5 years ago
liym27 db272ca5ef
rename file to according to reviews. (#26236)
5 years ago
ceci3 56890dc729
Add SyncBatchNorm (#26032)
5 years ago
liym27 f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. (#26279)
5 years ago
Sylwester Fraczek abfdffa039
add use_mkldnn attribute to ops in dygraph (#25773)
5 years ago