1. 06 4月, 2023 1 次提交
  2. 31 3月, 2023 1 次提交
  3. 28 3月, 2023 1 次提交
    • W
      [AMP OP&Test] add fp16/bf16 unittest for conv ops (#51787) · ad5536eb
      wangxinxin08 提交于
      * add unittest for conv2d/depthwise_conv2d/conv2d_transpose
      
      * add bf16 for DWConv and ConvTranspose
      
      * fix unitest of conv2d_transpose
      
      * modify DWConv2d op and unittest
      
      * fix unittest of conv2d_transpose_bf16
      
      * modify unittest name according to review
      
      * modify atol of DWConv2D unittest
      ad5536eb
  4. 21 3月, 2023 1 次提交
    • iSerendipity's avatar
      [PHI decoupling] Move DataType* from paddle:experimental to phi namespace (#51716) · 4638a62e
      iSerendipity 提交于
      * move DataType from paddle::experimental to phi
      
      * convert namespace
      
      * convert namespace
      
      * convert namespace
      
      * clarify namespace
      
      * convert more datatype
      
      * Revert "convert more datatype"
      
      This reverts commit 083b462959e6a22d4d8767707b628b95b396642e.
      
      * convert more in auto_code_generator
      
      * fix conflicts for XPU
      
      * fix namespace conflicts
      
      * fix errors
      
      * Revert "fix errors"
      
      This reverts commit f9d9958b54ee32141112274c8a5c3c381ab0f876.
      
      * fix errors
      
      * fix formatting
      4638a62e
  5. 16 3月, 2023 1 次提交
  6. 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
  7. 03 3月, 2023 1 次提交
  8. 06 2月, 2023 1 次提交
  9. 20 12月, 2022 1 次提交
  10. 09 12月, 2022 1 次提交
  11. 08 12月, 2022 2 次提交
  12. 28 11月, 2022 1 次提交
    • H
      [PHI decoupling] move several header files from fluid to phi (#48415) · fd9c91c3
      huangjiyi 提交于
      * decouple cudnn_desc.h from fluid
      
      * move cudnn_desc.h from fluid to phi
      
      * fix bugs
      
      * decouple cudnn_helper.h from fluid
      
      * fix bugs
      
      * move cudnn_helper.h from fluid to phi
      
      * add fluid cudnn_helper.h
      
      * move miopen_desc.h from fluid to phi
      
      * move miopen_helper.h from fluid to phi
      
      * fix bugs
      
      * move gpu_dnn.h from fluid to phi
      
      * fix bugs
      
      * update copyright year
      
      * simplify gpu_dnn.h in fluid
      
      * fix bugs
      
      * fix xpu build bug
      
      * fix compile bug
      
      * fix bug
      fd9c91c3
  13. 24 11月, 2022 1 次提交
    • H
      [PHI decoupling] simplify "convert_utils.h" in fluid (#48168) · de4310e6
      huangjiyi 提交于
      * rm dependence to "convert_utils.h" in some files
      
      * fix bugs
      
      * replace DataType2String with DataTypeToString
      
      * replace framework::DataTypeSize with phi::SizeOf
      
      * mv convert_function from fluid to phi and rm old map
      
      * recommit with pre-commit
      
      * repalce ProtoVarType with ProtoDataType and update comment.
      
      * fix error about include "dnnl.hpp"
      
      * revert add dep mkldnn to convert_utils in phi
      
      * add mkldnn deps in convert_utils.h in phi
      
      * move deps to convert_utils.h in phi
      de4310e6
  14. 22 11月, 2022 1 次提交
  15. 18 11月, 2022 2 次提交
    • H
      [PHI decoupling] move "gpu_device_function.h" from fluid to phi (#48097) · 27ee6e71
      huangjiyi 提交于
      * move "paddle/phi/backends/gpu/gpu_device_function.h" to phi
      
      * update copyright years
      
      * rm "fluid/platform/device/gpu/gpu_device_function.h" in phi
      
      * fix rocm-complie bugs
      27ee6e71
    • T
      CUDNN v8 Implementation of Convolution Kernels (#47454) · 14a6e67b
      Tian Zheng 提交于
      * Refactor conv_kernel and conv_grad_kernel to provide interface for CUDNNv8 implementation
      
      * Fix macro
      
      * Add implementation for conv_kernel and conv_grad_kernel
      
      * Modification after rebase onto latest develop
      
      * Modify plan cache to comply with the API of phi::autotune
      
      * Refactor to reduce duplicate code
      
      * Review fix:
      - move functions in  conv_kernel_impl_v8.h and conv_grad_kernel_impl_v8.h to conv_kernel.cu and conv_grad_kernelk.cu
      - add const specifier for input tensor
      - add logging when plans fail to execute
      - move CudnnConvBwdFilterV8 and CudnnConvBwdDataV8 to conv_cudnn_frontend.h
      
      * - move plan building outside of cache
      
      * Fix ROCM build
      14a6e67b
  16. 16 11月, 2022 1 次提交
  17. 11 11月, 2022 1 次提交
  18. 10 11月, 2022 1 次提交
  19. 09 11月, 2022 1 次提交
  20. 08 11月, 2022 1 次提交
  21. 07 11月, 2022 1 次提交
  22. 02 11月, 2022 1 次提交
  23. 01 11月, 2022 1 次提交
    • C
      Adapting device-specific Extra Attributes for the PHI kernel (#46342) · c923e6c9
      Chen Weihang 提交于
      * add extra attr property set
      
      * add type_info for all context
      
      * add onednn context to all context
      
      * fix context compile error
      
      * simplify conv kernel args
      
      * pass runtime attr into dev_ctx
      
      * fix marco error
      
      * clear conv_grad_kernel extra args
      
      * merge conv_grad_grad into conv_grad
      
      * clear conv2d_grad_grad extra attrs
      
      * clear yaml and eager extra attr
      
      * fix conv1d error
      
      * change to thread local
      
      * fix npu compile failed
      
      * try to fix windows compile failed
      
      * add conv2d onednn phi kernel
      
      * fix ci bugs (#36)
      
      * fix compile bugs (#38)
      
      * fix extra input transform bug (#39)
      
      * support dynamic created attr (#40)
      
      * reset extra info gen code
      
      * rm conv_grad_grad kernel
      
      * reimpl pass attr adapting
      
      * add int attr support
      
      * remove vector inputnames creating
      
      * fix map at error
      
      * Update paddle/phi/kernels/onednn/conv_grad_kernel.cc
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      
      * remove useless extra attrs
      
      * replace mkldnn_engine by onednn_engine
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      c923e6c9
  24. 25 10月, 2022 1 次提交
  25. 24 10月, 2022 2 次提交
  26. 19 10月, 2022 1 次提交
  27. 13 10月, 2022 1 次提交
  28. 29 9月, 2022 1 次提交
  29. 09 9月, 2022 1 次提交
  30. 07 9月, 2022 1 次提交
  31. 05 9月, 2022 1 次提交
  32. 25 8月, 2022 1 次提交
    • H
      optimize conv algo cache (#41891) · 1cd7e68b
      hong 提交于
      * optimizer conv alog speed
      
      * code polish
      
      * remove useless code
      
      * fix compile error
      
      * fix cpu compile error
      
      * not use cudnn alog t
      
      * add search cache max number
      
      * polish code
      
      * fix cache test bug
      
      * add groups data format to conv args
      
      * fix cache test bug
      
      * fix cudnn_deterministic bug
      
      * fix test switch auto tune bug
      
      * fix test swith autotune bug;
      
      * fix conv cache bug
      
      * fix cache test error
      
      * fix cache test bug
      
      * fix windows mac compile error
      
      * fix workspace search error
      
      * update cudnn cache
      
      * fix cache test bug; test=develop
      
      * fix autotune swith test error
      
      * polish code
      
      * oplish code
      1cd7e68b
  33. 23 8月, 2022 1 次提交
  34. 03 8月, 2022 1 次提交
    • T
      [operator migration] Migrate affine grid op (#44663) · d94b9686
      Thomas Young 提交于
      * save change
      
      * save change by YSL
      
      * save change by YSL
      
      * change by YSL
      
      * test pre commit
      
      * Revert "test pre commit"
      
      This reverts commit eee5e116331186cc544de871b4a5174a6431f17c.
      
      * fix code style
      
      * fix ctest
      
      * temp save
      
      * save change
      
      * change by YSL
      
      * final change by ysl
      
      * fix ci
      
      * fix code style
      
      * delete unuse code
      
      * change by ysl
      d94b9686
  35. 21 6月, 2022 2 次提交
  36. 10 6月, 2022 1 次提交