Commit Graph

369 Commits (79149c8ee6dd16cc8d4e748db0df8fa090c9752c)

Author SHA1 Message Date
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
Aurelius84 b0111778b8
enhance error message (#26808)
6 years ago
Aurelius84 df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems (#26778)
6 years ago
Zhen Wang f32ae272ec
Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. (#26766)
6 years ago
Chen Weihang 31f422ae5e
Add interface to launch parallel dygraph by multiprocessing (#26044)
6 years ago
liym27 b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457)
6 years ago
Zhen Wang f9066e6a6f
Update the demo code and the doc of varbase.backward. (#26506)
6 years ago
Aurelius84 f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative (#25960)
6 years ago
wanghuancoder 07e3b9a33b
api20, Bilinear add deprecated, and fix english doc (#26610)
6 years ago
Aurelius84 67d03bed70
Fix jit.to_static usage (#26682)
6 years ago
Huihuang Zheng 26d67414fd
Enrich English declarative Doc (#26538)
6 years ago
ceci3 f8dbd7a273
fix syncbn, test=develop (#26523)
6 years ago
yaoxuefeng d6e888cace
fix Flatten api test=develop (#26346)
6 years ago
wanghuancoder 90e6819cf2
fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix (#26271)
6 years ago
ShenLiang 0e81626081
add div, floor_div, remainder (#26562)
6 years ago
Zhen Wang c037d6253a
Update the demo of paddle.grad (#26498)
6 years ago
Chen Weihang c09de13ec4
Refine jit load model by extra_var_info (#26461)
6 years ago
Yang Zhang f6d20d565c
Update `no_grad` doc examples (#26481)
6 years ago
Zhou Wei ce7d5263e6
[2.0API]Bind method for tensor and Variable (#26416)
6 years ago
Huihuang Zheng e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop (#26453)
6 years ago
Chen Weihang 7c1ff38e01
Enhance add_parameter check for dygraph layer (#26188)
6 years ago
Chen Weihang a7cd61fdd1
fix DataParallel code samples, test=document_fix (#26423)
6 years ago
liym27 db272ca5ef
rename file to according to reviews. (#26236)
6 years ago
ceci3 56890dc729
Add SyncBatchNorm (#26032)
6 years ago
liym27 f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. (#26279)
6 years ago
Sylwester Fraczek abfdffa039
add use_mkldnn attribute to ops in dygraph (#25773)
6 years ago
ShenLiang fd0051b488
add set default dtype, get default dtype (#26006)
6 years ago
LielinJiang 9a6a4fbc04
Add children and named_children for Layer (#26289)
6 years ago
wangchaochaohu bb11cbc250
[API2.0] add Device api (set_device and get_device)(#26103)
6 years ago