1. 29 8月, 2023 1 次提交
  2. 25 8月, 2023 1 次提交
    • H
      New ir support fuse bn add act (#56247) · d3f4596a
      hong 提交于
      * support new ir load combine
      
      * update
      
      * polish code
      
      * remove print
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish code
      
      * fix compile bug
      
      * fix bug
      
      * revert code
      
      * remove useless code
      
      * polish code
      d3f4596a
  3. 15 8月, 2023 1 次提交
  4. 14 8月, 2023 1 次提交
  5. 09 8月, 2023 1 次提交
  6. 07 8月, 2023 1 次提交
  7. 04 8月, 2023 1 次提交
  8. 03 8月, 2023 1 次提交
  9. 21 7月, 2023 1 次提交
  10. 13 7月, 2023 1 次提交
  11. 12 7月, 2023 2 次提交
    • Y
      [ONEDNN] Upgrade oneDNN version to v3.1 (#52463) · cfa513f7
      YangQun 提交于
      * squash pick the poc code
      * fix build after rebase
      * fix int8 conv and fc uts
      * Fix and clean-up Get_SRC_Scale_Memory
      * fix floating point fc uts
      * fix test_analyzer_int8_googlenet
      * test_analyzer_int8_mobilenetv1
      * fix int8 mobilenet v2 and v3
      * fix build error after rebase
      * [oneDNN] rename library version
      * fix conv bias datatype
      * try to fix import error
      * fix rebase error
      * [oneDNN] pack library into python wheel
      * add MKLDNN_SHARED_LIB_3 to env_dict
      * fix test_analyzer_bert
      * fix fill_constant op kernel
      * fix ernie and matmul op ut
      * fix softplus ut
      * fix conv+relu6 fusion ut
      * fix hardswish fusion
      * fix quant+transpose fusion ut
      * fixsgd ut
      * fix int8 matmul with flatten
      * fix fc+scale fusion
      * fix conv/matmul+gelu fusion uts
      * fix rebase error
      * Revert "fix conv/matmul+gelu fusion uts"
      This reverts commit 47eb5e49972bd8f7271a233def9bfb3e98ce78e1.
      * upgrade to onednn v3.1
      * remove older version onednn
      * use densetensor::data() for achieving mean and var in layernorm impl
      * comments for atol of integer tests
      * fix clang-format
      * Revert "remove older version onednn"
      This reverts commit 783e57ddfd4401254596eae7d47adb9b03590c09.
      * improve binary handle
      * fix expand kernel
      * Revert "use densetensor::data() for achieving mean and var in layernorm impl"
      * always use forward_inference for conv
      * remove activation scales
      * rollback changes to mkldnn.cmake
      * address comments
      * port changes to dequantize kernel
      * fix merge error
      * fix fused_elementwise_kernel
      * upgrade onednn version to v3.1.1
      * fix some approval error
      * fix error msg format
      * remove old onednn libs
      * try to fix symbolic link issue
      * fix cinn test case segfault
      * do not explicit link test with onednn
      * remove unnecessary changes
      * integrate CINN with onednn v3
      * link with mkldnn project
      * fix cinn build file
      
      ---------
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      Co-authored-by: NChen, Xinyu1 <xinyu1.chen@intel.com>
      Co-authored-by: Ntianshuo78520a <707759223@qq.com>
      cfa513f7
    • W
      [clang-tidy] enable `readability-container-size-empty` check (#55279) · be3a6fa7
      Wang Xin 提交于
      * [clang-tidy] enable readability-container-size-empty check
      
      * fix test_custom_kernel Failed
      
      * add clang-tid-10 in dockerfile
      
      * add clang-tidy in dockerfile
      
      * fix bug
      be3a6fa7
  12. 29 6月, 2023 1 次提交
  13. 20 6月, 2023 1 次提交
  14. 12 6月, 2023 1 次提交
  15. 10 6月, 2023 1 次提交
  16. 08 6月, 2023 1 次提交
  17. 05 6月, 2023 1 次提交
  18. 01 6月, 2023 2 次提交
    • H
      Support static graph code generation for conv2d, conv3d, depthwise_conv2d (#54201) · f3eccb3f
      huangjiyi 提交于
      * update
      
      * update cmake
      
      * update
      
      * update
      
      * update
      
      * update
      
      * Revert "update cmake"
      
      This reverts commit 1e1dc1b2bc9967b725201272607f939260070fd4.
      
      * update
      
      * update
      
      * update
      
      * update
      f3eccb3f
    • T
      mv all unittests test (#53235) · b0e86d55
      tianshuo78520a 提交于
      * mv all unittests test
      
      * fix error
      
      * fix error
      
      * fix
      
      * fix
      
      * del unittests
      
      * fix paddle_build.sh
      
      * fix
      
      * fix test
      
      * fix add test
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix test_async_read_write
      
      * fix test_async_read_write
      
      * merge develop
      
      * fix
      
      * fix import legacy_test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix bug
      
      * fix
      
      * fix coverage test bug
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix code sstyle
      
      * fix code
      
      * fix code
      
      * fix
      
      * fix
      
      * fix
      
      * del test_sequence_enumerate_op.py
      
      * fix
      b0e86d55
  19. 24 5月, 2023 1 次提交
  20. 23 5月, 2023 2 次提交
  21. 19 5月, 2023 1 次提交
    • L
      Add flash attention to speedup fused_gate_attention. (#52731) · d29c1f8e
      limingshu 提交于
      * Reorganize the forward codes of flash-attention.
      
      * Fix forward.
      
      * Remove some noused codes.
      
      * Simplify codes and fix backward.
      
      * Change all LOG(INFO) to VLOG and fix the backward.
      
      * add scale for AF2 flash_attn, much thanks to xreki and shaojie for debug these codes
      
      * decrease the effect of debug print on performance
      
      * Unify the initialize of flashattn arguments.
      
      * Rewirte the reshape of temp_mask and temp_bias.
      
      * API support use_flash_attn.
      
      * Fix compiling error on CI.
      
      * Try to crop the flash-attention lib.
      
      * Correct the condition of whether can use flash-attn.
      
      * Remove the softmax_out argument.
      
      * Remove is_causal.
      
      * Polish codes.
      
      * Fix qkv_transpose_out's shape and scaling of Q * K.
      
      * Update commit of flash-attention.
      
      ---------
      Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
      d29c1f8e
  22. 18 5月, 2023 2 次提交
    • H
      Fused elementwises kernels and ops (#51427) · fb4a6ecf
      Hulek 提交于
      * Fused elementwises kernels and ops
      
      * change fuse pass name
      
      * adjust .pbtxt files
      
      * adjust quantization attributes
      
      * add missing arguments and fix others, review fixed
      
      * simplify fused kernel registration
      
      * fix elementwise unit tests
      
      * reuse one fused elementwise op
      
      * adjust proto
      
      * Add supported datatypes
      
      * Change 'Scale' to 'scale' in tests, change some tests to onednn
      
      * Revert breaking changes
      
      * Fix unit tests
      
      * Delete obsolete test cases
      
      * Delete commented out code
      
      * Fix codestyle
      
      * delete temporary condition
      
      * fix conflicts and delete duplicate fusing
      
      * Fix code after merge
      
      * Move tests to new directory
      
      * fix tests volatility
      
      * Rename test_elementwise_add_onednn_op.py to test_elementwise_add_mkldnn_op.py
      
      * Update CMakeLists.txt add mkldnn op test
      
      ---------
      Co-authored-by: NSilv3S <slawomir.siwek@intel.com>
      fb4a6ecf
    • H
      move fusion_group kernel to phi (#53781) · 26da689d
      huangjiyi 提交于
      26da689d
  23. 16 5月, 2023 2 次提交
    • G
      remove some [-Wunused-parameter] warning and fix a file to pass cpplint (#53814) · 10a38b4e
      Galaxy1458 提交于
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      10a38b4e
    • S
      Move fused batchnorm to Phi (#53476) · 5e5481d8
      Sonder 提交于
      * trans fused batch norm Compute function
      
      * trans batch norm register info to phi
      
      * trans fused batch norm grad Compute
      
      * trans batch norm grad register info
      
      * add sig file
      
      * update sig file
      
      * Update fused_bn_activation_kernel.cu
      
      * Update fused_bn_activation_grad_kernel.cu
      
      * fix
      
      * Rename fused_bn_activation_kernel_grad.cu to fused_bn_activation_kernel.cu
      
      * fix
      
      * fix
      
      * fix CudnnDataType error
      
      * fix
      
      * fix include
      
      * update
      
      * add #if
      
      * add fused bn act to cmakelist.txt
      
      * update  cmakelist
      
      * fix #ifdef error
      
      * add timeout set
      
      * add env set
      
      * fix
      
      * fix
      
      * Update fused_bn_activation_sig.cc
      5e5481d8
  24. 15 5月, 2023 1 次提交
  25. 11 5月, 2023 1 次提交
  26. 09 5月, 2023 1 次提交
  27. 05 5月, 2023 1 次提交
  28. 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
  29. 27 4月, 2023 2 次提交
    • S
      Move fused feedforward (#53166) · 25b4ba7f
      Sonder 提交于
      * trans fused_feedward Compute function to phi
      
      * add register info
      
      * remove maxfunctor
      
      * move fused feedward to phi
      
      * remove sig file
      
      * remove fliud include
      
      * add include
      
      * add include
      
      * add sig file
      
      * add output register info
      
      * fix sig file
      
      * Update fused_feedforward_sig.cc
      
      * fix grad kernel
      
      * update output register info
      
      * fix
      
      * open fused_feedforward static build
      
      * add optional and fix code style
      
      * fix output info for fused attention
      
      * add optional param
      
      * merge
      25b4ba7f
    • H
      Register fluid xpu kerenls to phi [part 2] (#53188) · eee9c788
      huangjiyi 提交于
      * update
      
      * fix bug
      eee9c788
  30. 26 4月, 2023 1 次提交
  31. 25 4月, 2023 1 次提交
    • Y
      [PHI]Add flags macro for PHI (#52991) · 22e96bde
      YuanRisheng 提交于
      * add flags for phi
      
      * fix compile bugs
      
      * fix ci bugs
      
      * fix inference bugs
      
      * fix cinn' bugs
      
      * fix cinn bugs
      
      * perfect code according comment
      
      * fix ci bugs
      
      * fix ci bugs
      22e96bde
  32. 24 4月, 2023 1 次提交
    • S
      Move fused feedforward xpu (#53196) · 83c2e682
      Sonder 提交于
      * add sig file
      
      * trans fused feedforward compute function to phi
      
      * remove fluid include
      
      * delete old register info
      
      * fix build error
      
      * trans fused feedforward grad xpu to phi
      83c2e682
  33. 19 4月, 2023 2 次提交