1. 08 6月, 2022 1 次提交
    • N
      Replace ReduceAmax/Amax.part.cu with KP (#43202) (#43263) · e161979e
      niuliling123 提交于
      Reduce amax/amin frobenius_norm_kerne原始实现为Eigen实现,文件编译时间较长,因此本PR将其替换为KP实现
      删除DefaultElementwiseOperator中重复功能支持,减少elementwise_double_grad OP编译时间
      e161979e
  2. 10 5月, 2022 1 次提交
  3. 28 4月, 2022 1 次提交
    • Z
      [cherry-pick] Optimize performance of dygraph (#42231, #42253) (#42309) · 69a92b7b
      zyfncg 提交于
      * Optimize the performanece of sum api (#42231)
      
      * optimize the performanece of sum api
      
      * optimize IsDenseTensorInput
      
      * remove debug log
      
      * Add move construct for KernelSignature (#42253)
      
      * add move construct for KernelSignature
      
      * add noexcept
      
      * fix cherry-pick problem
      69a92b7b
  4. 30 3月, 2022 1 次提交
  5. 29 3月, 2022 2 次提交
  6. 24 3月, 2022 1 次提交
  7. 22 3月, 2022 1 次提交
  8. 21 3月, 2022 1 次提交
  9. 18 3月, 2022 1 次提交
    • C
      [Phi] move reduce_grad kernel into phi (#40522) · 70726696
      chentianyu03 提交于
      * move reduce_mean_grad kernel into phi
      
      * move reduce_max/min_grad into phi
      
      * remove raw max/min grad kernel
      
      * fix bug
      
      * fix max/min grad error
      
      * move all reduce_grad kernel into one file
      
      * add prod grad kernel
      
      * add infermeta for prod kernel
      70726696
  10. 15 3月, 2022 1 次提交
    • C
      [Phi]move reduce_min/any/all kernel (#40374) · c46e661d
      chentianyu03 提交于
      * add reduce_min kernel
      
      * remove raw reduce_min kernel
      
      * add reduce min
      
      * add reduce any all impl
      
      * add bool reduce Kernel
      
      * remove raw any/all kernel
      
      * add any all kernel
      
      * rm comment
      c46e661d
  11. 11 3月, 2022 1 次提交
    • C
      [Phi] Reduce grad (#40263) · f452ad5c
      chentianyu03 提交于
      * add reduce_sum grad kernel
      
      * add reduce_grad
      
      * modify reduce grad
      
      * update reduce grad functions
      
      * fix build error
      
      * add argument mapping
      
      * move cast input after grad
      
      * add dims.size=1 cpu reduce_sum grad compute method
      
      * update reduce grad GPU
      
      * remove raw reduce_sum_grad kernel
      
      * modify header files
      
      * add namespace funcs for reduce_grad_funcstions
      f452ad5c
  12. 09 3月, 2022 1 次提交
    • C
      [Phi] move Reduce max kernel into phi (#40225) · 8031a4dc
      chentianyu03 提交于
      * add reduce_max kernel
      
      * add reduce max kernel
      
      * update reduce max Argumentmapping
      
      * remove reduce_max kernel
      
      * remove reduce_max kernel
      
      * add reduce max infermeta
      
      * rename reduce infermeta
      8031a4dc
  13. 08 3月, 2022 1 次提交
  14. 06 3月, 2022 1 次提交
  15. 04 3月, 2022 1 次提交
    • C
      [phi]move reduce gpu impl funcs into pten/kernels/funcs (#39990) · e2e2d531
      chentianyu03 提交于
      * move reduce gpu impl funcs into pten/kernels/funcs
      
      * change reduce header name and namespace
      
      * fix spell word error
      
      * change mutable_data to dev_ctx.Alloc
      
      * modify place to devcontex
      
      * format code style
      
      * fix build error
      
      * fix build error
      
      * fix conflict
      e2e2d531
  16. 02 3月, 2022 2 次提交
  17. 01 3月, 2022 2 次提交
    • C
      [Phi]rm reduce infershape (#39820) · 09039636
      chentianyu03 提交于
      * modify infershape utils and rm reduce infershape
      
      * merge develop
      
      * fix infermete bug
      
      * add IsForInferShape func in ArgumentMappingContext
      
      * add reduce_mean infermeta
      
      * modify annotation
      
      * add default dims
      09039636
    • Z
      [bf16] add bf16 kernel: layer_norm p_norm reduce_sum (#39843) · ce8ed978
      zhangbo9674 提交于
      * add layer norm
      
      * add p norm
      
      * add reduce sum
      
      * refine layer norm register bf16 for cudnn811
      
      * add bf16 cast for hip
      
      * add unittest
      
      * refine rocm
      
      * refine layer_norm unittest
      
      * refine reduce op
      
      * refine unittest
      
      * enhance atol for reduce unittest
      ce8ed978
  18. 28 2月, 2022 1 次提交
  19. 25 2月, 2022 1 次提交
  20. 21 2月, 2022 1 次提交
  21. 20 2月, 2022 2 次提交
  22. 19 2月, 2022 1 次提交
    • A
      [Pten]Unify paddle/pten::framework::ddim into pten::ddim (#39614) · 2fe04264
      Aurelius84 提交于
      * Unify paddle/pten::framework::ddim into pten::ddim
      
      * fix paddle namespace
      
      * compile sucessfully
      
      * fix npu src file
      
      * fix conflict
      
      * fix conflict
      
      * fix tensorrt compiler error
      
      * fix conflict
      
      * fix conflict
      
      * fix tesst file conflict
      
      * fix conflict
      
      * fix mlu file conflict
      
      * fix mlu file conflict
      
      * fix cinn header file conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      2fe04264
  23. 18 2月, 2022 1 次提交
  24. 15 2月, 2022 2 次提交
    • J
      disabled unnecessary int reorders profiling (#39498) · 3581c075
      jakpiase 提交于
      3581c075
    • A
      [PTen]Migrate proto::VarType outside of Pten (#39411) · 7e7e9404
      Aurelius84 提交于
      * #1 migrate dist-related type()-> dtype()
      
      * move datatype function from pten -> fluid/framework
      
      * change type() in imperative into convert(dtype())
      
      * modify xx_tensor->type into xx_tensor->dtype
      
      * change the set_type interface and the caller
      
      * modify xx_tensor.type into xx_tensor.dtype
      
      * fix mutable_data(place, dtype())
      
      * change caller of mutable_data in pten and distributed
      
      * change the caller of mutable_data in fluid/framework
      
      * change the caller of mutable_data in imperative directory
      
      * mutable_data: inference
      
      * update the call of mutable_data
      
      * transfer MakePenScalarArray MakePtenScalar ResetHolderWithType
      
      * pass the compile. the next step is remove VarType in Pten
      
      * fix all and remove VarType from pten. success in linux. Next task is other platform
      
      * fix conflict with develop
      
      * fix compiled error
      
      * Fix reset conversion
      
      * fix conflict
      
      * fix compiled problem
      
      * fix typo
      
      * Fix << in tensor_utils.cc
      
      * fix type->dtype
      
      * fix unittest
      
      * fix tensor init constructor
      
      * fix DataTypeSize for BFloat16
      
      * fix code style
      
      * fix npu compiled error
      
      * fix npu
      
      * compile npu sucessfully
      
      * fix conflict
      
      * fix conflict
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      7e7e9404
  25. 11 2月, 2022 2 次提交
  26. 10 2月, 2022 1 次提交
  27. 09 2月, 2022 2 次提交
  28. 08 2月, 2022 1 次提交
  29. 06 2月, 2022 1 次提交
  30. 27 1月, 2022 1 次提交
  31. 26 1月, 2022 1 次提交
    • L
      [pten] remove deprecated fluid op kernel for pten (#38842) · 3ab9aef1
      Leo Chen 提交于
      * update cmake file to remove fluid kernel
      
      * add pten declaration.h to where pybind.h used
      
      * fix sync_bn and tensorrt_engine
      
      * refine detection_library
      
      * fix interpreter_core
      
      * support eager legacy
      
      * fit eager legacy for pten
      
      * fall back to cpu if not found kernel
      
      * fix compile problem
      
      * fix compile problem
      
      * refine fallback logic
      
      * fit operator.run()
      
      * fix xpu compile
      
      * fit for new_exec
      
      * add REGISTER_OP_WITHOUT_GRADIENT
      
      * un-cache pt_kernel_context
      
      * fix compile
      
      * fix cudnn
      
      * fix compiling with on_infer
      
      * fix mkldnn
      
      * fix isfinite_v2
      
      * fix xpu problem
      
      * fix op_device
      
      * refine fallback for xpu
      
      * fix xpu compile
      
      * merge develop
      
      * refine code format
      
      * fix compile
      
      * fix compile
      
      * add data_transfer
      
      * fix PreparePtenData
      
      * fix cpu context
      
      * merge develop
      
      * fix compile
      
      * fix error device context
      
      * fix xpu
      
      * fix dev_ctx
      3ab9aef1
  32. 25 1月, 2022 2 次提交