- 14 3月, 2023 3 次提交
-
-
由 cxxly 提交于
-
由 xiongkun 提交于
* [CINN]Enhance CacheKey hash logic by considering input dtypes (#50557) * [CINN]Enhance CacheKey hash logic by considering input dtypes * add unittest * fix typo * fix typo * fix map.at * fix find * fix test * fix cinn cache key structure realize * using ordered map for attributes * add test by review advice --------- Co-authored-by: Njiangcheng <thisjiang@qq.com> * [prim] enable dygraph_to_static to support custom_vjp * fix code in a dy2static-friendly way. * [dystatic] add hooker for prim --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: Njiangcheng <thisjiang@qq.com> Co-authored-by: Ncxxly <chenxx_id@163.com>
-
由 cxxly 提交于
-
- 13 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* fix the only one circle import in call_transformer.py * move define of CONVERSION_OPTIONS from convert_call_func.py to program_translator.py * delete the self import of program_translator.py * fix import failed problem * define variable in utils.py * move is_builtin to utils.py * move is_builtin to utils.py * fix import errors * fix import errors * fix something * Update python/paddle/jit/dy2static/call_transformer.py Co-authored-by: NAurelius84 <zhangliujie@baidu.com> * Update python/paddle/jit/dy2static/call_transformer.py --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
- 09 3月, 2023 2 次提交
-
-
由 zqw_1997 提交于
* move fluid.utils to paddle.utils.layers_utils * fix error * delete original fluid layers utils * remove import and old utils * remove more old utils import * change import path of fill_constant in the layers_utils.py * fix mistake * fix error * expose in __init__.py * for comment * when change the ref of func is_sequence, it should change to the root of is_sequence instead * for codecheck
-
由 Aurelius84 提交于
* [Dy2St]Enhance @to_static auto-skip paddle inner API * fix comment * fix class method
-
- 02 3月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] bugfix: make stop_gradient a cache key 1. make stop_gradient cache key in dy2static. * fix ci errors * fix ci error * fix ci error * fix ci error
-
- 24 2月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
* change amp with to_prim * fix prim amp * fix rules * fix liear * add amp test * add test * disable this test on cpu * disable this test on cpu --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
-
- 21 2月, 2023 3 次提交
-
-
由 Charles-hit 提交于
* support prim test in OpTest * fix cmake * fix op test * fix test_input_spec * disable cinn in reduce_sum unit test * add bfloat16 dtype for sum * polish code * add clear jit program function * convert grad out from tensor to numpy * remove unnecessary code * add only_prim flag * fix flag * fix op test * fix optest comp inplace error * fix op test * fix op test with guard * add initialization of check_comp flag * fix comp inplace error in op test * rename check_comp with check_prim and add bfloat16 dtype convert * rename comp_op_type to prim_op_type * rename comp to prim * remove useless code * skip ci check for only prim * add no_grad_vars and grad_outputs in prim test * fix var_dict * fix op test for only_prim * fix dy2static bugs * polish some code
-
由 WangZhen 提交于
* Flatten input_spec when check neg shape * Fix cycle import
-
由 WangZhen 提交于
* Check -1 shape for input_spec and program when prim or cinn enabled * Polish neg shape check * Polish code * Fix UT * Fix UT in static
-
- 20 2月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] support fallback for whole graph. (stage 1) * bug fix * bug fix and add a new unittest * fix code by code review * fix coverage * [dy2static] ParameterRecorder Part 2 * Parameter Recorder - 2 bug fix * bugfix: fix the dygraph go into _jst.ld() errors. * fix ci error. * fix ci error
-
- 14 2月, 2023 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2St]Enhance @not_to_static API * del breakpoint()
-
- 08 2月, 2023 1 次提交
-
-
由 cyber-pioneer 提交于
* add flag * change flag * use prim flag * fix code * fix softmax prim flag * set case timeout
-
- 03 2月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] support fallback for whole graph. (stage 1) * bug fix * bug fix and add a new unittest * fix code by code review * fix coverage
-
- 20 1月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
-
- 17 1月, 2023 1 次提交
-
-
由 cyber-pioneer 提交于
* support @to_static+to_prime+cinn * fix code logic * debug4 * debug5 * debug6 * debug7 * debug 8 * debug 9 * debug10 * debug11 * debug11 * debug 12 Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
- 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__
-
- 09 1月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [Dy2static] Add ParameterRecorder * filter by shape(tensor)==0 * fix code by review * fix random failed in CI. (especially coverage) * fix bugs * remove API changes to avoid static CI approval
-
- 30 12月, 2022 1 次提交
-
-
由 Sanbu 提交于
* 1219 * temporarily change the num_diff_files limit, test=document_fix * Revert "temporarily change the num_diff_files limit, test=document_fix" This reverts commit 8e70f00ef468d2dad0e38b3da06295ed62990d20. * for codestyle * remove duplicate license * `static mode` -> `static graph mode` * Update hybrid_parallel_inference.py * Update layer_function_generator.py * Update manipulation.py * reset Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 13 12月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* isort jit * refine comment
-
- 08 12月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [API Clean]Clean __all__ to avoid exposing usless API * fix import * fix typo * remove tracedLayer unittest
-
- 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 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean]Migrate if/while/return/break transformer into paddle.jit * migrate call_transformer * migrate call_transformer
-
- 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
-
- 03 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U008] remove unnecessary args in `super()` * remove remained args * revert changes in test_pylayer_op * Revert "revert changes in test_pylayer_op" This reverts commit ff185a9ae738afac3b0264f61bde6c6b7f72e7c4. * revert some changes in example code
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 19 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 21 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
-
- 14 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* trim trailing whitespace * fix `.cmake-format.py` * revert npu ut changes, avoid npu ci error
-
- 09 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
* convert_call support staticmethod for class. * while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container * add unittest for staticmethod convert_call * fix bugs * add unittest for item interface * fix bugs * change to np.testing.assert_allclose * code format * fix comments. * code format
-
- 02 8月, 2022 1 次提交
-
-
由 WangZhen 提交于
* Fix to_static error when call to_static to convert a method of a common class * raise typerror when class no inherits from layer * Fix @to_static
-
- 30 6月, 2022 1 次提交
-
-
由 Hui Zhang 提交于
* save multi program into one param and seperate model * export class property
-
- 09 6月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2stat]Add RollBack into original dygraph function for @to_static * fix unittest * [Dy2Stat]Support deepcopy Net instance after @to_static
-
- 08 6月, 2022 1 次提交
-
-
由 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 提交于
-