1. 05 9月, 2023 1 次提交
  2. 30 8月, 2023 2 次提交
    • K
      [NewIR] fix logical op infermeta (#56711) · 987cb97e
      kangguangli 提交于
      * fix logical op infermeta
      
      * add test
      
      * adpat inplace api
      987cb97e
    • H
      Add paddle custom flags support (#56256) · 2ef4ec71
      huangjiyi 提交于
      * update
      
      * repalce gflags header
      
      * replace DEFINE_<type> with PD_DEFINE_<type>
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * update cmake
      
      * add :: before some paddle namespace
      
      * fix link error
      
      * fix CI-Py3
      
      * allow commandline parse
      
      * fix SetFlagsFromEnv
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix CI-Coverage-build
      
      * fix CI-Windows-build
      
      * fix CI-Inference
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix inference api test
      
      * fix infer_ut test
      
      * revert infer_ut gflags usage
      
      * update
      
      * fix inference
      
      * remove flags export macro
      
      * revert inference demo_ci gflags usage
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix bug when turn on WITH_GFLAGS
      
      * turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * update
      
      * update and add unittest
      
      * add unittest
      
      * fix conflict
      
      * rerun ci
      
      * update
      
      * resolve conflict
      2ef4ec71
  3. 29 8月, 2023 1 次提交
  4. 28 8月, 2023 1 次提交
    • G
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_,... · c5fc413a
      GGBond8488 提交于
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509)
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * support sinh and cosh in cpu
      
      * support asin, acos, atan, asinh, acosh, atanh in cpu
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * support sinh and cosh in gpu
      
      * support asin, acos, atan, asinh, acosh, atanh in gpu
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * check complex in python
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * fix cast error
      
      * fix
      
      * Revert "check complex in python"
      
      This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05.
      
      * add renorm , fix error
      
      * add coverage
      
      * fix cumsum inpalce version error
      
      * add cast inpalce impl
      
      * rm test.log
      
      * fix multiply_dyfunction and add multiply_backward test
      
      * add and use is_same_tensor
      
      * fix typro
      
      * fix sone error
      
      * fix typro
      
      ---------
      Co-authored-by: NScotty <jmhgchn@gmail.com>
      Co-authored-by: NScotty <527407973@qq.com>
      c5fc413a
  5. 23 8月, 2023 1 次提交
  6. 22 8月, 2023 1 次提交
  7. 16 8月, 2023 1 次提交
    • H
      [NewIR]New ir support c concat (#56243) · fcde3991
      hong 提交于
      * support new ir load combine
      
      * update
      
      * polish code
      
      * remove print
      
      * support c concat
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish code
      
      * fix compile bug
      
      * polish code
      
      * remove useless code
      fcde3991
  8. 03 8月, 2023 1 次提交
  9. 02 8月, 2023 1 次提交
  10. 31 7月, 2023 1 次提交
  11. 13 7月, 2023 1 次提交
  12. 12 7月, 2023 2 次提交
    • H
      Support selected rows new ir (#54987) · fc66b5d7
      hong 提交于
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * update
      
      * support selected rows
      
      * update
      
      * add selectrows
      
      * fix bug
      
      * add ut
      
      * refine code
      
      * refien code
      
      * update
      
      * update
      
      * support selected rows
      
      * support selected rows
      
      * support dense tensor
      
      * remove useless code
      
      * polish code
      
      * remote standalone executor test
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      fc66b5d7
    • W
      [clang-tidy] enable `readability-container-size-empty` check (#55279) · be3a6fa7
      Wang Xin 提交于
      * [clang-tidy] enable readability-container-size-empty check
      
      * fix test_custom_kernel Failed
      
      * add clang-tid-10 in dockerfile
      
      * add clang-tidy in dockerfile
      
      * fix bug
      be3a6fa7
  13. 11 7月, 2023 1 次提交
  14. 05 7月, 2023 1 次提交
    • H
      [NewIR]Fix tensor attribute translator bug (#55129) · bf92ccc7
      hong 提交于
      * suport optional input in new_ir
      
      * polish code
      
      * add coverate test
      
      * update
      
      * update
      
      * add unitest
      
      * remove reduplicate code
      
      * udpate
      
      * fix assign error
      
      * revert test arg min max
      
      * update
      
      * fix bug
      
      * polish code
      bf92ccc7
  15. 03 7月, 2023 1 次提交
  16. 27 6月, 2023 1 次提交
  17. 19 6月, 2023 1 次提交
  18. 14 6月, 2023 1 次提交
  19. 13 6月, 2023 1 次提交
  20. 08 6月, 2023 1 次提交
    • Y
      [AMP] Add check_numerics API. (#54301) · a5444592
      Yiqun Liu 提交于
      * Add outputs to check_numerics_kernel.
      
      * Add check_numerics to yaml.
      
      * Add API and unittest.
      
      * Add check_nan_inf_level as argument of check_numerics_kernel.
      
      * Add more unittests.
      
      * Fix static API implementation and unittest.
      
      * Move the implementation of check_numerics to paddle.amp.
      
      * Fix import error.
      a5444592
  21. 01 6月, 2023 1 次提交
  22. 26 5月, 2023 1 次提交
    • Y
      [PHI Decoupling]Create PHI shared lib (#53735) · da50a009
      YuanRisheng 提交于
      * create phi so
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * add file
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * perfect so
      
      * fix py3 bugs
      
      * delete all static target in phi
      
      * fix windows bugs
      
      * fix py3 bugs
      
      * fix ci bugs
      
      * fix windows bugs
      
      * fix bugs: gflags can't be linked by dynamic and static lib
      
      * fix bugs that can not load 3rd party
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix conflict
      
      * fix xpu bugs
      
      * fix mac compile bugs
      
      * fix psgpu bugs
      
      * fix inference failed
      
      * deal with conflict
      
      * fix LIBRARY_PATH bug
      
      * fix windows bugs
      
      * fix onednn error
      
      * fix windows compile bugs
      
      * fix windows compile bugs
      
      * fix test_cuda_graph_static_mode_error aborted
      
      * fix windows bugs
      
      * fix mac-python3 error
      
      * fix hip compile bugs
      
      * change mode to static
      
      * change to static mode
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix bugs
      
      * add static flag
      
      * add PADDLE_API
      
      * change position of PADDLE_API
      
      * fix windows bugs
      
      * change mode to dynamic lib
      
      * fix windows static bugs
      
      * deal with conflict
      
      * fix windows unit bug
      
      * fix coverage
      
      * deal with conflict
      
      * fix windows-inference
      
      * fix py3 bugs
      
      * fix bugs when compile type_info
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix windows openblas
      
      * fix xpu bugs
      
      * fix enforce_test in windows
      
      * update code according comment
      
      * fix windows cmake bug
      
      * fix windows bugs
      
      * fix windows bugs
      
      * delete cinn unittest
      
      * fix cinn bugs
      
      ---------
      Co-authored-by: HappyHeavyRain's avatarlzydev <1528794076@qq.com>
      da50a009
  23. 15 5月, 2023 1 次提交
    • N
      Tranpose layout (#53351) · 3dce9f0a
      niuliling123 提交于
      * update
      
      * Update backward.h
      
      * Update composite_backward_api.h
      
      * Update tensor_utils.cc
      
      * Update backward.cc
      
      * update
      
      * stype
      
      * update
      
      * add ctest
      
      * code stype
      3dce9f0a
  24. 09 5月, 2023 1 次提交
  25. 30 4月, 2023 1 次提交
  26. 28 4月, 2023 2 次提交
    • G
      【0D output】add_0D_output_support (#52857) · ef6e8d09
      GGBond8488 提交于
      * add 0d support for dist, trace, paddle.linalg.cond test=allcase
      
      * add_0d_output_support_for_det
      
      * test=allcase
      
      * support_0d_output_for_linalg.norm
      
      * support linalg.norm 0d output, test=allcase
      
      * fix 0D test
      
      * fix zero dim test, test=allcase
      
      * fix 0D test
      
      * fix tets,test=allcase
      
      * fix error,test=allcase
      
      * fix errors ,test=allcase
      
      * add static backward , test=allcase
      
      * add static backwward test, test=allcase
      
      * fix pr-ci-build error;test=document_fix (#53060)
      
      * [Cherry-Pick] Unique support float16&bfloat16 (#53023)
      
      unique支持float16和bfloat16数据类型,并完善相关单测。
      
      * slogdet_support_0D_output
      
      * add new case
      
      * fix tests, test=allcase
      
      * fix p_norm related test, test=allcase
      
      * fix some err, test=allcase
      
      * test=allcase
      
      * move out trace
      
      * open some case, test=allcase
      
      * fix norm all case, test=allcase
      
      * fix some test error, test=allcase
      
      * fix typro,test=allcase
      
      * fix test err, test=allcase
      
      * test=allcase
      
      * test
      
      * fix test error, test=allcase
      
      * fix test error, test=allcase
      
      * fallback norm, test=allcase
      
      ---------
      Co-authored-by: Ntianshuo78520a <707759223@qq.com>
      Co-authored-by: NZhang Zheng <32410583+ZzSean@users.noreply.github.com>
      ef6e8d09
    • Z
      [Zero-Dim] Support output 0D for squeeze, unbind, unstack. (#52843) · 6adfcdf6
      zqw_1997 提交于
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * fix test cases, test=allcase
      
      * fix test cases, test=allcase
      
      * modify the test_squeeze to not use Tensor type axis, test=allcase
      
      * add grad check for unbind and unstack, test=allcase
      
      * check for squeeze axis tensor type, test=allcase
      
      * fix bug, test=allcase
      6adfcdf6
  27. 25 4月, 2023 1 次提交
  28. 24 4月, 2023 1 次提交
  29. 22 4月, 2023 1 次提交
    • W
      [Zero-Dim] support output 0D for... · b406a7db
      wangfengsheng1999 提交于
      [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase (#52850)
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * add test case
      
      * modify dot/metric.accuracy/static.accuracy/static.auc
      
      * modfiy inner/tensordot bug
      
      * test 9 api
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase
      
      * fix bug
      
      * support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy
      
      * code style
      
      * fix bug
      
      * fix test_dot_op bug
      
      * fix accuracy bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * codestyle
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * code style
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * modify code
      b406a7db
  30. 21 4月, 2023 2 次提交
    • J
      support 0-D output and 0-D as indice in __getitem__/__setitem__ (#52814) · 4e939c89
      JYChen 提交于
      * support 0-D output and 0-D as indice in __getitem__
      
      * fix tests
      
      * fix inference and UT
      
      * add unittest for setitem
      
      * fix xpu test
      
      * fix xpu 0-d
      4e939c89
    • G
      【0D output】support 0D output for matrix_rank/multi_dot (#52861) · 47fa8066
      GGBond8488 提交于
      * support_0D_output_for_matrix_rank_multi_dot, test=allcase
      
      * add 0D output test for matrox_rank and mutli_dot test=allcase
      
      * fix assert error ,test=allcase
      
      * fix test error, test=allcase
      
      * fix other test error, test=allcase
      
      * fix other test error, test=allcase
      
      * fix test error, test=allcase
      
      * fix matrix_rank and multi dot test err test=allcase
      
      * fix test error test=allcase
      
      * fix test zero dim test, test=allcase
      
      * add static backward test for multi_dot, test=allcase
      
      * add tol 2d broadcast test case, test=allcase
      47fa8066
  31. 20 4月, 2023 1 次提交
  32. 19 4月, 2023 1 次提交
  33. 18 4月, 2023 1 次提交
  34. 17 4月, 2023 1 次提交
    • S
      Add output defs for some kernelsPhi register (#52941) · 23f87442
      Sonder 提交于
      * add register info for eigh and eig_gard
      
      * add sync_batch_norm_op.cu register info
      
      * add lamb output register info
      
      * add unique register info
      
      * change type name
      
      * change type name
      
      * add output register info for check_finite_and_unscale
      
      * update cmake and config file
      
      * add register info for adagrad
      
      * fix build error
      
      * add sync to run_unittests.sh
      
      * add register info for unique_consecutive
      
      * fix build error
      
      * add eigh to STATIC_BUILD_TESTS
      
      * update eig_kernel.cc
      
      * update eig_kernel.cc
      
      * fix infer mate error
      
      * fix unique register error
      
      * fix lamb register info error
      
      * fix lamb register info
      
      * update lamb register info
      
      * fix lamb
      
      * remove one Output Register
      
      * update static build file
      
      * add eigh op to disable_wingpu_test
      
      * update run_unittests
      23f87442
  35. 11 4月, 2023 1 次提交
  36. 10 4月, 2023 1 次提交