1. 14 7月, 2023 1 次提交
    • Z
      [IR] Reconstruct the Instruction for NewIrInterpreter (#55239) · 69e9f03e
      zhangbo9674 提交于
      * add inplace interface
      
      * support inplace
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refien code
      
      * add file
      
      * add interface
      
      * refine code
      
      * refine code
      
      * add phi kernel instruction
      
      * refine code
      
      * add test
      
      * delete unuse code
      
      * add test
      
      * add test
      
      * add deps
      
      * delete unused code
      
      * fix bug
      
      * fix bug
      69e9f03e
  2. 13 7月, 2023 1 次提交
  3. 12 7月, 2023 3 次提交
    • H
      Support selected rows new ir (#54987) · fc66b5d7
      hong 提交于
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * update
      
      * support selected rows
      
      * update
      
      * add selectrows
      
      * fix bug
      
      * add ut
      
      * refine code
      
      * refien code
      
      * update
      
      * update
      
      * support selected rows
      
      * support selected rows
      
      * support dense tensor
      
      * remove useless code
      
      * polish code
      
      * remote standalone executor test
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      fc66b5d7
    • 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
  4. 11 7月, 2023 2 次提交
  5. 10 7月, 2023 4 次提交
  6. 07 7月, 2023 1 次提交
  7. 05 7月, 2023 2 次提交
  8. 04 7月, 2023 1 次提交
  9. 03 7月, 2023 3 次提交
  10. 02 7月, 2023 3 次提交
  11. 01 7月, 2023 1 次提交
  12. 30 6月, 2023 4 次提交
  13. 29 6月, 2023 7 次提交
    • H
      Refactor build attribute (#54968) · eef38db1
      hong 提交于
      * update
      
      * refactor build context
      
      * fix bug
      
      * polish code
      
      * change func name
      eef38db1
    • Y
      Fix compiling on XPU related to MPTypeTrait. (#54924) · 7353e9e9
      Yiqun Liu 提交于
      * Fix compiling on XPU related to MPTypeTrait.
      
      * Unify the use of MPTypeTrait.
      
      * Fix compiling error.
      7353e9e9
    • [CodeStyle][CINN] format cpp code via clang-format (#54961) · af127342
      张经纬 提交于
      * fix clang-format
      
      * 'fix_clang-format'
      
      * fix remaining errors
      
      * format
      
      * empty commit, re-trigger all ci
      
      * empty commit, re-trigger all ci
      
      ---------
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      af127342
    • Z
      [IR] Refine PhiKernelOp attributes name and delete some unused code2 (#54944) · a7419ff5
      zhangbo9674 提交于
      * refine code
      
      * add some interface for phi kernel op
      
      * fix compile bug
      
      * delete unused code
      
      * support code
      
      * fix bug
      
      * refine code
      
      * delete unused code
      
      * fix compile bug
      
      * fix compile bug
      
      * delete unused code
      
      * add elementwise add op
      
      * fix compile bug
      
      * refine code
      
      * fix compile bug
      
      * add ut for attribute member function
      
      * delete unused code
      
      * refine ut
      a7419ff5
    • W
      [IR] add type&attribtue api for builder. (#54965) · f239d7d1
      winter-wang 提交于
      f239d7d1
    • D
      [CodeStyle][CINN] fix cinn codestyle cmake-format (#54967) · 865b6548
      Difer 提交于
      * fix cinn codestyle cmake-format
      
      * remove a blank cmakelist
      
      * restore deleted file
      
      * restore deleted file
      
      ---------
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      865b6548
    • H
      Refactor op info parser (#54859) · f18d538b
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      
      * add first pd_op to kernel dialect
      
      * lower pd op to kernel dialect
      
      * update
      
      * update
      
      * remove useless code
      
      * add attrite print test
      
      * fix bug
      
      * update
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish  code  and add python test
      
      * add test
      
      * fix test error
      
      * add env flag
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * fix build_static bug
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * update
      
      * update
      
      * fix bug
      
      * split file
      
      * fix conflict
      
      * polish code and fix conflict
      
      * support place transformer
      
      * finish bug
      
      * add gpu flags
      
      * fix with cuda macro
      
      * add fetch kernel
      
      * support fetch var in new ir
      
      * fix bug
      
      * polish code
      
      * change array equal to np.testing
      
      * support feed in new ir
      
      * update
      
      * fix bug
      
      * try to hack combine op
      
      * add scope guard
      
      * revert atan2 op
      
      * add scope guard
      
      * update
      
      * polish code
      
      * update
      
      * refactor build kernel context
      
      * fix unitest bug
      
      * polish code
      
      * use original order
      
      * remove useless code
      
      * polish code
      
      * fix bug
      f18d538b
  14. 28 6月, 2023 6 次提交
  15. 27 6月, 2023 1 次提交