1. 21 8月, 2023 1 次提交
  2. 17 8月, 2023 1 次提交
  3. 10 8月, 2023 2 次提交
  4. 08 8月, 2023 1 次提交
  5. 07 8月, 2023 1 次提交
    • X
      [dy2static] PaddleSOT pr (#54202) · c1913a5f
      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>
      c1913a5f
  6. 04 8月, 2023 1 次提交
  7. 31 7月, 2023 1 次提交
    • N
      [xdoctest] reformat example code with google style in `paddle/jit` (#55645) · 0c3b3698
      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
      0c3b3698
  8. 19 7月, 2023 1 次提交
    • J
      disable __setitem__ in static mode & add API paddle.static.setitem with dy2st strategy (#53682) · 7849d58d
      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>
      7849d58d
  9. 12 6月, 2023 1 次提交
  10. 02 6月, 2023 1 次提交
  11. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      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
      3794d171
  12. 11 4月, 2023 1 次提交
  13. 10 4月, 2023 1 次提交
  14. 09 4月, 2023 1 次提交
  15. 04 4月, 2023 2 次提交
  16. 30 3月, 2023 1 次提交
    • C
      [Prim] fix loss of composite rule (#52120) · a4e0f666
      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
      a4e0f666
  17. 29 3月, 2023 1 次提交
  18. 23 3月, 2023 1 次提交
  19. 21 3月, 2023 1 次提交
    • G
      【fluid clean】remove fluid.data (#50699) · 72c711bb
      GGBond8488 提交于
      * remove fluid.data
      
      * fix typro
      
      * fix somme unitest error
      
      * fix conflicts
      
      * fix sample code error
      
      * fxi sample coder error
      
      * fxi sample code error
      
      * fxi sample code error
      
      * fix xpu test error
      
      * fix xpu test error
      
      * Delete ps_pb2.py
      
      * fix test error
      
      * fix typro
      
      * fix sample code error
      
      * fix comments
      
      * fix test norm op data
      
      * fix sample code error
      
      * fix conflicts
      72c711bb
  20. 20 3月, 2023 2 次提交
    • A
      [CodeStyle][UP004] remove useless object inheritance (#51771) · 9983892e
      Ainavo 提交于
      * add_up004_for_ruff
      
      * 修改配置文件并清除object
      
      * fix md
      9983892e
    • G
      【fluid clean】Move out layers and layers helper (#49415) · 1d5cad23
      GGBond8488 提交于
      * remove no used fluid beam_search_decoder
      
      * move Layer and related helper to paddle.nn.common
      
      * modify Layer references from dygraph.layers.Layer to paddle.nn.common.layers
      
      * stash changge
      
      * remove fluid layer_object_helper, layers.py
      
      * remove fluid layers init
      
      * add setip
      
      * fix unitest
      
      * delete layers in fluid.dygraph
      
      * merge paddle.tensor.stat,py
      
      * fix circle import
      
      * fix curcle import
      
      * remove redundant in_dygraph_mode import
      
      * revoce paddle.nn.common.* in fluid.__init__
      
      * recovery nn.rnn
      
      * paddle.frame use lazy import import paddle.jit to avoid circle import
      
      * remove left dygraph.layers ref
      
      * merge develop
      
      * fix import error
      
      * fix test error
      
      * fxi merge error
      
      * fix test fluid.Layer
      
      * fix test error
      
      * fix test error
      
      * fix import error
      
      * fix import error
      
      * fix comments
      
      * fix circle import
      
      * fix rnn import error
      
      * fix circle import
      1d5cad23
  21. 17 3月, 2023 1 次提交
  22. 14 3月, 2023 6 次提交
  23. 13 3月, 2023 1 次提交
    • 【Hackathon No.89】 Remove circle import Part2 (#51199) · 34358de5
      张春乔 提交于
      * 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>
      34358de5
  24. 09 3月, 2023 2 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      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
      86e990d4
    • A
      [Dy2St]Enhance @to_static auto-skip paddle inner API (#50596) · 4474e085
      Aurelius84 提交于
      * [Dy2St]Enhance @to_static auto-skip paddle inner API
      
      * fix comment
      
      * fix class method
      4474e085
  25. 02 3月, 2023 1 次提交
  26. 24 2月, 2023 1 次提交
  27. 21 2月, 2023 3 次提交
    • C
      [OpTest] support prim test in OpTest (#50509) · 457defe7
      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
      457defe7
    • W
      Flatten input_spec when check neg shape (#50692) · 9b0b155b
      WangZhen 提交于
      * Flatten input_spec when check neg shape
      
      * Fix cycle import
      9b0b155b
    • W
      Check -1 shape for input_spec and program when prim or cinn enabled (#50473) · 1e7dc9c0
      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
      1e7dc9c0
  28. 20 2月, 2023 1 次提交
  29. 14 2月, 2023 1 次提交