1. 05 6月, 2023 1 次提交
  2. 02 6月, 2023 1 次提交
  3. 30 5月, 2023 1 次提交
    • Y
      [AMP] Reimplement check_nan_inf as check_numerics_kernel. (#52245) · 44bd5927
      Yiqun Liu 提交于
      * Reimplement the check_nan_inf function as check_numerics kernel.
      
      * Remove the cpu implemention to phi.
      
      * Add ifdef for the including of omp.h.
      
      * Move the use of FLAGS_check_nan_inf_level out of header file.
      
      * Implement a common PrintAndThrowError function.
      
      * Fix the error using of __NVCC__, which should be instead with __CUDA_ARCH__.
      
      * Add dependency of phi.
      
      * Polish codes and unittest.
      44bd5927
  4. 26 5月, 2023 1 次提交
    • Y
      [PHI Decoupling]Create PHI shared lib (#53735) · da50a009
      YuanRisheng 提交于
      * create phi so
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * add file
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * perfect so
      
      * fix py3 bugs
      
      * delete all static target in phi
      
      * fix windows bugs
      
      * fix py3 bugs
      
      * fix ci bugs
      
      * fix windows bugs
      
      * fix bugs: gflags can't be linked by dynamic and static lib
      
      * fix bugs that can not load 3rd party
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix conflict
      
      * fix xpu bugs
      
      * fix mac compile bugs
      
      * fix psgpu bugs
      
      * fix inference failed
      
      * deal with conflict
      
      * fix LIBRARY_PATH bug
      
      * fix windows bugs
      
      * fix onednn error
      
      * fix windows compile bugs
      
      * fix windows compile bugs
      
      * fix test_cuda_graph_static_mode_error aborted
      
      * fix windows bugs
      
      * fix mac-python3 error
      
      * fix hip compile bugs
      
      * change mode to static
      
      * change to static mode
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix bugs
      
      * add static flag
      
      * add PADDLE_API
      
      * change position of PADDLE_API
      
      * fix windows bugs
      
      * change mode to dynamic lib
      
      * fix windows static bugs
      
      * deal with conflict
      
      * fix windows unit bug
      
      * fix coverage
      
      * deal with conflict
      
      * fix windows-inference
      
      * fix py3 bugs
      
      * fix bugs when compile type_info
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix windows openblas
      
      * fix xpu bugs
      
      * fix enforce_test in windows
      
      * update code according comment
      
      * fix windows cmake bug
      
      * fix windows bugs
      
      * fix windows bugs
      
      * delete cinn unittest
      
      * fix cinn bugs
      
      ---------
      Co-authored-by: HappyHeavyRain's avatarlzydev <1528794076@qq.com>
      da50a009
  5. 24 5月, 2023 2 次提交
  6. 19 5月, 2023 4 次提交
  7. 17 5月, 2023 1 次提交
  8. 16 5月, 2023 3 次提交
  9. 15 5月, 2023 5 次提交
  10. 12 5月, 2023 5 次提交
    • P
      【Hackathon 4 No.20】Add i0 / i0e to paddle (#52058) · ce256f75
      PommesPeter 提交于
      * added base code for i0 and i0e
      
      * added grad base code for i0 and i0e
      
      * added i0 and i0e python code
      
      * added ops and backward yaml config
      
      * added i0 and i0e cpu kernel, but not test.
      
      * added i0 and i0e code and unitest files
      
      * added test files
      
      * added i0/i0e gpu implementation code
      
      * updated code style
      
      * updated code style
      
      * fixed unitests code
      
      * updated i0 with eigen3
      
      * fixed bug and added more test cases
      
      * refactor: fixed static graph bug
      
      * refactor: removed i0 and i0e from op_compat
      
      * refactor: updated code style
      
      * refactor: updated op_compat.yaml
      
      * refactor: updated op_compat.yaml
      
      * refactor: fixed op name mapping and optimize unittest case
      
      * refactor: manually implement i0 / i0e
      
      * refactor: added grad kernel for i0 / i0e,didn't finish
      
      * Update math.py
      
      * refactor: added equation to doc in English and added comments for computing i0 / i0e gradient
      
      * refactor: removed eigen implementation
      
      * refactor: finished i0 / i0e cpu and gpu op
      
      * refactor: updated code style
      
      * fix: find  a bug but not fix
      
      * fix: incorrect unittest cases
      
      * update: updated code style and remove my file
      
      * update: updated unittest case
      
      * fix: fixed sign error
      
      * fix: fixed mistakes when merging
      
      * refactor: updated code style
      
      * refactor: remove unused code
      
      * refactor: updated code style
      ce256f75
    • X
      【prim】add forward output for Silu grad signature (#53632) · 3846111d
      xiaoguoguo626807 提交于
      * add rules
      
      * modify silu_grad input
      
      * modify kernel signature
      
      * modify kernel signature
      
      * code style
      
      * review
      3846111d
    • W
      sequence_mask functionalization (#53478) · d2b1e3c2
      Wang Xin 提交于
      * sequence_mask functionalization
      
      * fix sequence_mask test
      d2b1e3c2
    • H
      move pow2_decay_with_linear_warmup kernel to phi (#53741) · 348565b0
      huangjiyi 提交于
      * update
      
      * update
      348565b0
    • fix er error msg of index_put Op (#53717) · 92db839f
      傅剑寒 提交于
      92db839f
  11. 10 5月, 2023 2 次提交
    • add index_put api (#52886) · f3393f49
      傅剑寒 提交于
      * add index_put api
      
      * fix value broadcast in backward and add test case in static
      
      * add timeout=120s for index_put
      
      * add op_compat for index_put
      
      * add inplace index_put test
      
      * add test case when index tensor in indices is int32 when indices.size less than x.dims
      
      * add index_put api backward in cpu place
      
      * add backward test case
      
      * refactor code to delete some duplicated code
      
      * replace reshape with resize for decrease extra memcpy
      
      * add datatype flag in backward yaml
      
      * fix bug in documentation
      
      * Update python/paddle/tensor/manipulation.py
      
      ---------
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      f3393f49
    • G
      remove some [-Wunused-parameter] warning and WITH_DISTRIBUT flags (#53650) · 65e57a7d
      Galaxy1458 提交于
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      65e57a7d
  12. 09 5月, 2023 3 次提交
  13. 08 5月, 2023 1 次提交
    • G
      add complex support for optest (#53356) · e522ceb7
      GGBond8488 提交于
      * add complex support for  optest
      
      * add complex grad test
      
      * append one
      
      * move some debug info
      
      * move some debug info
      
      * move some debug info
      
      * move some debug info
      
      * add more complex test
      
      * Fix naming ambiguity
      
      * Revert "add more complex test"
      
      This reverts commit dbcb0516b8e53ba42e2d6089878a39b395345969.
      
      * change backward gradient, add TODO
      e522ceb7
  14. 06 5月, 2023 2 次提交
    • Z
      Rename randint_raw and move it to legacy (#53157) · 3e7be9c9
      zhangyuqin1998 提交于
      * Rename randint_raw and move it to legacy
      
      * Update fetch_v2_op.cc
      
      * Update randint_kernel.cc
      
      * Update randint_kernel.cu
      
      * Empty Commit to setup deployments
      3e7be9c9
    • Z
      move UniformRawKernel to legacy (#53158) · 13e2e10c
      zhangyuqin1998 提交于
      * move UniformRawKernel to legacy
      
      * Update uniform_kernel.cc
      
      * Update uniform_kernel.cu
      
      * Update uniform_kernel.cc
      
      * Update uniform_kernel.cu
      
      * Update uniform_kernel.h
      
      * Update uniform_kernel.cc
      
      * Empty Commit to setup deployments
      13e2e10c
  15. 28 4月, 2023 1 次提交
    • B
      Dropout optimize & clean broadcast inT and ElementwiseType (#52969) · d611e48c
      Bo Zhang 提交于
      * change judgement for DropoutGradGPUKernelDriver
      
      * add UnrollerWithoutVecSize and after this Loaddata to be refined
      
      * pass unittest
      
      * use same unroller with XPU
      
      * BroadcastWithInt64Index
      
      * BroadcastDataLoader template partial specialization
      
      * fix compile errs in ROCms
      
      * clean ElementwiseT and InT for BroadcastKernel
      
      * default axis and clean inT
      
      * remove redundant fast divmod computation
      
      * optimize drop_nd & drop_nd_grad
      
      * optimize BroadcastDataLoader bf16 fp16
      
      * rm InT etc. after merge develop
      
      * delete constexpr for windows ci
      
      * fix conflict
      
      * fix conflic with develop
      
      * fix conflic
      
      * new clean
      
      * clean
      d611e48c
  16. 27 4月, 2023 2 次提交
    • G
      [phi] Move sequence_pool to phi - Step 3 :sequence_pool_grad_op (#52680) · fe053396
      gouzil 提交于
      * [phi] move sequence_pool kernel to phi
      
      * mv kernels impl
      
      * fix parameter error
      
      * clean include
      
      * fix compat filename
      
      * [phi] move fluid sequence_pool_grad to phi
      
      * [phi][compat] sig rm GradVarName
      
      * [phi] fix sequence_pool out type
      
      * [phi] rm impl, add const string
      
      * [phi] fix const str
      
      * fix sequence_pooling cmake
      
      * [phi] mv sequence_pooling_test
      
      * [phi] fix grad sig
      
      * [phi] fix sequence_pool is_test error
      
      * [phi] fix sequence_pooling gpu include
      
      * [phi] mv to impl
      
      * [phi] fix SequencePoolFunctor cu include
      
      * [phi] modify out max_index int32_t
      
      * [phi] add pooltype mapping determine
      
      * [phi] fix sequence_pool_sig
      
      * [phi] fix sequence_pool_sig sum
      
      * [phi] try ci
      
      * [phi] fix max_index optional
      fe053396
    • C
      【Hackathon4】No5 nextafter (#52544) · 82ac3913
      cyberslack_lee 提交于
      82ac3913
  17. 24 4月, 2023 2 次提交
  18. 23 4月, 2023 2 次提交
  19. 20 4月, 2023 1 次提交
    • Z
      move_elementwise_raw (#53010) · 7a72f7a2
      zhangyuqin1998 提交于
      * setup
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      
      * fix
      
      * fix
      
      * Update elementwise_kernel.cu
      
      * fix
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      
      * Update elementwise_kernel.cc
      7a72f7a2