1. 10 11月, 2022 1 次提交
  2. 09 11月, 2022 3 次提交
  3. 07 11月, 2022 3 次提交
  4. 04 11月, 2022 6 次提交
  5. 03 11月, 2022 1 次提交
    • S
      [PHI] Migrate softmax kernel (#47339) · b8ae3858
      Sławomir Siwek 提交于
      * 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
      
      * remove redundant imports
      
      * migrate softmax
      
      * 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
      
      * merge dev
      
      * fix map at error
      
      * adjust attribute
      
      * adapt funcs to PHI
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      b8ae3858
  6. 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
  7. 27 10月, 2022 1 次提交
    • L
      make all cpp tests dynamic linked to libpaddle.so [except windows] (#47088) · 2096448b
      Leo Chen 提交于
      * make all cpp tests dynamic linked to libpaddle.so
      
      * add comments
      
      * keep old cc_test for some tests
      
      * fix some ut
      
      * make some ut use cc_test_old
      
      * fix typos and fit for win32
      
      * fix lib path
      
      * fix some tests
      
      * skip lite test
      
      * fit for rocm
      
      * fit for cinn
      
      * fit for mac
      
      * fit for win32
      
      * skip inference ut
      
      * skip  windows
      
      * fix coverage
      2096448b
  8. 26 10月, 2022 2 次提交
  9. 24 10月, 2022 2 次提交
  10. 20 10月, 2022 2 次提交
  11. 18 10月, 2022 1 次提交
    • S
      FC + activation fuse passes (#45183) · b7a23adb
      Sławomir Siwek 提交于
      * git
      
      * style
      
      * leave default relu in kernel
      
      * style
      
      * cleanup FCMKLDNN pattern
      
      * merge conflicts
      
      * update develop
      
      * update develop
      
      * add const
      
      * rename to oneDNN and adjust attributes
      
      * whitespace
      b7a23adb
  12. 17 10月, 2022 1 次提交
  13. 14 10月, 2022 1 次提交
  14. 11 10月, 2022 2 次提交
  15. 10 10月, 2022 1 次提交
    • P
      [PHI] transpose2_grad op migration (#46139) · e3407a80
      Paulina Gacek 提交于
      * op migrated, Copy(OneDNNContext, ...) added
      
      * mutable_data & op registration in fluid removed
      
      * refactoring
      
      * OneDNNGetDataType to uppercase
      
      * missing cpu check added, handler moved to .h file
      
      * name changed to transpose_grad
      
      * Copy changed back to TensorCopy
      
      * Resizing corrected, Copy(OneDNNContext) removed
      e3407a80
  16. 03 10月, 2022 2 次提交
  17. 30 9月, 2022 1 次提交
  18. 28 9月, 2022 3 次提交
  19. 26 9月, 2022 1 次提交
  20. 22 9月, 2022 3 次提交
    • P
      [PHI] Sum op migration (#46239) · 3448afc1
      Paulina Gacek 提交于
      * Sum kernel migrated to phi
      
      * Static cast added, file name changed
      
      * OneDNNGetDataType to uppercase
      
      * refactoring
      
      * AddOneDNNHandler changed to SumOneDNNHandler
      3448afc1
    • P
      [PHI] Migrate sgd and stack oneDNN kernels (#46374) · 4ae37aee
      Piotr Paturej 提交于
      * Convert slice+grad oneDNN fluid kernels to PHI
      
      * Change mutable_data to Alloc
      
      * Refactor licences
      4ae37aee
    • S
      [PHI] Migrate gelu kernels (#45596) · 567e2fc8
      Sławomir Siwek 提交于
      * gaussian random
      
      * mkldnn to onednn renaming
      
      * fix merge conflicts
      
      * remove fluid code
      
      * onednn renaming
      
      * gelu fwd
      
      * sort activations
      
      * gelu gradient
      
      * remove unused macros
      
      * merge conflicts
      
      * fix merge conflicts
      
      * remove extra contraint from gelu op
      567e2fc8
  21. 21 9月, 2022 2 次提交
    • P
      Revert pool+grad oneDNN kernel conversion (#45989) · dc31d2aa
      Piotr Paturej 提交于
      dc31d2aa
    • P
      [PHI] Migrate concat+grad, expand+grad, fill_constant, nearest_interp and... · 3d59fee5
      Piotr Paturej 提交于
      [PHI] Migrate concat+grad, expand+grad, fill_constant, nearest_interp and bilinear_interp oneDNN kernels (#45863)
      
      * Migrate concat+grad, expand+grad, fill_constant, nearest_interp_v2 and bilinear_interp_v2 oneDNN kernels to PHI
      
      * Remove old namespace variable
      
      * Fix invalid out dims error
      
      * Add mutable_data method to concat output
      
      * Add check for -1 dim before computing out_dims
      
      * Capitalize oneDNNGetDataType function name
      
      * Change fill_constant kernel to correct PHI kernel
      
      * Attempt to fix dims error
      
      * Fix fill_constant (full) kernel
      3d59fee5