- 31 7月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
* [xdoctest] reformat example code for paddle.jit.api * test=docs_preview * add some ... for decorator * skip some example, test=docs_preview * add ..., test=docs_preview * skip some test, test=docs_preview * more jit files, test=docs_preview * remove some empty lines, test=docs_preview * format program translator, test=docs_preview * remove a blank line, test=docs_preview * skip translated layer.program, test=docs_preview * fix doc format, test=docs_preview
-
- 27 7月, 2023 1 次提交
-
-
由 hong 提交于
* add kernel dialect * change DenseTensorTypeStorage to DenseTensorType * add test case` * add first pd_op to kernel dialect * lower pd op to kernel dialect * update * update * remove useless code * add attrite print test * fix bug * update * update * update * update * polish code * fix bug * polish code and add python test * add test * fix test error * relax constraint when inserting get_parameter * add env flag * fix bug * dygraph2static support new ir * fix bug * revert test env * change cc_test_old to cc_test * update * fix build_static bug * update test * fix type test error * udpate cmake * disable test in windows * fix inference compile * fix program translator error * only run on cpu, not support gpu yet * fix conflict * polish code * fix bug * add feed with place op * update * remove useless unitest * udpate mkldnn * update * update * align mkldnn version * new ir support builtin slice op * fix bug * fix phi kernel adaptor bug * add enable static * add enable_static * remove useless test case * change feed list to single variable * update * add feed with place and shaddow output op * fix bug * remove usless code * support gpu * fix bug * fix bug * remove template * add more data type * fix cimpile bug * udpate * remove useless code * revert dygraph2st test * remove usless code * revert op * fix bug * remove instance norm * fix concat grad bug * revert code --------- Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
-
- 26 7月, 2023 1 次提交
-
-
由 JYChen 提交于
* remove api staticrnn * move select_input/output to static/controw flow * delete some func, only remain Switch * clean fluid.layers.controw_flow * remove fluid.layers.controlflow * fix conditional_block ut
-
- 20 7月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 19 7月, 2023 1 次提交
-
-
由 JYChen 提交于
* add paddle.static.setitem * add some help doc * support setitem * support machanism * add more unittest * remove usless code * raise error in static setitem * fix d2s UT * remove static only for both-used code * fix bool set_value in static, fix set_value_op UT * fix unittests * [May case some error]: remove inplace-version check * add two test case for dy2st * fix function in vision * fix dy2st setitem support, refine UT case * fix slice in static_mode * add ParametersMap * remove pop * modify place * [fix]: variable is also a tensor * rewrite some ut & remove slicetransformer in dy2st * solve error in static-mode * fix ut * return a result for set_array_write * fix test_set_value_op_xpu * code is different in dynamic / static mode --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
-
- 18 7月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 10 7月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 07 7月, 2023 1 次提交
-
-
由 gouzil 提交于
* [jit] add copy-from; test=document_fix * [jit] add copy-from; test=document_fix * fix TracedLayer
-
- 12 6月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 09 6月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
* bump ruff to 0.0.271 and update config * exclude third_party * bump ruff to 0.0.272 * refine config
-
- 02 6月, 2023 1 次提交
-
-
由 haozi 提交于
* [IR] delete_wrapper * [IR] modify the ast_transformer core logic * [fix] modify the test_origin_info
-
- 22 5月, 2023 1 次提交
-
-
由 Meteor Liu 提交于
* [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() * fixed cyclic reference that caused patial import * fixed bad change * fix bad import * fix bad import * fix bad import * fix ut failed caused by change in_dynamic_mode * fix ut failed caused by change in_dynamic_mode * fixed usage of in_dynamic_mode() or in_dygraph_mode() * revert python3 to python in .pre-commit-config.yaml * fix merge conflicts
-
- 18 5月, 2023 1 次提交
-
-
由 co63oc 提交于
-
- 16 5月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 08 5月, 2023 1 次提交
-
-
由 yangguohao 提交于
-
- 28 4月, 2023 1 次提交
-
-
由 Meteor Liu 提交于
-
- 27 4月, 2023 2 次提交
-
-
由 WangZhen 提交于
[Dy2St]Get grad names when call append backward to fix high order gradient (#53250)
-
由 yangguohao 提交于
-
- 25 4月, 2023 1 次提交
-
-
由 qizhaoaoe 提交于
* fluid clean: remove print/switch from fluid to static * remove Switch in static.__init__ * fix conflicts. * replace Switch by case. * fix piecewise_lr decay. * fix typo * fix conflicts. * fix lr dtype * keep Switch in paddle.static.nn.control_flow and fix piecewise_lr. * fix conflicts. * keep Switch in the fluid. * fix Switch doc * fix example in Switch doc * fix Switch doc. * fix static/__init__.
-
- 24 4月, 2023 1 次提交
-
-
由 Zhang Ting 提交于
* support promote dtype for static amp training * unify o1 and o2 * update for unittest * fix op_role * add use_promote arg * fix doc * add promote unittest * polish unittests * fix controflow and test
-
- 21 4月, 2023 1 次提交
-
-
由 JYChen 提交于
* support 0-D output and 0-D as indice in __getitem__ * fix tests * fix inference and UT * add unittest for setitem * fix xpu test * fix xpu 0-d
-
- 18 4月, 2023 1 次提交
-
-
由 Meteor Liu 提交于
* rename _varbase_creator as create_tensor * rename _varbase_creator as create_tensor
-
- 14 4月, 2023 2 次提交
-
-
由 Feiyu Chan 提交于
1. modify set_value op, use Scalars to represent attr `values`, instead of a bunch of attributs of various types; (#52408) 2. add program converter and set_value op as an example, which provides the functionality to convert `paddle::framework::ProgramDesc` between old and new formats(the differences are mainly some operators with incompatible updates in the definition); 3. program version and operator version map now are always saved when serializing `paddle::framework::ProgramDesc` to identify the version; 3. provide an option `legacy_format=false` in serialization of `paddle::framework::ProgramDesc`, it decided whether to convert ProgramDesc back to a legacy format, which is compatible for paddle 2.4.2 or earlier versions to load and execute; 4. deserialization of `paddle::framework::ProgramDesc` is now automatically detecting whether the bytes it receives is in legacy format(contains any of the operators that has been incompatibly updated and have any attribute of type `Scalar`) and convert it to new format. But if you want a faithful deserialization without the automatic conversion, you can use protobuf's deserialization instead. Though it is not recommended, it can be used for the purpose of testing.
-
由 Yiqun Liu 提交于
* Unify the static amp codes of fp16 and bf16. * Polish apis and add unittest. * Add operator stats collecting tools for program. * Add the check of number of bloat16 operators in unittest. * Add warning for operator not supported for amp. * Add testing of BF16 O1 and O2.
-
- 13 4月, 2023 1 次提交
-
-
由 WangZhen 提交于
* Fix _param_grad_names when like 'param@GRAD@GRAD'
-
- 11 4月, 2023 2 次提交
-
-
由 WangZhen 提交于
* Add backend for to_static API
-
由 Aurelius84 提交于
-
- 10 4月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 09 4月, 2023 1 次提交
-
-
由 cyber-pioneer 提交于
-
- 07 4月, 2023 3 次提交
-
-
由 kangguangli 提交于
* remove run_program * remove FLAGS_USE_STANDALONE_EXECUTOR
-
由 WangZhen 提交于
-
由 feifei-111 提交于
* fix dy2s grad name parse * pre-commit * bug fix * Fix grad/ error * Format code --------- Co-authored-by: N0x45f <wangzhen45@baidu.com>
-
- 04 4月, 2023 2 次提交
-
-
由 Nyakku Shigure 提交于
Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
-
由 Jiabin Yang 提交于
* fix_prim * fix bug * add note * fix logic * fix * add note * fix check * fix bug * fix bug * fix bug * add debug * fix check * fix bug * sync print log * fix test case * change default * support jit save with fuse * add more check * sync with pr 52120 * add more ut --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
-
- 31 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* autofix Co-authored-by: NLiyulingyue <83450930+Liyulingyue@users.noreply.github.com> * revert changes in python/paddle/distributed/fleet/utils/hybrid_parallel_util.py * empty commit, trigger ci * fix test_slice --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 30 3月, 2023 3 次提交
-
-
由 cyber-pioneer 提交于
* fix_prim * fix bug * add note * fix logic * fix * add note * fix check * fix bug * fix bug * fix bug * add debug * fix check * fix bug * sync print log * fix test case * change default * change test case time
-
由 cyberslack_lee 提交于
[CodeStyle][C416][C417] rewrite unnecessary comprehension with function call and use generator instead of map (#52140) * codestyle c416 c417 * fix error * fix inc * unify all C4 rules into one * fix inc --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
- 29 3月, 2023 2 次提交