1. 06 9月, 2023 1 次提交
    • C
      [AutoParallel] Generate spmd rule and reshard impl in phi api (#56831) · e9364a38
      Chen Weihang 提交于
      * add spmd and reshard code gen
      
      * add backward reshard code gen
      
      * test matmul forward success
      
      * polish test impl
      
      * add unsafe mutable value
      
      * polish details and add test
      
      * fix unittest time out
      
      * fix typo
      
      * refactor reshard input generate impl
      
      * resolve conflict with develop
      
      * fix compile error
      e9364a38
  2. 05 9月, 2023 1 次提交
    • G
      [Auto Parallel]: Support std::vector<phi::Tensor> input and output for DistTensor. (#56602) · d2fedeac
      Ghost Screaming 提交于
      * [WIP] Support std::vector<phi::Tensor> input and output for DistTensor.
      Concat forward and backward are verified.
      
      * Polish code for new dist tensor implementation.
      
      * Fix bug of DistTensor upgrade. Add support functions for std::vector<Tensor> -> std::vector<Tensor>.
      
      * Add support for DistTensor type of std::vector<phi::Tensor> as input or output of operators.
      Following testcases are passed.
      1. concat: std::vector<phi::Tensor> -> phi::Tensor
      2. unbind: phi::Tensor -> std::vector<phi::Tensor>
      3. broadcast_tensors: std::vector<phi::Tensor> -> std::vector<phi::Tensor>
      
      * Polish code. Remove useless comments.
      
      * Add update_loss_scaling in skip_op_lists.
      
      * Polish code.
      d2fedeac
  3. 01 9月, 2023 1 次提交
  4. 30 8月, 2023 1 次提交
    • H
      Add paddle custom flags support (#56256) · 2ef4ec71
      huangjiyi 提交于
      * update
      
      * repalce gflags header
      
      * replace DEFINE_<type> with PD_DEFINE_<type>
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * update cmake
      
      * add :: before some paddle namespace
      
      * fix link error
      
      * fix CI-Py3
      
      * allow commandline parse
      
      * fix SetFlagsFromEnv
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix CI-Coverage-build
      
      * fix CI-Windows-build
      
      * fix CI-Inference
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix inference api test
      
      * fix infer_ut test
      
      * revert infer_ut gflags usage
      
      * update
      
      * fix inference
      
      * remove flags export macro
      
      * revert inference demo_ci gflags usage
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix bug when turn on WITH_GFLAGS
      
      * turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * update
      
      * update and add unittest
      
      * add unittest
      
      * fix conflict
      
      * rerun ci
      
      * update
      
      * resolve conflict
      2ef4ec71
  5. 22 8月, 2023 1 次提交
    • C
      [AutoParallel] Polish dist tensor design (#56368) · 8495377a
      Chen Weihang 提交于
      * polish dist teensor design
      
      * adjust constructor
      
      * polish details
      
      * polish details design
      
      * fix compile error
      
      * refactor init tensor impl
      
      * fix reshard test
      
      * polish details
      
      * add unittest for coverage
      8495377a
  6. 18 8月, 2023 1 次提交
  7. 16 8月, 2023 1 次提交
    • C
      [AutoParallel] Dygraph basic impl for semi auto parallel (#55698) · 7039bef3
      Chen Weihang 提交于
      * add phi forward api gen impl
      
      * add phi backward gen code
      
      * polish api code gen impl
      
      * polish code gen impl
      
      * remove auto_paralel namespace
      
      * add dygraph forward impl
      
      * add for_auto_parallel cond
      
      * fix code gen errors
      
      * add dygraph backward impl
      
      * resolve conflict with develop
      
      * refactor dist api gen impl
      
      * revert origin api gen impl
      
      * replace template for override func
      
      * fix dnnl marco error
      
      * revert third_party change
      
      * add with distributed marco
      
      * Update grad_tensor_holder.cc details
      
      * merge dist tensor constructor
      
      * change test tensor to replicate
      
      * fx typo
      
      * resolve conflict with develop
      
      * fix out dim error
      7039bef3
  8. 31 7月, 2023 1 次提交
  9. 28 6月, 2023 1 次提交
  10. 27 6月, 2023 1 次提交
  11. 12 6月, 2023 1 次提交
  12. 09 6月, 2023 1 次提交
  13. 24 5月, 2023 1 次提交
    • L
      Fixed the bug in the api.cc file where there was an inconsistency between the... · 75fc4bf0
      Leo Guo 提交于
      Fixed the bug in the api.cc file where there was an inconsistency between the specified type (std::vector<DenseTensor*>&) in the function pointer kernel_signature and the type of the phi kernel parameter (std::vector<DenseTensor*>) when the phi kernel is set to output as std::vector<DenseTensor*>. test=kunlun (#54053)
      
      75fc4bf0
  14. 15 5月, 2023 1 次提交
    • X
      Silu double grad (#53605) · 94c38803
      xiaoguoguo626807 提交于
      * add rules
      
      * modify no kernel yaml parse
      
      * success op generate
      
      * success test_silu_double
      
      * modify bug
      
      * modify static error
      
      * modify silu_grad input
      
      * modify kernel signature
      
      * modify kernel signature
      
      * code style
      
      * code style
      
      * review
      
      * delete opinfo modify
      94c38803
  15. 17 4月, 2023 1 次提交
  16. 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
  17. 10 4月, 2023 1 次提交
  18. 29 3月, 2023 1 次提交
  19. 27 3月, 2023 1 次提交
    • HappyHeavyRain's avatar
      Add fuse_ops.yaml and fused_backward.yaml (#52010) · 10145cb6
      HappyHeavyRain 提交于
      * add fused_yaml fused_backward
      
      * fix eager_funciton bug
      
      * add some comment of fused yaml file
      
      * add 'support_dygraph_mode' configuration in fused yaml
      
      * delete some 'fused_api.h' in include file
      
      * add fused flag in api_gen
      10145cb6
  20. 23 3月, 2023 2 次提交
  21. 20 3月, 2023 1 次提交
  22. 16 3月, 2023 1 次提交
    • 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
  23. 14 3月, 2023 1 次提交
  24. 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
  25. 09 3月, 2023 1 次提交
  26. 07 3月, 2023 1 次提交
  27. 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
  28. 01 3月, 2023 1 次提交
  29. 27 2月, 2023 1 次提交
  30. 24 2月, 2023 1 次提交
  31. 23 2月, 2023 4 次提交
  32. 22 2月, 2023 1 次提交
  33. 20 2月, 2023 2 次提交
    • H
      [Autogen Tensor API] Autogen `tensor_api.cc` (#50642) · c36c7199
      HongyuJia 提交于
      * polish tensor operants implementation
      
      * change year, 2021->2023
      
      * autogen tensor.h and tensor_api.cc
      
      * polish CMakeLists logic
      
      * cancel tensor.h auto-gen
      
      * clean useless parameter
      
      * delete tensor_api.cc
      c36c7199
    • H
      [Decouple] Decouple prim/api/api.yaml in phi CMakeLists (#50595) · 8c758313
      HongyuJia 提交于
      * autogen phi tensor operants
      
      * autogen operants base
      
      * autogen operants_manager
      
      * polish code style
      
      * add cmake output
      
      * fix cmake depency error
      
      * fix cmake file path error
      
      * decouple prim/api/api.yaml in phi CMakeLists
      
      * polish CMakeLists of phi/api/lib
      8c758313
  34. 18 2月, 2023 1 次提交
  35. 15 2月, 2023 1 次提交