1. 14 4月, 2023 1 次提交
    • F
      1. modify set_value op, use Scalars to represent attr `values`, instead of a... · dd2a749a
      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.
      dd2a749a
  2. 12 4月, 2023 2 次提交
  3. 10 4月, 2023 1 次提交
  4. 09 4月, 2023 1 次提交
  5. 07 4月, 2023 1 次提交
  6. 31 3月, 2023 1 次提交
  7. 30 3月, 2023 2 次提交
  8. 29 3月, 2023 2 次提交
  9. 28 3月, 2023 4 次提交
  10. 27 3月, 2023 1 次提交
  11. 25 3月, 2023 2 次提交
  12. 23 3月, 2023 2 次提交
  13. 22 3月, 2023 3 次提交
  14. 21 3月, 2023 3 次提交
  15. 20 3月, 2023 1 次提交
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      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
      c985b1ac
  16. 16 3月, 2023 1 次提交
    • J
      [Auto Parallel Performance] Support BF16 Training (#51285) · 9ded5707
      JZ-LIANG 提交于
      * update env setting
      
      * update pass logic
      
      * dist op support bf16
      
      * backward cast update
      
      * update setting
      
      * update backward
      
      * revert amp pass
      
      * update fp16 backward logic
      
      * register c_embedding bf16
      
      * revert engine
      
      * add unitest
      
      * add unitest
      
      * update unitest
      
      * update cmake
      
      * update math
      
      * update math.py
      
      * update unitest
      
      * update unitest
      
      * revise unitest
      
      * revise unitest
      
      * update unitest
      
      * update unitest
      
      * update unitest
      9ded5707
  17. 13 3月, 2023 1 次提交
  18. 09 3月, 2023 1 次提交
    • 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
  19. 08 3月, 2023 1 次提交
  20. 06 3月, 2023 1 次提交
  21. 27 2月, 2023 3 次提交
  22. 22 2月, 2023 1 次提交
  23. 21 2月, 2023 1 次提交
  24. 16 2月, 2023 1 次提交
  25. 15 2月, 2023 1 次提交
    • X
      align tool (#49865) · 4632ca13
      xu98bin 提交于
      * auto parallel align tool
      
      * modify function get_var's return
      
      * add save and load in align_tool
      
      * modify load function and save function
      
      * add finding different ops in align tool
      
      * full auto parallel align tool
      
      add test file for auto parallel align tool
      
      set timeout for test
      
      modify get_backward_tmp_var function
      
      add annotation for align tool
      
      modify test file
      
      modify code to restart CI
      
      remove timeout
      
      * set timeout
      4632ca13
  26. 13 2月, 2023 1 次提交
    • Y
      [Auto Parallel] Fix a bug of dist_scale (#50288) · 7f7e9320
      Yulong Ao 提交于
      * [Auto Parallel] Rename methods of ProcessMesh
      
      * [Auto Parallel] Impl the python process_mesh by the c++ one
      
      * [Auto Parallel] Add some minor modifications
      
      * [Auto Parallel] Rename some methods
      
      * [Auto Parallel] Remove unnecessary codes
      
      * [Auto Parallel] Add back some removed files
      
      * [Auto Parallel] Fix bugs
      
      * [Auto Parallel] Fix a bug
      
      * Update process_mesh.cc
      
      * [Auto Parallel] Merge dist attrs of Python into C++
      
      * [Auto Parallel] Add back deleted importing
      
      * [Auto Parallel] Add back removed unittest
      
      * [Auto Parallel] Remove type qualifiers of return types
      
      * [Auto Parallel] Fix some bugs
      
      * [Auto Parallel] Fix a bug of the quant pass
      
      * [Auto Parallel] Fix the code style
      
      * [Auto Parallel] Clear some fluid APIs
      
      * [Auto Parallel] Fix a bug of dist_scale
      7f7e9320