1. 20 4月, 2023 1 次提交
  2. 13 4月, 2023 1 次提交
    • H
      [enforce.h Decouple logging.h] Delete glog/logging.h from enforce.h (#52651) · 5664ea26
      HongyuJia 提交于
      * [enforce.h Decouple logging.h] Delete glog/logging.h from enforce.h
      
      * Add logging.h for profiler.cc
      
      * Add logging.h for gloo_utils.h
      
      * Add logging.h for addmm_kernel_impl.h
      
      * Add logging.h for addmm_grad_kernel_impl.h
      
      * Add logging.h for p_send_kernel.cu
      
      * Add logging.h for determinant_grad_kernel_impl.h
      
      * Add logging.h for p_recv_kernel.cu
      
      * Add logging.h for elementwise_grad_base.h
      
      * Add logging.h for transfer_layout_kernel.cc
      
      * Add logging.h for eigvals_kernel.cc and index_select_impl.h
      
      * Add logging.h for all files in kernel directory
      
      * Add logging.h for xpu_info.cc
      
      * Add logging.h for xpu
      5664ea26
  3. 11 4月, 2023 1 次提交
  4. 10 4月, 2023 1 次提交
    • H
      [Opt Performance] Optimize custom operator performance (#52597) · 01247e33
      HongyuJia 提交于
      * [Opt Performance] Optimize custom operator performance, reconstruct python API auto-gen, add cache and use const inference
      
      * opt AutoGradMeta implementation
      
      * remove profiler codes
      
      * fix unit test
      
      * change year, 2021->2023
      
      * fix int64_t parse bug
      01247e33
  5. 03 4月, 2023 1 次提交
  6. 31 3月, 2023 1 次提交
  7. 27 3月, 2023 2 次提交
  8. 23 3月, 2023 1 次提交
  9. 21 3月, 2023 1 次提交
  10. 20 3月, 2023 3 次提交
  11. 16 3月, 2023 2 次提交
    • H
      [Custom Operator] Custom op support inplace mechanism (#51620) · f824bc0d
      HongyuJia 提交于
      * init unit test commit, contains register thinking
      
      * support inplace
      
      * get inplaced x.grad
      
      * Try support inplace and hook at the same time
      
      * Support inplace, need debug
      
      * Support inplace successfully
      
      * Inplace use Tensor&, consistent with Tensor*
      
      * fix MapPlainOutputs bug
      
      * fix double grad inplace error
      f824bc0d
    • H
      Update from_blob API (#51646) · c07c7712
      Huang Jiyi 提交于
      * remove contexts in tensor_utils
      
      * update from_blob
      
      * update from_blob
      
      * update from_blob
      
      * fix bug
      
      * fix bug
      c07c7712
  12. 13 3月, 2023 1 次提交
    • H
      Add from_blob api for constructing tensor from data pointer (#51085) · 74442f5e
      Huang Jiyi 提交于
      * add from_blob
      
      * fix test
      
      * fix test
      
      * fix codestyle
      
      * add gpu test
      
      * fix test
      
      * update
      
      * add comment
      
      * fix comment
      
      * update comment
      
      * fix CI bug
      
      * add thread_local
      
      * update
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix cmake
      
      * fix CI-Py3 make
      
      * update
      
      * use api_reg
      
      * fix include
      
      * update
      
      * update
      
      * update
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      74442f5e
  13. 09 3月, 2023 1 次提交
  14. 07 3月, 2023 1 次提交
  15. 06 3月, 2023 1 次提交
    • 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
  16. 02 3月, 2023 1 次提交
  17. 28 2月, 2023 2 次提交
  18. 23 2月, 2023 1 次提交
  19. 22 2月, 2023 1 次提交
  20. 21 2月, 2023 1 次提交
  21. 20 2月, 2023 3 次提交
  22. 18 2月, 2023 1 次提交
  23. 17 2月, 2023 1 次提交
  24. 16 2月, 2023 2 次提交
    • H
      [Tensor Operator] Support add, minus, and divide (#50487) · 3b6ebc9d
      HongyuJia 提交于
      * polish namespace
      
      * change static_tensor_operants
      
      * polish namespace
      
      * support add, subtract, divide
      
      * add unit test
      
      * polish unittest
      
      * fix cmake error
      
      * polish unittest
      3b6ebc9d
    • H
      [phi decoupling] remove variable.h in phi (#50407) · 905cefd4
      Huang Jiyi 提交于
      * move variable_utils from phi_api_utils to fluid
      
      * fix coment
      
      * update include
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * update
      
      * update
      
      * fix CI-Windows-OpenBLAS
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * update include
      
      * move variable_utils to phi_utils
      
      * fix namespace
      905cefd4
  25. 15 2月, 2023 1 次提交
  26. 14 2月, 2023 3 次提交
  27. 13 2月, 2023 1 次提交
  28. 11 2月, 2023 1 次提交
    • H
      [Tensor Operator] Overload Tensor Operator (#50098) · 14e45f6b
      HongyuJia 提交于
      * init commit
      
      * fix tensor operator*
      
      * fix compile bug
      
      * bug reproduce
      
      * update commit
      
      * polish codes
      
      * fix compile bug
      
      * test begin
      
      * test begin
      
      * compile finish
      
      * restore origin composite_backward_api
      
      * pass local CI
      
      * fix merge error
      
      * fix merge error
      
      * change py_test from GPU->CPU, test custom op
      
      * polish codes, modify prim unittest
      
      * modify prim unittest
      
      * determine phi_tensor_operants location
      
      * polish codes
      
      * add header file
      
      * solve windows unresolved symbol
      
      * fix some CI error
      
      * add overload defination
      
      * fix CI inference and Windows
      
      * polish codes according to reviewers' opinion
      
      * polish codes according to reviewers' opinion
      14e45f6b
  29. 08 2月, 2023 1 次提交
  30. 31 1月, 2023 1 次提交