1. 30 3月, 2023 2 次提交
    • H
      register fluid kerenls to phi [part 1] (#52014) · 93d01787
      huangjiyi 提交于
      * update assign_pos
      
      * update attention_lstm
      
      * update barrier
      
      * update batch_fc
      
      * update beam_search
      
      * update beam_search_decode
      
      * update bilateral_slice
      
      * fix bug
      
      * Handle Structure kernel for InterpreterCore::RunOperator
      
      * fix bug
      
      * fix rocm compile
      
      * fix rocm compile
      
      * Revert "fix rocm compile"
      
      * test
      
      * revert test and update cmake
      
      ---------
      Co-authored-by: Nchenruibiao <chenruibiao@baidu.com>
      93d01787
    • G
      Fix bug of c_softmax_with_cross_entropy_op_xpu_op (#52296) · 8ef97088
      Ghost Screaming 提交于
      * Support ignore_index for c_softmax_with_cross_entropy_op.
      
      * Polish code. Remove useless comments and add Testcase.
      
      * Polish code for TestCase.
      
      * Polish code.
      
      * Polish code style.
      
      * Polish code.
      
      * Change loss calculation formula and ignore_index dtype.
      
      * Polish TestCase.
      
      * Fix bug of c_softmax_with_cross_entropy_op_xpu_op. Attribute 'ignore_index'
      dtype is int64_t.
      8ef97088
  2. 29 3月, 2023 2 次提交
  3. 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
  4. 23 3月, 2023 1 次提交
    • H
      register fluid kerenls to phi (#51976) · cc9bbd5b
      Huang Jiyi 提交于
      * unify add_position_encoding
      
      * unify affine_channel
      
      * unify alloc_float_status
      
      * unify allreduce
      
      * unify alltoall
      
      * unify anchor_generator
      
      * unify ascend_trigger
      
      * fix bug
      
      * fix test
      cc9bbd5b
  5. 21 3月, 2023 1 次提交
    • 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
  6. 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
  7. 10 3月, 2023 1 次提交
  8. 23 2月, 2023 1 次提交
  9. 22 2月, 2023 1 次提交
  10. 21 2月, 2023 1 次提交
  11. 16 2月, 2023 1 次提交
  12. 13 1月, 2023 1 次提交
  13. 10 1月, 2023 1 次提交
  14. 09 1月, 2023 1 次提交
  15. 04 1月, 2023 1 次提交
    • H
      [Unify KernelKey] change OpKernelType->KernelKey (#49138) · 4383494f
      HongyuJia 提交于
      * execute use kernel_key first
      
      * change OpKernelType->KernelKey
      
      * fix py3 compile error, remove redundant header files
      
      * fix build_strategy_test
      
      * fix DataType::RAW
      
      * fix custom_type test: operator_test.cc
      
      * fix transform place
      
      * fix backends_are_same_class
      
      * try fix place TransDataDevice
      
      * support all KernelKey
      
      * fix TransformData
      
      * fix place_are_same_class
      
      * fix merge
      
      * fix test_params_no_grad
      
      * fix specific place of GetExpectedKernelType
      
      * fix specific place of GetExpectedKernelType
      
      * fix GetKernelTypeForVar
      
      * fix dtype error
      
      * fix fetch_v2
      
      * change GetKernelTypeForVar
      
      * fix interpreter
      
      * fix typo error
      
      * polish codes
      
      * polish codes
      
      * polish codes
      
      * fix conflict
      4383494f
  16. 29 12月, 2022 1 次提交
  17. 19 12月, 2022 1 次提交
  18. 15 12月, 2022 1 次提交
  19. 07 12月, 2022 1 次提交
  20. 29 11月, 2022 1 次提交
  21. 28 11月, 2022 1 次提交
  22. 24 11月, 2022 1 次提交
    • H
      [PHI decoupling] simplify "convert_utils.h" in fluid (#48168) · de4310e6
      huangjiyi 提交于
      * rm dependence to "convert_utils.h" in some files
      
      * fix bugs
      
      * replace DataType2String with DataTypeToString
      
      * replace framework::DataTypeSize with phi::SizeOf
      
      * mv convert_function from fluid to phi and rm old map
      
      * recommit with pre-commit
      
      * repalce ProtoVarType with ProtoDataType and update comment.
      
      * fix error about include "dnnl.hpp"
      
      * revert add dep mkldnn to convert_utils in phi
      
      * add mkldnn deps in convert_utils.h in phi
      
      * move deps to convert_utils.h in phi
      de4310e6
  23. 21 11月, 2022 2 次提交
  24. 18 11月, 2022 1 次提交
  25. 14 11月, 2022 1 次提交
  26. 09 11月, 2022 1 次提交
  27. 04 11月, 2022 1 次提交
  28. 01 11月, 2022 2 次提交
  29. 27 10月, 2022 1 次提交
  30. 11 10月, 2022 2 次提交
  31. 30 9月, 2022 1 次提交
  32. 28 9月, 2022 1 次提交
    • C
      Remove the declaration of using Tensor in framework/tensor.h (#46432) · e12a905e
      Chen Weihang 提交于
      * remove needless using tensor
      
      * remove needless using tensor
      
      * resolve conflict
      
      * replace tensor using
      
      * fix format error
      
      * revert needless changing
      
      * fix rocm and npu compile error
      
      * fix cinn compile error
      
      * fix format error
      
      * fix mkldnn format error
      
      * fix mkldnn format error
      
      * fix cinn compile error
      
      * fix cinn compile error
      
      * fix cinn compile error
      
      * resolve conflict
      e12a905e
  33. 23 9月, 2022 1 次提交
  34. 22 9月, 2022 2 次提交