- 07 9月, 2023 1 次提交
-
-
由 Difer 提交于
* rename fluid to base * fix setup and rename paddle.fluid * fix protobuf generated paddle.fluid * fix some errors * fix cmake depends * fix some error * try to fix cache error * fix codestyle && some doc error * remove build change * fix some error --------- Co-authored-by: NXiangGao <jeff41404@gmail.com>
-
- 07 8月, 2023 1 次提交
-
-
由 xiongkun 提交于
* add paddle-symbolic-trace to paddle * add symoblic trace * delete swp * support Layer in symbolic trace * fix test-symbolic-trace, make symbolic trace return a StaticFunction * template the error message * fix some unittest * Modify the execution mode of test * Modify the module name * add dy2static unittest decorator * change some unittest files by @ast_only_test * fix unittest. * test-symbolic-trace * update test_write_python_container.py * update * fix test_param_parse.py * add submodule and ln -sf in cmakefile * update * update * fix some ast only errors * update * Polish ut * fix unittests * update * update * fix unittests * update * test warning ast only * update * Ast only some uts * Fix unitests * test_error ast only * update * update * Support build_strategy for sot * update * import sot as a third party module * update * update * Polish code * update * update * update * update * update * remove old fluid api and use paddle.nn.relu instead * fix * comment the print of ast code * add try-finally block * fix dy2static stop-gradient bugs * fix code * remove unused submodule and minor codestyle fix * fix * fix cast error * fix interpolate meets int64 in static model * add evalframe support for py311 * fix * fix err * switch ENABLE_FALL_BACK=False * fix * Fix CI for some unittest * add ENABLE_SOT * remove setup.py dependences --------- Co-authored-by: NNotHaozi <zhangmenghao@baidu.com> Co-authored-by: Nfeifei-111 <2364819892@qq.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 07 4月, 2023 1 次提交
-
-
由 risemeup1 提交于
* remove zeros * remove zeros * apply gcc12 to py3 * apply gcc12 to py3 * fluid api clear * fluid api clean * fluid api clean
-
- 31 3月, 2023 1 次提交
-
-
由 Ainavo 提交于
-
- 29 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* add up34 * modify var name in loop * revert changes in test_slice * Revert "modify var name in loop" This reverts commit 6d748e371afb417054ed0c6b36fd11e87959a90d. * temporarily ignore test_slice.py * add comment * empty commit, re-trigger all ci * fix inc --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 25 3月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 20 3月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* migrate fill_constant to paddle.tensor * move fill_constant to paddle.tensor and repalce the reference * add missing fill_constant replacement * fix typro * remove unused import fill_constant * fix zeros import error * fix circle import * fix layers.zeros * fix unitest * fix unitests * fix unitest * use paddle.full replace fill_constant in samplecode * fix sample code * recovery xpu test * recovery xpu test * fix circle import * fix utils import error * fix utils error * fix circle import * redo * fix circle import * fix prim fill constant import * fix type error * fix increase error * fix test error * fix fill_constant
-
- 17 1月, 2023 1 次提交
-
-
由 xiongkun 提交于
* rebase merge * code fix * fix bugs
-
- 11 1月, 2023 1 次提交
-
-
由 Ryan 提交于
* add enable_to_static and drop some methods of ProgramTranslator * fix code style * fix cant import enable_to_static and update unitest * change unitest and rollback code of PT * fix can't import as of utils * roll back PT * fix roll back * add some unitest * add unitest and fix codestyle bug in api.py * finish all unitest * remove ProgramTranslator * fix code style * restore test_program_translator * api.py remove get_func * TestDygraphToStaticCode * fix check_type and import err * roll back PT without getcode * roll back pt with get_code * convert_to_static * fix import __all__
-
- 19 12月, 2022 1 次提交
-
-
由 hjyp 提交于
* 移除 declarative 接口 * 修改 CI报错,清理注释
-
- 09 12月, 2022 1 次提交
-
-
由 姜永久 提交于
-
- 01 12月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean]Migrate utils files and delete dygraph_to_static dir * fix setup.py.in * fix import * fix unittest * fix code style * fix unittest
-
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 28 11月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean] Migrate program_translate.py/jit.py into paddle.jit dir
-
- 08 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U004] unecessary explicit `object` inheritance in class definition * fix an increment
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 17 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988) * autofix * try resolve precision issues * revert some changes * clean some `err_msg` * 0.0001 -> 1e-4 * update commented assert code * try to fix some shape errors * `numpy` -> `np` * empty commit, trigger kunlun ci, test=kunlun * empty commit, retrigger kunlun ci, test=kunlun * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun * try fix npu import error, test=kunlun
-
- 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
-
- 01 7月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Polish break/continue statement transformer logic
-
- 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
-
- 30 3月, 2022 1 次提交
-
-
由 0x45f 提交于
* Switch some dy2st UT to eager mode * Add UT
-
- 05 8月, 2021 1 次提交
-
-
由 Guoxia Wang 提交于
* support bool dtype for paddle.sum
-
- 26 10月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Join break cond with while cond * remove usless code * refine the if code * Split into BreakTransfromOptimizer * add BreakTransformOptimizer in ast_transformer * add more comment
-
- 05 6月, 2020 1 次提交
-
-
由 liym27 提交于
* cast var in convert_logical_XX. * Add convert_ifelse function in convert_operators.py * Add logical_transformer. Remove LogicalTransformer from loop_transformer.py * Revert modified tests in PR24799(convert_while_stmt). * Comment and modify code that doesn't support `return` statement. * Remove unnecessary class: MergeAssignTransformer, NodeTestTransformer and IfConditionVisitor in ifelse_transformer.
-
- 03 6月, 2020 1 次提交
-
-
由 liym27 提交于
* Support convert_while_loop. * Comment code that not supported 'if' in test_break_continue. * Convert int into tensor to support 'if' stmt in for/while loop. * Add unittest to test all cases of convert_logical_XX. * Add unittest to test all cases of convert_while_loop. * Fix bug in LogicalOpTransformer. test=develop
-
- 08 5月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to train in static * support to independent decorator * remove in_dygraph_mode condition in ProgramTranslator * fix import param_guard and add train/eval test=develop * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
-
- 04 4月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
This CR makes two changes: 1. In old loop_transformer, if a class variable, such as "self.a, foo.bar" is a loop var, the Dy2stat will fail because `def func(self.foo)` is not legal syntax. We support class variable by renaming. 2. After https://github.com/PaddlePaddle/Paddle/pull/22892 is merged, we can support `while x < 10` in dygraph. I enable those tests in corresponding Dy2stat
-
- 25 3月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
This PR does exact the thing as the title. The reason is that we plan to develop 4 decorators "dygraph_to_static_code" "dygraph_to_static_program" "dygraph_to_static_func" "dygraph_to_static_output" The 4 decorators will emphasize different part when translating dygraph to static graph. Decorator name "dygraph_to_static_graph" is too big for the function it implements.
-
- 19 3月, 2020 2 次提交
-
-
由 Aurelius84 提交于
-
由 Huihuang Zheng 提交于
1. Add support for Break and Continue in Dygraph to Static 2. Also add support for gast.Not in NodeTestTransformer 3. Also add support for logical op transformation in LoopTransformer
-