- 03 11月, 2021 1 次提交
-
-
由 0x45f 提交于
* Support Py3 type annotations in @to_static * support type hint for args in func * support type hint assign * if annotation and value(Constant) are diffent type, we use value type * polish type_from_annotation() * code format * code format * remove useless commentary * fix review Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
- 28 10月, 2021 1 次提交
-
-
由 0x45f 提交于
-
- 27 10月, 2021 1 次提交
-
-
由 0x45f 提交于
-
- 20 10月, 2021 1 次提交
-
-
由 0x45f 提交于
* remove no_value using var.name * fix unit test for CI * fix unit test * add test case * fix test case * add more test case
-
- 19 10月, 2021 1 次提交
-
-
由 xiongkun 提交于
* catch the generatorfunction and intercept it. * add test generator * add test case * refine the testcase
-
- 12 10月, 2021 1 次提交
-
-
由 0x45f 提交于
* change time to remove static tempfile * delete remove_static_file() function
-
- 16 9月, 2021 1 次提交
-
-
由 0x45f 提交于
* fix no_grad context error in dy2stat * remove useless comments * fix error by drop_kids in python * add test and fix review
-
- 14 9月, 2021 1 次提交
-
-
由 0x45f 提交于
* dy2stat_error: add revise suggestion for two error cases * fix test_error * fix review
-
- 03 9月, 2021 1 次提交
-
-
由 0x45f 提交于
-
- 01 9月, 2021 2 次提交
-
-
由 0x45f 提交于
* modify dy2stat error message in compile time * fix variable name
-
由 Aurelius84 提交于
* Support append method and initialized value for List in ControlFlow * polish error msg and en doc * fix code style
-
- 05 8月, 2021 2 次提交
-
-
由 0x45f 提交于
* integrated gast library * integrated gast library * fix unittest and remove ast2.py * remove 'gast' from __all__ in __init__.py * add copyright in other files * fix copyright
-
由 Aurelius84 提交于
* Support Mixed Precision training in @to_static * fix block.vars logic * fix GPU training loss diff * remove unused code
-
- 28 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Add build_strategy in @to_static to support open pass * fix os.environ * add timeout * disable test_build_strategy on openblas
-
- 27 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
Revert "Revert "[Dy2Stat] Refactor ExecutorCache logic and pre-support BuildStrategy for pass (#34181)" (#34348)" (#34384) This reverts commit 577fdde5.
-
- 23 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
Revert "[Dy2Stat] Refactor ExecutorCache logic and pre-support BuildStrategy for pass (#34181)" (#34348) This reverts commit 609f8225.
-
- 22 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* modify into program_id * fix cache_info declare problem * fix python int to C long problem * modify point to reference * add ENVS
-
- 20 7月, 2021 1 次提交
-
-
由 0x45f 提交于
* support Nest sequtial container * rename model path
-
- 15 7月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* cache core.ops, test=develop * refine, test=develop
-
- 14 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* fix paddle.no_grad * fix paddle.no_grad
-
- 05 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
-
- 30 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* refine temp_scope_vec logic * polish partial_program * fix fake var * add stop_gradient in spec * fix fake_var * fix unittest
-
- 24 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* support type hint * fix unittest
-
- 21 6月, 2021 1 次提交
-
-
由 tianshuo78520a 提交于
* del py2 code2 * fix test timeout
-
- 17 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* support non-tensor type * fix unittest failed * add unittest with prune * rm unused code * coverage * fix two or
-
- 16 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
-
- 09 6月, 2021 2 次提交
-
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
* Modify into core.ops.run_program * add DDout in core.ops.run_program * fix typo * add DOut * fix typo * put DOut last
-
- 08 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* move data to CUDAPlace in advance
-
- 04 6月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
This PR made these changes to support double grad: 1. Translate `paddle.grad` to `paddle.static.gradients` to support double grad for dy2stat. 2. Fix IfElseTransformer bug which may not change value if "Store before Load" variable is in "Store" statement is in IfElse conditional statement 3. Add `DOut` to support double grad variables in `run_program_op` 4. Add support for renaming for double grads for `jit.save/load`
-
- 20 5月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Support convert sublayers in Sequential Container * remove paddle.jit.set_code_level
-
- 19 5月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* BugFix StaticAanlysis with gast.Subscript * remove codes
-
- 30 4月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Dy2stat failed when user writes return paddle.to_tensor(xxx), the reason is that visit_Expr doesn't work when the Expr is in return. Some other statements may trigger same bug. To fix it, we re-wrote a transformer to transform paddle.to_tensor to paddle.assign for all Call nodes.
-
- 09 4月, 2021 2 次提交
-
-
由 Aurelius84 提交于
* fix undefind var in For * fix code style
-
由 Aurelius84 提交于
* support DictCmp and zip grammar * fix code style
-
- 24 3月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Our old `loop_body` function may return single element when `loop_vars` just contains only 1 element, which can cause bug. The key point of this PR is forcing `loop_body` functions always return tuple.
-
- 11 3月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Fix bug with static_convert_var_shape * replace dot with dash
-
- 04 3月, 2021 3 次提交
-
-
由 liym27 提交于
-
由 Huihuang Zheng 提交于
Fix wrong code comment
-
由 Huihuang Zheng 提交于
Fix Read-Only Attribute as while_loop Output: Usually, our convert_while_loop will be like: ``` [a, b, c] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, c]) ``` where a, b, c are in loop_var_names. However, if loop_var_names contains property such as foo.x, we cannot assign the attribute as output of convert_while_loop because Python property is a kind of read-only attribute. To handle the case, we replace the attributes which are output of convert_while_loop with generated variables, then if we know the attribute is not read-only at runtime, we assign the attribute. The created statements are like: ``` [a, b, __attribute_variable_1] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, foo.x]) if not isinstance(getattr(type(foo), x, None), property): foo.x = __attribute_variable_1 ```
-