1. 03 4月, 2023 1 次提交
    • R
      Fix gcc12_error (#52085) · 7500ff61
      risemeup1 提交于
      * fix error,test=document_fix
      
      * test
      
      * fix gcc12_error
      
      * fix gcc12_error
      
      * fix gcc12_error
      
      * fix_gcc12_py3_error
      
      * fix_range-loop-construct_error
      
      * fix_gcc12_error
      7500ff61
  2. 01 4月, 2023 1 次提交
  3. 31 3月, 2023 2 次提交
  4. 30 3月, 2023 2 次提交
  5. 29 3月, 2023 5 次提交
  6. 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
    • H
      f98ff2ce
  7. 27 3月, 2023 2 次提交
  8. 24 3月, 2023 3 次提交
    • TaoTao Li's avatar
      add phi operator allreduce/reduce (#51857) · 47f87ad3
      TaoTao Li 提交于
      * add all_reduce, reduce kernel and api
      
      * fix all_reduce reduce ut
      
      fix reduce op maker conflict
      
      fix merge conflicts
      
      * fix conflicts, rename ReduceOp->ReduceBaseOp in reduce_ops
      
      rename allreduce op, to remove
      
      * fix code format
      
      fix comments
      
      * modify test_collective_reduce_api ut timeout
      
      * fix PR-CI-Build
      
      fix comments: format phi operator
      47f87ad3
    • R
      Fix ninja error (#49499) · 7415b101
      risemeup1 提交于
      * fix ninja error
      
      * fix_lite_ninja_error
      7415b101
    • Z
      Memory Efficient Attention (#51867) · e5ad3859
      ZhangDY-6483 提交于
      * first version, notest
      
      * return final rst, notest
      
      * use infinity() instead of max
      
      * ut structure
      
      * start up of ut
      
      * generate lse
      
      * update
      
      * add depense
      
      * reconstruct cmake
      
      * move file
      
      * add memory efficient attention and fix blasimpl
      
      * update
      
      * update cmake
      
      * add namespace
      
      * update cmake
      
      * use .cu
      
      * update for pad3d
      
      * bug fix
      
      * bug fix
      
      * update
      
      * bug fix
      
      * update enforce
      
      * add test case
      
      * merge the lse pad
      
      * fix kernel_fn of backward
      
      * fix PADDLE_ENFORCE_EQ and phi_api
      
      * fix PADDLE_ENFORCE
      
      * fix PADDLE_ENFORCE
      
      * rerun coverage
      
      * fix memory efficient attention test
      
      * rerun ci
      
      * add cuda version condition
      
      * add cuda version condition
      
      * delete WIP test
      
      * replace PADDLE_ENFORCE
      
      * edit the namespace of datatype in multiple.cc
      
      * rerun
      
      * rerun
      
      ---------
      Co-authored-by: Nliuyuang <liuyuang@baidu.com>
      e5ad3859
  9. 23 3月, 2023 2 次提交
  10. 22 3月, 2023 1 次提交
  11. 21 3月, 2023 2 次提交
  12. 20 3月, 2023 2 次提交
  13. 15 3月, 2023 2 次提交
  14. 13 3月, 2023 2 次提交
  15. 10 3月, 2023 1 次提交
  16. 09 3月, 2023 3 次提交
  17. 08 3月, 2023 2 次提交
  18. 07 3月, 2023 2 次提交
  19. 06 3月, 2023 1 次提交
  20. 03 3月, 2023 2 次提交