1. 26 4月, 2023 1 次提交
    • S
      Optimize c_embedding op in deterministic mode (#53197) · 35f5c245
      sneaxiy 提交于
      * optimize embedding deterministic mode
      
      * fix compile error
      
      * change FLAGS_cudnn_deterministic to int64
      
      * fix 700 error
      
      * add ut
      
      * fix ut
      
      * fix ut
      
      * fix win32 ci
      
      * fix flags with PHI_DEFINE_EXPORTED_int64
      35f5c245
  2. 25 4月, 2023 1 次提交
    • Y
      [PHI]Add flags macro for PHI (#52991) · 22e96bde
      YuanRisheng 提交于
      * add flags for phi
      
      * fix compile bugs
      
      * fix ci bugs
      
      * fix inference bugs
      
      * fix cinn' bugs
      
      * fix cinn bugs
      
      * perfect code according comment
      
      * fix ci bugs
      
      * fix ci bugs
      22e96bde
  3. 23 4月, 2023 1 次提交
  4. 21 4月, 2023 4 次提交
  5. 20 4月, 2023 1 次提交
  6. 19 4月, 2023 1 次提交
  7. 18 4月, 2023 1 次提交
  8. 17 4月, 2023 1 次提交
  9. 14 4月, 2023 2 次提交
  10. 13 4月, 2023 3 次提交
  11. 12 4月, 2023 1 次提交
  12. 10 4月, 2023 2 次提交
  13. 07 4月, 2023 3 次提交
  14. 05 4月, 2023 1 次提交
  15. 04 4月, 2023 1 次提交
    • R
      Improve new executor static build (#51149) · 5bac67d4
      Ruibiao Chen 提交于
      * Improve new executor static build
      
      * Skip GC for static build
      
      * Skip infershape for static build
      
      * Handle read_op
      
      * Add fused_attention to OpsWithFluidKernelNeedMoveToPhi
      
      * Fix argsort typos
      
      * Add sequence_pool to OpsWithFluidKernelNeedMoveToPhi
      
      * Fix skip share lod errors
      
      * Fix errors for adam
      
      * Fix errors for eigvals, memcpy and fake_quantize
      
      * Add static_build.cc
      
      * Add black list
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Fix TensorArray
      
      * Fix TensorArray
      
      * Add update_loss_scaling to OpsNeedSetOutputDtypeWhenRegisterPhiKernel
      
      * Fix copy
      
      * Fix errors
      
      * Fix momentum
      
      * Skip mkldnn
      
      * Fix CI errors
      
      * Fix c_sync_calc_stream_op
      
      * Fix CINN
      
      * Fix while op
      
      * All CI pass, disable FLAGS to merge code, enable it after more tests in future
      
      * Add UTs
      
      * Fix typos
      
      * Fix typos
      
      * Add mkldnn UT
      
      * Remove mkldnn test
      
      * Fix typos
      
      * Fix dist test
      
      * Fix typos
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Add UTs
      
      * Fix typos
      
      * Fix typos
      
      * Add sparse tests
      
      * ToComplexType -> ToComplex
      
      * Add test_matmul_op_static_build to disable_win_inference_test
      5bac67d4
  16. 03 4月, 2023 2 次提交
  17. 31 3月, 2023 4 次提交
    • 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
    • G
      FIX_LINUX_Wternimate (#52307) · ffff133b
      Galaxy1458 提交于
      * this is a test pr, test=develop
      
      * solve the four [-Wterminate] warning, test=develop
      
      * solve the four [-Wterminate] warning, test=develop
      
      * new fix [-Wterminate], test=delelop
      
      * new fix [-Wterminate], test=delelop
      
      * new fix [-Wterminate], test=delelop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      ffff133b
    • Y
      [PHI Decoupling]Remove distribute header (#52202) · e923642e
      YuanRisheng 提交于
      * remove distribute
      
      * fix py3 bugs
      
      * fix gpu-ps bugs
      
      * fix compile bugs
      
      * fix unittest bugs
      e923642e
    • S
      50c949f0
  18. 30 3月, 2023 1 次提交
  19. 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
    • L
      add support to set chunk size of auto_growth_allocator (#52204) · b3efc923
      Leo Chen 提交于
      * add flag to set chunk size
      
      * use the flag
      
      * add vlog
      
      * add ut
      
      * rename ut
      b3efc923
  20. 27 3月, 2023 2 次提交
  21. 24 3月, 2023 1 次提交
    • 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
  22. 23 3月, 2023 1 次提交
  23. 21 3月, 2023 2 次提交
    • iSerendipity's avatar
      [PHI decoupling] Move DataType* from paddle:experimental to phi namespace (#51716) · 4638a62e
      iSerendipity 提交于
      * move DataType from paddle::experimental to phi
      
      * convert namespace
      
      * convert namespace
      
      * convert namespace
      
      * clarify namespace
      
      * convert more datatype
      
      * Revert "convert more datatype"
      
      This reverts commit 083b462959e6a22d4d8767707b628b95b396642e.
      
      * convert more in auto_code_generator
      
      * fix conflicts for XPU
      
      * fix namespace conflicts
      
      * fix errors
      
      * Revert "fix errors"
      
      This reverts commit f9d9958b54ee32141112274c8a5c3c381ab0f876.
      
      * fix errors
      
      * fix formatting
      4638a62e
    • zhouweiwei2014's avatar
      [Zero-Dim] Support 0D for... · c74aaf67
      zhouweiwei2014 提交于
      [Zero-Dim] Support 0D for numel/rank/size/optimizer/create_parameter/create_global_var, fix some usage to adapt 0D (#51566)
      
      c74aaf67
  24. 20 3月, 2023 1 次提交