1. 01 3月, 2021 1 次提交
    • C
      [Cherry-pick] The 4th part of new custom op (#31282) · 777d1a45
      Chen Weihang 提交于
      * modify custom op dependent from paddle_framework to paddle_custom_op (#31195)
      
      * [Custom Op] Remove unsupport dtypes (#31232)
      
      * remove remove_unsupport_dtype
      
      * remove remove_unsupport_dtype
      
      * remove test dtype
      
      * add more include
      
      * change dtype.h's enum as enum class to avoid conflict with inference lib
      
      * make enum as enum class
      
      * remove additional test
      
      * merge develop
      
      * polish code
      
      * [Custom OP] Support stream set on Custom Op (#31257)
      
      * [Custom OP] change the user header file format, test=develop (#31274)
      
      * [Custom OP]add PD_THROW and PD_CHECK for User Error message (#31253)
      
      * [Custom OP]add PD_THROW and PD_CHECK for User error message
      
      * PD_THROW and PD_CHECK, fix comment
      
      * fix Windows error message
      
      * fix Windows error message
      
      * fix CI
      
      * [Custom OP]add MSVC compile check on Windows (#31265)
      
      * fix test_check_abi
      Co-authored-by: NZhou Wei <52485244+zhouwei25@users.noreply.github.com>
      Co-authored-by: NJiabin Yang <marsyang199376@gmail.com>
      Co-authored-by: N石晓伟 <39303645+Shixiaowei02@users.noreply.github.com>
      Co-authored-by: Nzhouwei25 <zhouwei25@baidu.com>
      777d1a45
  2. 26 2月, 2021 1 次提交
  3. 23 2月, 2021 1 次提交
  4. 03 2月, 2021 1 次提交
  5. 14 1月, 2021 1 次提交
  6. 13 1月, 2021 1 次提交
  7. 08 1月, 2021 2 次提交
    • H
      [Cherry-pick] amp related PR cherry pick into Release/2.0 (#30212) · 9f7c66b4
      huangxu96 提交于
      * Optimizer trans momentum (#29597)
      
      * merge amp related function in Momentum from paddle.fluid.contrib.optimizer into paddle.optimizer.
      
      * Add unittest for 2.0  Momentum API.
      
      * fix some bugs in weight_decay.
      
      * add alias for fluid.contrib.mixed_precision (#29562)
      
      * add alias for fluid.contrib.mixed_precision
      
      * add static.amp into setup.pu.in (#29621)
      
      * add static.amp into setup.pu.in
      
      * add unittest for api
      
      * fix a bug in multi_precision_fp16 unittest. (#29756)
      9f7c66b4
    • 1
      【2.0API CherryPick】LookAhead, ModelAverage, IndexSelect (#30205) · 3ce4d34d
      123malin 提交于
      * Add Lookahead and ModelAverage Optimizer (#30004)
      
      * test=develop, add model_average and lookahead
      
      * Improve Index select cuda kernel (#30139)
      
      * test=develop, add index_select_cuda kernel
      3ce4d34d
  8. 29 12月, 2020 2 次提交
  9. 07 12月, 2020 1 次提交
  10. 13 11月, 2020 1 次提交
    • C
      Add ONNX Exporter (#27831) · c545b9b6
      channings 提交于
      * add onnx export module, test=develop
      
      * add unit test for paddle.onnx.export
      
      * adjust api & doc
      
      * fix some typo
      c545b9b6
  11. 06 11月, 2020 1 次提交
  12. 03 11月, 2020 1 次提交
  13. 26 10月, 2020 1 次提交
  14. 30 9月, 2020 1 次提交
  15. 29 9月, 2020 1 次提交
    • H
      [Dy2stat] Refine Dy2stat APIs to 2.0rc (#27430) · cc2fc938
      Huihuang Zheng 提交于
      Refine Dy2stat APIs to 2.0rc
      
      After discussion, we accepted 3 key points from reviewers:
      
      1. In 2.0rc we changed dygraph_to_static folder to dy2static
      2. Keep the three files: convert_call_func.py, convert_operators.py, variable_trans_func.py
      3. Remove convert_operators path when users import convert_xxx. 
      
      After this PR, users can import convert_xxx APIs by:
      
      `import paddle.jit.dy2static.convert_xxx`
      
      The file structure will be:
      
      ```
      jit
          dy2static
                convert_operators.py
                convert_func_call.py
                variable_trans_func.py
      ```
      
      Detail changed API in files:
      
      In python/paddle/jit/dygraph_to_static/convert_call_func.py:
      from ...fluid.dygraph.dygraph_to_static.convert_call_func import convert_call  #DEFINE_ALIAS
      
      In python/paddle/jit/dygraph_to_static/convert_operators.py:
      from ...fluid.dygraph.dygraph_to_static.convert_operators import cast_bool_if_necessary  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_assert  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_ifelse  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_len  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_and  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_not  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_or  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_print  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_dtype  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_shape  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_while_loop  #DEFINE_ALIAS
      
      In python/paddle/jit/dygraph_to_static/variable_trans_func.py:
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_fill_constant_node  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_static_variable_gast_node  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import data_layer_not_check  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable  #DEFINE_ALIAS
      from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable_gast_node  #DEFINE_ALIAS
      cc2fc938
  16. 28 9月, 2020 1 次提交
  17. 23 9月, 2020 1 次提交
  18. 18 9月, 2020 1 次提交
  19. 07 9月, 2020 1 次提交
  20. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  21. 21 8月, 2020 1 次提交
    • Q
      support Baidu Kunlun AI Accelerator (#25959) · 138ecf24
      QingshuChen 提交于
      * support Baidu AI Accelerator
        * test=kunlun
      
      * minor
       * test=kunlun
      
      * support xpu op in separate file
       * test=kunlun
      
      * update XPU error message and remove duplicated code
      
       * test=kunlun
      
      * minor
       * test=kunlun
      
      * minor
       * test=kunlun
      138ecf24
  22. 20 8月, 2020 1 次提交
  23. 13 8月, 2020 2 次提交
    • D
      【paddle.fleet】paddle.fleet -> paddle.distributed.fleet. (#26186) · 50a5bcfc
      Dong Daxiang 提交于
      * move paddle.fleet to paddle.distributed.fleet
      50a5bcfc
    • L
      Feature/Enable Auto-Mixed-Precision in dynamic graph (#24903) · 2d95280e
      Leo Chen 提交于
      * add auto_cast, test=develop
      
      * add loss scaler, test=develop
      
      * add comments, test=develop
      
      * refine code, test=develop
      
      * refine code, test=develop
      
      * do not set flags automatically, test=develop
      
      * fix custom op bug, test=develop
      
      * add more test, test=develop
      
      * refine enable logic, test=develop
      
      * enable amp test with GPU, test=develop
      
      * add unittest
      
      * add test for found_inf
      
      * follow comments
      
      * follow comments
      
      * remove global variable, use singleton
      
      * add some notes
      
      * update comments
      
      * update comments
      
      * update comments
      
      * add use_dynamic_loss_scaling argument
      
      * refine found_inf
      
      * refine found_inf
      2d95280e
  24. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  25. 08 8月, 2020 1 次提交
  26. 07 8月, 2020 1 次提交
  27. 05 8月, 2020 1 次提交
  28. 31 7月, 2020 1 次提交
  29. 30 7月, 2020 1 次提交
  30. 24 7月, 2020 1 次提交
  31. 20 7月, 2020 1 次提交
  32. 15 7月, 2020 1 次提交
  33. 14 7月, 2020 1 次提交
    • C
      [Dy2static] Refactor ProgramTranslator save_inference_model API (#24989) · 41d22472
      Chen Weihang 提交于
      * experimental refactoring, test=develop
      
      * add TranslatedLayer & remove StaticModelRunner, test=develop
      
      * revert tracedlayer change, test=develop
      
      * fix test_mnist unittest error, test=develop
      
      * add doc & examples, test=develop
      
      * polish doc details, test=develop
      
      * add imperative.jit module, test=develop
      
      * change TranslatedLayer pos, test=develop
      
      * adjust jit module import path, test=develop
      
      * polish doc based review result
      
      * add SaveLoadConfig.separate_params to save paraams separately
      
      * add Layer.buffer support, test=develop
      
      * polish doc details based review result, test=develop
      
      * polish details baesd review comments, test=develop
      
      * add empty str check for param, test=develop
      
      * add unittests, test=develop
      
      * polish details based review comment, test=develop
      
      * remove blanks in comment, test=develop
      
      * polish doc details, test=develop
      
      * update imperative doc link, test=develop
      
      * add api attr for load, test=develop
      41d22472
  34. 11 7月, 2020 1 次提交
  35. 06 7月, 2020 1 次提交
  36. 29 6月, 2020 1 次提交
  37. 09 6月, 2020 1 次提交