1. 14 4月, 2023 3 次提交
    • 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
    • K
      rem cncl (#52434) · 25bd5ed8
      Kim Yann 提交于
      25bd5ed8
    • R
      f8d09011
  2. 13 4月, 2023 1 次提交
  3. 12 4月, 2023 1 次提交
  4. 11 4月, 2023 3 次提交
  5. 10 4月, 2023 4 次提交
  6. 08 4月, 2023 2 次提交
  7. 07 4月, 2023 1 次提交
  8. 06 4月, 2023 3 次提交
  9. 05 4月, 2023 1 次提交
  10. 04 4月, 2023 1 次提交
    • Y
      Add Gloo Gather Function (#52334) · 5f6376b7
      yuehuayingxueluo 提交于
      * add gloo gather
      
      * add gloo_tools
      
      * fix CI bug
      
      * use gloo gather
      
      * remove redundant code
      
      * fix process_group_gloo.py
      
      * rename send_recv
      
      * fix conflict
      
      * fix conflict
      
      * fix codestyle
      
      * fix CI bug
      
      * add PADDLE_ENFORCE_NE
      5f6376b7
  11. 03 4月, 2023 2 次提交
  12. 01 4月, 2023 2 次提交
  13. 31 3月, 2023 2 次提交
    • zhenhailiu's avatar
      gather with doc (#52105) · 77d24854
      zhenhailiu 提交于
      * gather with doc
      
      * resolve comment
      
      * polish
      
      * polish
      
      * code style
      
      * polish doc
      
      * add_test
      
      * polish
      
      * polish
      
      * add test check
      
      * add test check
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * fix_time_out
      
      * polish
      
      * fix timeout
      
      * fix_timeout
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      77d24854
    • H
      [CustomOP Optional Inplace] Custom op supports inplace optional tensor (#52216) · fcd77346
      HongyuJia 提交于
      * [CustomOP Inplace] Automap inplace dtype and shape, prepare for vector<Tensor> output
      
      * delete custom_inplace_setup.py
      
      * [CustomOP Optional Inplace] Custom operator supports inplace optional Tensor input
      
      * fix bug for vector<Tensor> inplace test
      fcd77346
  14. 30 3月, 2023 4 次提交
  15. 29 3月, 2023 4 次提交
  16. 28 3月, 2023 2 次提交
    • F
      Add basic functionalities to support Scalar & Scalars in op attr (#51984) · 2e9fd5e4
      Feiyu Chan 提交于
      Add basic functionalities to support Scalar & Scalars in operator attribute.
      
      1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types;
      2. Scalar enhancement, add formatting, equality;
      3. add code to handle Scalar & Scalars in opmaker, conversion from  paddle operator to phi kernel, opdesc construction and manipulation,  tensorrt converter, tracer, operator construction, etc;
      4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`;
      5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto);
      6. add code to manipulate Scalar proto message via protobuffer python API;
      
      Add unittests.
      
      1. add test cases for formatting, equality for Scalars, and WrapAsScalars;
      2. add test cases for 'casting' between different morphs of attributes;
      3. add test cases for extracting scalar & scalars from attribute;
      4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset);
      5. fix gmock's library filename on windows platform.
      6. clean code: use canonicalize_attrs instead of inlining the function;
      7. add test cases for libpaddle.Scalar in python code.
      8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
      2e9fd5e4
    • W
      Del old dygraph optest7 (#51999) · 6d0fa6f2
      wanghuancoder 提交于
      * delete old dygraph op test
      6d0fa6f2
  17. 27 3月, 2023 3 次提交
  18. 24 3月, 2023 1 次提交