- 26 8月, 2022 2 次提交
-
-
由 wanghuancoder 提交于
-
由 xiongkun 提交于
* while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container * 1. make select_input output shape = input[1] 2. add warning in while_loop risky assign * fix 2 problem in GPT export: 1. a bug in while_op no_need_copy_var, which causes gpu memory leakage 2. a bug in undefined_var where the stop_gradient should be False. * change name by code review * format
-
- 24 8月, 2022 1 次提交
-
-
由 xiongkun 提交于
* while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container
-
- 19 8月, 2022 2 次提交
- 18 8月, 2022 1 次提交
-
-
由 feifei-111 提交于
* fix_shape
-
- 10 8月, 2022 1 次提交
-
-
由 xiongkun 提交于
* 1. add prepare_gradient_aggregation in PartialProgramLayer * 1. draft * fix ci problem
-
- 09 8月, 2022 1 次提交
-
-
由 WangZhen 提交于
* Fix abnormal format of message when raise KeyError in Dy2St * Format code * Format code * Add UT * Rename method
-
- 03 8月, 2022 1 次提交
-
-
由 xiongkun 提交于
* release the convert_len() * fix bugs * fix bugs * fix start error. * when shape==0, we should also call paddle.shape
-
- 02 8月, 2022 2 次提交
- 21 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* fix the outputs of net is x,x * add unittest for duplicate output * fix * fix _infer_program use the original program not the amp program. * get _***program_id back and avoid duplicate cache ing * fix
-
- 14 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* fix the outputs of net is x,x * add unittest for duplicate output * fix
-
- 12 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* change NameVisitor to FunctionScopeAnalysis * polish the logic of undefined var in while_loop. create vars after body execution * replace old NameVisitor in while and fix all CI * Togather with CreateVariableTransformer * add create_variable_transformer * fix bugs * merge * fix some error, TODO: ForNodePreTransform ahead * merge for unite PR * fix conflict with base_transformer PR * fix ci errors, fix [for i in range()] error * fix according to code review
-
- 08 7月, 2022 1 次提交
-
-
由 WangZhen 提交于
* Polish visit function in transformer * Call generic_visit first in visit_While/For * Remove comments * Polish utils.py, move some transformer to base_transformer
-
- 06 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* add support for control flow block analysis * move FunctionNameLivenessAnalysis into utils * pass test_ifelse.py * remove duplicate data_layer_not_check * pass the test_ifelse.py * fix unittest error . * fix all ci error in first version * temporay disable CreateVariableTransformer * fix ci errors * fix function name liveness analysis bugs * modifty def cond * fix * fix ci error - v2 * fix by code review * change return_name_ids -> return_name
-
- 05 7月, 2022 1 次提交
-
-
由 WangZhen 提交于
* Add BaseTransformer for dy2st error message * Fix return_transformer error * Polish dy2st error info in runtime * Fix UT error * Polish runtime error code
-
- 01 7月, 2022 3 次提交
-
-
由 WangZhen 提交于
-
由 Aurelius84 提交于
* [Dy2Stat]Polish break/continue statement transformer logic
-
由 Aurelius84 提交于
* [Dy2Stat]Enhance nonlocal machanism while returning single var * [Dy2Stat]Enhance nonlocal machanism while returning single var
-
- 30 6月, 2022 2 次提交
- 28 6月, 2022 2 次提交
-
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
* [Dy2Stat]Polish all API name of _jst
-
- 27 6月, 2022 2 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Refactor convert_shape transformer logic * clean usless unittest
-
由 Aurelius84 提交于
-
- 24 6月, 2022 1 次提交
-
-
由 xiongkun 提交于
* add closure analysis for control flow and add some unittest * finetune the design of FunctionScopeVisitor * fix * fix python check * fix code by code review
-
- 23 6月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Support nonlocal mechanism in IF ast transformer * support prune return vars in cond * fix unittest * fix unittest * fix static check
-
- 22 6月, 2022 1 次提交
-
-
由 xiongkun 提交于
因此将N次前向共用一个 vec scope 换为了N次前向分别使用自己的一个vecscope
-
- 14 6月, 2022 1 次提交
-
-
由 WangZhen 提交于
* Refine ifelse early return
-
- 13 6月, 2022 2 次提交
-
-
由 WangZhen 提交于
* Refine covnert_var_shape in dy2st * Fix UT error * Return paddle.shape only when has_negative and fix test_tensor_shape error * Fix test_jit_save_load error
-
由 Aurelius84 提交于
* [Dy2Stat]Remove fluid.layers in transformer code * remove useless return_name_vars * fix unittest * fix unittest * fix unittest
-
- 09 6月, 2022 2 次提交
-
-
由 Aurelius84 提交于
[Dy2Stat]Add apply_optimization for @to_static and remove BreakTransformOptimizer by default (#43320) * [Dy2Stat]Add apply_optimization for @to_static and remove BreakTransformOptimizer by default * fix unittest
-
由 Aurelius84 提交于
* [Dy2stat]Add RollBack into original dygraph function for @to_static * fix unittest * [Dy2Stat]Support deepcopy Net instance after @to_static
-
- 08 6月, 2022 2 次提交
-
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
* [Dy2stat]Add RollBack into original dygraph function for @to_static * fix unittest
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 02 6月, 2022 1 次提交
-
-
由 sneaxiy 提交于
* support CUDAGraph for partial graph * add ut * fix ci * fix ut again because of eager mode * fix kunlun ci * fix win ci
-
- 01 6月, 2022 1 次提交
-
-
由 xiongkun 提交于
-
- 27 5月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Replace paddle.jit.dy2stat with _jst * [Dy2Stat]Replace paddle.jit.dy2stat with _jst * refine code style * refine code style
-