1. 08 3月, 2023 3 次提交
  2. 07 3月, 2023 1 次提交
  3. 06 3月, 2023 2 次提交
    • [AMP OP&Test] add bf16 fp16 type support for interpolate (#51153) · 2f2bf4e8
      傅剑寒 提交于
      * add bf16 fp16 type support for interpolate
      
      * add bf16 fp16 support for interpolate in phi on cpu
      2f2bf4e8
    • H
      [phi decoupling] decouple dependency to device_context in phi (Part 1) (#50865) · a1006b2b
      Huang Jiyi 提交于
      * move DeviceContextPool to phi
      
      * add EmplaceExternalContextFunc
      
      * update namespace
      
      * update cmake
      
      * fix bugs and create context_pool_impl.h
      
      * replace platform::is_xxx_place
      
      * fix bugs
      
      * update generator
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix enforce usage
      
      * Revert "fix enforce usage"
      
      This reverts commit 5f521f08a69713cee506e64a00ec6d9fba709e27.
      
      * fix bugs
      
      * rm XPUDeviceContext and CustomDeviceContext
      
      * fix bugs
      
      * fix fix context init bug
      
      * fix bugs after merge
      
      * fix bugs
      
      * fix name
      
      * fix mutable_data
      
      * update and fix bugs
      
      * fix bugs
      
      * update
      
      * fix bugs
      
      * fix name
      
      * fix bugs
      
      * merge
      
      * fix bugs
      
      * create context_pool in phi/backends
      
      * create context_pool in phi/backends
      
      * fix bugs
      
      * fix xpu bugs
      
      * fix rocm bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix xpu bugs
      
      * update
      
      * update
      
      * fix bugs
      
      * fix bugs
      a1006b2b
  4. 03 3月, 2023 3 次提交
  5. 02 3月, 2023 2 次提交
  6. 01 3月, 2023 2 次提交
  7. 27 2月, 2023 2 次提交
    • 【Hackathon No.68】Remove utils in phi (#50833) · 6c181d1d
      张春乔 提交于
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * Update get_data_from_tensor.h
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_kernel.cc
      
      * remove utils
      
      * Update rnn_functor.h
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * Update rnn_functor.h
      
      * Update unsqueeze_op.h
      
      * Update utils.h
      
      * roll back
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * add TensorToVector
      
      * roll back
      
      * Update tensor_utils.h
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update tensor_utils.h
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_kernel.cc
      
      * TensorCopySync to phi::Copy
      
      * fix codestyle
      
      * rnn_kernel.cc: add ;
      
      * replace all GetDataFromTensor with phi::GetVectorFromTensor
      
      * delete include of util.h
      6c181d1d
    • zhouweiwei2014's avatar
  8. 25 2月, 2023 1 次提交
  9. 24 2月, 2023 3 次提交
    • Y
    • Y
      supplement header file's code (#50826) · 92cae577
      YuanRisheng 提交于
      92cae577
    • X
      【prim】Slice grad (#50771) · f6dea800
      xiaoguoguo626807 提交于
      * support prim test in OpTest
      
      * fix cmake
      
      * fix op test
      
      * fix test_input_spec
      
      * disable cinn in reduce_sum unit test
      
      * add bfloat16 dtype for sum
      
      * add approve rules
      
      * polish code
      
      * add clear jit program function
      
      * convert grad out from tensor to numpy
      
      * remove unnecessary code
      
      * add only_prim flag
      
      * fix flag
      
      * fix op test
      
      * add attr
      
      * fix optest comp inplace error
      
      * fix op test
      
      * fix op test with guard
      
      * add initialization of check_comp flag
      
      * fix comp inplace error in op test
      
      * rename check_comp with check_prim and add bfloat16 dtype convert
      
      * rename comp_op_type to prim_op_type
      
      * rename comp to prim
      
      * remove useless code
      
      * skip ci check for only prim
      
      * add no_grad_vars and grad_outputs in prim test
      
      * fix var_dict
      
      * fix op test for only_prim
      
      * fix dy2static bugs
      
      * polish some code
      
      * temp
      
      * modify op test
      
      * except cinn test
      
      * modify bfp16
      
      * modify pad grad
      
      * add pad_grad dtype
      
      * start cinn part
      
      ---------
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      f6dea800
  10. 22 2月, 2023 1 次提交
  11. 17 2月, 2023 3 次提交
  12. 14 2月, 2023 2 次提交
    • E
      decouple tensor_utils (#50264) · 057cdb95
      engineer1109 提交于
      fix X
      
      remove TensorCopy
      
      codestyle
      
      add fluid memory header
      
      fix symbol
      
      fix cmake
      
      fix cmake
      
      fix context
      
      fix header
      
      fix place
      
      fix context
      
      fix context
      
      fix context
      
      fix code
      
      fix custom context
      
      fix custom context
      
      fix copy
      
      fix data_transform
      
      fix style
      
      remove changes of custom
      
      fix scalar
      057cdb95
    • S
      support int8 for embedding (#50413) · 78eb2d87
      seemingwang 提交于
      78eb2d87
  13. 13 2月, 2023 2 次提交
  14. 09 2月, 2023 2 次提交
    • H
      [PHI decoupling] move strided_memcpy.h to phi (#50346) · 17318c1a
      Huang Jiyi 提交于
      * decouple strided_memcpy
      
      * move strided_memcpy
      
      * move strided_memcpy to phi
      
      * fix namespace
      
      * update
      
      * fix gpu compile bugs
      17318c1a
    • Y
      Add MultiTenosrAdam OP (#49220) · 10654c77
      yuehuayingxueluo 提交于
      * add multi_tenosr_adam
      
      * update multi_tensor_base.py, test_multi_tensor_adam.py, adamw.py
      
      * fix adam.py optimizer.py
      
      * fix adamw.py
      
      * fix test_multi_tensor_adam.py
      
      * fix CI bug
      
      * fix CI coverage
      
      * fix ci bug
      
      * fix betapow
      
      * fix some bugs
      
      * fix test_adamw_op.py
      
      * fix CI coverage
      
      * fix multi_tensor_adam_kernel.cc
      
      * fix CI bug
      
      * fix multi_tensor_adam_op.cc and test_multi_tensor_adam.py
      
      * fix code style
      
      * update C++ parts
      
      * remove python parts modification temporarily
      
      * add C++ ut
      
      * update betapow copy code logic
      
      * fix ci ut
      
      * fix windows ci
      
      * fix coverage ci
      
      * improve coverage rate
      
      ---------
      Co-authored-by: Nsneaxiy <sneaxiy@126.com>
      10654c77
  15. 08 2月, 2023 1 次提交
  16. 03 2月, 2023 3 次提交
  17. 01 2月, 2023 3 次提交
    • Z
      [Zero-Dim] Fix 0-dim tensor for arg_min_max op. (#49570) · e4e94a88
      Zhong Hui 提交于
      * fix 0-d tensor for arg_min_max op.
      
      * fix xpu.
      
      * fix zero dims
      
      * fix
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update test_zero_dim_tensor.py
      
      * Update test_zero_dim_tensor_xpu.py
      
      * Update test_zero_dim_tensor.py
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      e4e94a88
    • G
      [Divide by 0 Error] add eig check (#49971) · 226a6567
      gouzil 提交于
      * [Divide by 0 Error] add eig check
      
      * [Divide by 0 Error] eig check migrate to c++
      
      * [Divide by 0 Error] Fix class name error
      226a6567
    • G
      [Divide by 0 Error] add norm check (#49966) · 5dfddaea
      gouzil 提交于
      * [Divide by 0 Error] add norm check
      
      * [Divide by 0 Error] fix x AttributeError
      
      * [Divide by 0 Error] norm check migrate to c++
      5dfddaea
  18. 31 1月, 2023 2 次提交
  19. 30 1月, 2023 2 次提交