1. 09 3月, 2023 2 次提交
  2. 08 3月, 2023 1 次提交
  3. 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
  4. 03 3月, 2023 1 次提交
  5. 02 3月, 2023 1 次提交
  6. 01 3月, 2023 2 次提交
  7. 28 2月, 2023 1 次提交
  8. 27 2月, 2023 1 次提交
    • 【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
  9. 24 2月, 2023 2 次提交
  10. 23 2月, 2023 1 次提交
  11. 21 2月, 2023 1 次提交
  12. 20 2月, 2023 1 次提交
  13. 16 2月, 2023 1 次提交
    • 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
  14. 15 2月, 2023 2 次提交
  15. 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
    • H
      [Polish Namespace] Polish operants namespace (#50420) · 61a933ac
      HongyuJia 提交于
      * polish namespace
      
      * change static_tensor_operants
      
      * polish namespace
      61a933ac
  16. 13 2月, 2023 1 次提交
  17. 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
  18. 08 2月, 2023 4 次提交
  19. 06 2月, 2023 1 次提交
  20. 31 1月, 2023 1 次提交
  21. 30 1月, 2023 3 次提交
  22. 17 1月, 2023 3 次提交
    • Z
      Refine munmap freq for RefcountedMemoryMapAllocation (#49691) · 3fdc105f
      zhangbo9674 提交于
      * refine munmap freq for ref_cnt_mmap_allocator
      
      * add shm reuse logic
      
      * fix compile bug
      
      * fix compile bug
      
      * fix bug of file refcount
      
      * fix compile bug
      
      * fix compile bug
      
      * refine code for delete shm case
      
      * polish code
      
      * refine shm cache pool size setting logic
      
      * set buffer is 2
      
      * refine shm cache size logic
      
      * refine max shm cache
      
      * refine shm cache size
      3fdc105f
    • P
      support CUDA Graph for new executor (#49708) · 8e5ed04d
      pangyoki 提交于
      * new exe supports CUDA Graph
      
      * fix
      
      * fix
      
      * fix
      
      * fix FLAGS_use_stream_safe_cuda_allocator in unittest
      
      * insert output of coalesce_tensor op to skip_gc_var
      
      * fix
      8e5ed04d
    • Y
      [PHI]Change feed_op to phi kernel (#49116) · f7f1dc03
      YuanRisheng 提交于
      * change feed_op to phi kernel
      
      * fix ci bugs
      
      * fix build bugs
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix ci bugs
      
      * perfect code
      
      * perfect comment code
      
      * fix install bugs
      
      * modify code according comment
      
      * remove visitor in feed_op
      
      * modify according comment
      
      * perfect code according comment
      
      * add infershape
      
      * fix py3 bugs
      
      * fix getexpected kernel type
      
      * fix getexpected kernel type
      
      * fix ci bugs
      
      * add registry for custom device
      
      * fix py3 bugs
      
      * fix floating point error
      
      * fix py3 test bugs
      f7f1dc03
  23. 13 1月, 2023 1 次提交
    • J
      【Prim】Support elementwise related VJP with primitives (#49784) · 561f9013
      Jiabin Yang 提交于
      * support elementwise base func
      
      * fix compiling error and add test
      
      * remove additional param
      
      * support vjp for div using comp
      
      * remove additional change
      
      * fix dy2st error with magic num
      
      * fix dy magic num
      
      * another magic
      
      * another magic
      
      * add more test
      
      * fix windows problem
      
      * another magic
      
      * fix windows compile
      
      * invoke ci
      
      * add skip rename strategy
      
      * support add vjp
      
      * fix test_tanh
      
      * support add with new axis cal
      
      * fix resnet and some test
      
      * add composite log
      
      * support sub vjp
      561f9013
  24. 12 1月, 2023 1 次提交
  25. 11 1月, 2023 1 次提交
  26. 10 1月, 2023 1 次提交
  27. 09 1月, 2023 2 次提交
    • J
      Prim paddle Basic (#49272) · 2f601282
      Jiabin Yang 提交于
      * proto type of composite grad in paddle
      
      * proto type of composite grad in paddle
      
      * refactor composite api with phi
      
      * fix compile error
      
      * support static graph code-gen for squeeze op
      
      * generate static graph code of unsqueeze
      
      * refine op name
      
      * fix compile error
      
      * add extra output in op_compat
      
      * remove debug log
      
      * fix clang compile error
      
      * support prim switch flag
      
      * support prim switch flag
      
      * fix dygraph error
      
      * merge develop
      
      * add code_gen
      
      * add necessary files without codegen
      
      * fix code_gen bug
      
      * add deps
      
      * modify igmnore
      
      * add ignore
      
      * delete std cout
      
      * add composite logic for backward.py
      
      * add tanh first order grad composite
      
      * support enable_prim flag for static graph
      
      * throw expection when both GrapOpMaker and GradCompOpMaker not been registered
      
      * reorganize the directory of prim api tests
      
      * fix windows error
      
      * add eager_utils
      
      * add eager_utils
      
      * modify code gen
      
      * add composite parse
      
      * add unittest for get_grad_op_desc
      
      * code optimize
      
      * fix static test on windows
      
      * support generate static graph code for imag and real op
      
      * fix windows compile error in test_static_prim
      
      * merge develop
      
      * disable test eager in inference
      
      * prim code gen
      
      * disable eager compile in inference
      
      * rm other file
      
      * rm gitignore file
      
      * code_style
      
      * add eager test
      
      * code_style
      
      * merge develop
      
      * remove useless files
      
      * modify static test
      
      * support bool flag from singlton
      
      * merge develop
      
      * recover git ignore
      
      * fix conflict
      
      * recover git ignore for generated op
      
      * fix test compile error
      
      * remove some tests
      
      * add python test
      
      * fix some name issue
      
      * add composite code gen
      
      * modify backward yaml
      
      * fix static composite grad maker code gen
      
      * remove addtional files
      
      * add some static funcs unit test
      
      * fix some bugs
      
      * fix composite grad maker register code gen
      
      * optimize some functions
      Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Ncharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com>
      2f601282
    • L
      Create comm_context and modified static init (#49536) · 04e24e58
      LiYuRio 提交于
      * comm_context and static init
      
      * refactor: move to phi/core/distributed
      
      * refactor: avoid mutable_data usage
      
      * fix: windows sock
      
      * fix: device without nccl
      Co-authored-by: 元无心's avatarWen Sun <syl1887415157@126.com>
      04e24e58