1. 09 2月, 2023 1 次提交
  2. 08 2月, 2023 2 次提交
  3. 06 2月, 2023 1 次提交
  4. 03 2月, 2023 2 次提交
    • S
      Replace matmul(v2) with fused_matmul during oneDNN fuse passes (#49515) · 5cfe1645
      Sławomir Siwek 提交于
      * replace matmul with matmul_v2 in fuse passes
      
      * Remove fusion logic from matmul
      
      * removing fusion methods
      
      * add proper name
      
      * adjust namespaces
      
      * clean attrs in python tests
      
      * delete checkpoint and restore matmul version
      
      * remove unused code
      
      * matmul and reshape/transpose fuses migrated
      
      * split MatmulOneDNN headers
      
      * fuse activation and eltwise_add
      
      * add fuse_activation
      
      * matmul_transpose_reshape/reshape_transpose_matmul
      
      * matmul + elementwise_add (fused)
      
      * activation temporary modifciation
      
      * merge newest develop
      
      * remove depedency from other PR
      
      * revert pbtxt
      
      * remove placeholders from matmul_v2
      
      * add description in OPMaker
      
      * remove matmul_v2_op.h and all depedencies
      
      * remove dims changing in base op
      
      * add possibility to fuse already fused_matmul
      
      * restart broken CI
      
      * Empty-Commit
      
      * revert matmul_utils.h
      
      * codestyle
      
      * adjust imports
      
      * add pbtxt file
      
      * 100% matmul unit tests coverage
      
      * trigger CI with minimal changes to develop
      
      * adjust changes to develop
      
      * add fused_matmul op
      
      * inherit base ops
      
      * add "v2"
      
      * move OPMaker
      
      * Gradually add fused_matmul files
      
      * second batch of fused_matmul changes
      
      * split infershapes of matmul_v2 and fused_matmul
      
      * inherit fused_matmul from matmul_v2
      
      * Update paddle/phi/backends/onednn/onednn_reuse.h
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * Update paddle/phi/kernels/fusion/onednn/fused_matmul_kernel.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      ---------
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      5cfe1645
    • P
      Rewrite conv testers from cpp to python (#49582) · aa8cef4a
      Paulina Gacek 提交于
      * conv_bias_mkldnn_fuse_pass_tester rewritten
      
      * conv_concat_relu_mkldnn_fuse_pass_tester rewritten
      
      * conv_elementwise_add_fuse_pass_tester rewritten
      
      * mkldnn changed to onednn
      
      * tests added to cmakeLists, style fix
      
      * got rid of unnecessary UT, some style changes
      
      * changes in naming convention
      
      * max_examples reduced
      
      * time out added
      aa8cef4a
  5. 18 1月, 2023 1 次提交
  6. 17 1月, 2023 1 次提交
  7. 09 1月, 2023 1 次提交
  8. 04 1月, 2023 1 次提交
  9. 03 1月, 2023 1 次提交
  10. 02 1月, 2023 1 次提交
  11. 21 12月, 2022 1 次提交
    • Z
      Refactor Pass for fused_conv (#48848) · 7f0eb2e3
      zyfncg 提交于
      * refactor conv_activation_mkldnn_fuse_pass
      
      * refactor conv_affine_channel_mkldnn_fuse_pass
      
      * fix conv_activation_mkldnn_fuse_pass
      
      * fix mkldnn unittest
      
      * refactor int8_scale_calculation_mkldnn_pass and params_quantization_mkldnn_pass
      
      * refactor conv_elementwise_add_mkldnn_fuse_pass
      
      * fix quant
      
      * refactor conv_bn_fuse_pass
      
      * fix conv_bn_fuse_pass
      
      * refactor depthwise_conv_bn_fuse_pass
      
      * fix unittest
      
      * fix conv_bn_fuse_pass
      
      * remove redundant conv2d in params_quantization_mkldnn_pass
      
      * fix params_quantization_mkldnn_pass_tester
      7f0eb2e3
  12. 15 12月, 2022 1 次提交
    • S
      [PHI decoupling] Remove fluid imports from MKLDNN code (#48981) · 4d5a5533
      Sławomir Siwek 提交于
      * fix wrong handler name
      
      * mkldnn_engine -> onednn_engine
      
      * remove fluid/errors.h imports
      
      * remove fluid/enforce.h imports
      
      * remove note and unnecessary import
      
      * remove fluid/pretty_log.h imports
      
      * remove fluid/place.h imports
      
      * remove fluid/data_layout_transform.h imports
      
      * remove fluid/device_context.h imports
      
      * remove mkldnn_helper code
      
      * remove fluid/mkldnn_reuse.h imports
      
      * pretty_log import
      4d5a5533
  13. 14 12月, 2022 1 次提交
  14. 13 12月, 2022 1 次提交
  15. 06 12月, 2022 2 次提交
    • Z
      Clear extra input (Bias, ResidualData) in OpMaker of conv2d (#47579) · 0a2dfa38
      zyfncg 提交于
      * delete Bias and ResidualData in OpMaker of conv2d
      
      * delete extra input of conv3d
      
      * refactor pass of conv_bias_fusion
      
      * fix mkldnn dependency
      
      * fix mkldnn compile
      
      * fix test_conv_bias_mkldnn_fuse_pass
      
      * police some code
      
      * remove useless log
      
      * fix analyzer_vit_ocr_tester
      
      * fix conv_activation_mkldnn_fuse_pass
      
      * fix test_analyzer_ocr
      
      * add fused_conv_sig
      
      * fix performence regression
      
      * fix performance regression
      0a2dfa38
    • S
      [PHI] Migrate elementwise_(add/mul) kernels (#48625) · 7575d37c
      Sławomir Siwek 提交于
      * remove fluid code
      
      * init
      
      * typo
      
      * fix merge conflicts
      7575d37c
  16. 28 11月, 2022 1 次提交
  17. 22 11月, 2022 1 次提交
    • S
      Some residualdata fixes (#48118) · 7bbdbe5b
      Sylwester Fraczek 提交于
      Removed ResidualData and Bias from ExtraAttrProperties because it's not an attribute.
      Removed bug with checking for ResidualData attribute in matmul_elementwise_add_fuse_pass
      Removed residualData from list of matmul outputs in cpu_bfloat16_pass.cc because it's input
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      7bbdbe5b
  18. 21 11月, 2022 1 次提交
    • S
      add fc-residual quantization (#46917) · fed0ed34
      Sylwester Fraczek 提交于
      * add fc-residual quantization
      
      * revert removal of check for use_mkldnn
      
      * fix bug
      
      * add disable_logs
      
      * review fix
      
      call twice AreScalesPresntForNodes instead of if-else
      
      * rewrite residual input to output
      
      * revert fc mkldnn taking residual data
      
      * format fix
      
      * fix LoDTensor->DenseTensor
      
      * LoDTensor->DenseTensor
      
      * output->input
      
      * revert changes to unsupported script
      
      revert changes to unsupported script
      
      * remove fc residualdata from output blocklist in cpu_bfloat16_pass.cc
      fed0ed34
  19. 18 11月, 2022 1 次提交
  20. 16 11月, 2022 1 次提交
  21. 15 11月, 2022 2 次提交
    • J
      Added optimization pass for oneDNN layernorm kernel (#47782) · 519e7426
      jakpiase 提交于
      * optimization for ln
      
      * fix
      
      * added output to gpd
      
      * added formatting
      
      * fix
      519e7426
    • S
      mkldnn directory cleanup (#47779) · 8a339d24
      Sławomir Siwek 提交于
      * cleanup unused code
      
      * unify is_int8 is_bfloat16
      
      * Simplify matmul_v2 FWD kernel
      
      * remove RunKernel methods
      
      * remove import namespace
      
      * remove headers
      
      * clean fluid/phi cross imports
      
      * remove fluid axpy_handler
      
      * delete fluid methods
      
      * activations
      
      * OneDNNMemDesc
      
      * MKLDNNFormatForSize
      
      * MatchShapeToLayout
      
      * MKLDNNMemoryFormat
      
      * MKLDNNFormat
      
      * ReorderMKLDNNHandler
      
      * to_void_cast
      
      * review suggestions
      
      * interpolate
      
      * remove fluid depedency
      8a339d24
  22. 08 11月, 2022 2 次提交
    • S
      Migrate old C++ unit tests to Python framework (#47006) · 0c9f09b8
      Sławomir Siwek 提交于
      * softplus+activation
      
      * fc + elementwise_add test refactored
      
      * rename MKLDNN to OneDNN
      
      * fc+activation tests refactored
      
      * remove softplus ut
      
      * whitespace
      
      * whitespace
      
      * codestyle
      
      * codestyle
      
      * add more cases to fc+act
      
      * remove softplus+hard_sigmoid pass
      
      * remove softplus + hard_sigmoid UT
      
      * add approximate for gelu
      
      * swish beta range
      
      * new codestyle
      
      * reduce number of tests
      0c9f09b8
    • P
      Split quant (#47449) · 130db92a
      Paulina Gacek 提交于
      * Split kernel registered, tests for uint/int added
      
      * Split quantized
      
      * Split output scales calculated only once
      
      * NearestInterp test fix reversed
      
      * DequantizeOutputs corrected
      130db92a
  23. 07 11月, 2022 2 次提交
  24. 04 11月, 2022 1 次提交
  25. 03 11月, 2022 2 次提交
    • Y
      Fix ComputePropagateScalesMkldnnPass of MKLDNN (#47574) · 5fc92943
      yeliang2258 提交于
      * add constant_folding_pass pass for mkldnn int8
      
      * update UpdateScaleOpInOutScales
      5fc92943
    • 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
  26. 27 10月, 2022 2 次提交
  27. 26 10月, 2022 2 次提交
  28. 24 10月, 2022 1 次提交
  29. 20 10月, 2022 1 次提交
  30. 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
  31. 13 10月, 2022 1 次提交
    • Y
      Fix quantize model deploy bugs when using MKLDNN (#45920) · 561fd8c8
      yeliang2258 提交于
      * fix immutable op quantize bugs
      
      * fix
      
      * fix build bug
      
      * fix test
      
      * notest,test=inference
      
      * fix ppyoloe acc drop bugs
      
      * fix test
      
      * fix test
      
      * add test
      
      * fix
      
      * fix
      
      * fix test
      
      * fix refined name bug
      
      * fix test
      
      * bias fix
      
      * fix matmul weight dequant bug
      
      * re-ci
      
      * fix tester
      
      * fix test
      
      * fix tester
      
      * update weight dequantize func
      
      * update code
      
      * update test for converage
      
      * update test
      
      * update cmake
      
      * update cmakelist
      
      * update code
      
      * rerun ci
      
      * remove useless code
      561fd8c8