1. 01 6月, 2023 2 次提交
  2. 31 5月, 2023 2 次提交
  3. 30 5月, 2023 7 次提交
    • R
      update_c++17 (#53892) · 950b563b
      risemeup1 提交于
      * update_c++17
      
      * update_c++17
      
      * fix windows bug
      
      * solve cirle depend
      
      * solve cirle depend
      
      * solve cirle depend
      
      * solve cirle depend
      
      * solve cirle depend
      
      * fix windows bug
      
      * fix compiler error
      
      * fix compiler error
      
      * update eigen3
      
      * update eigen3
      
      * update eigen3
      
      * fix mac-py3 compiler error
      
      * update C++17
      
      * fix mac compiler error
      
      * fix compile error
      
      * fix coverage_compiler error
      
      * fix coverage_ci_problem
      
      * fix coverage_error
      
      * fix_kunlun200 compile error
      
      * fix kunlun200 compiler error
      
      * fix compile error
      
      * fix compiler error
      
      * fix py3 failed test
      
      * fix kunlun200 compiler error
      
      * test
      
      * fix test error
      
      * fix test error
      
      * fix test error
      
      * test
      
      * test
      
      * fix mac py3 error
      
      * fix mac py3 error
      
      * fix mac py3 error
      
      * fix test error
      
      * fix test error
      
      * fix compile error
      
      * fix compile error
      
      * fix compile error
      
      * test
      
      * test
      
      * fix compiler error
      
      * test
      
      * test
      
      * debug on ci
      
      * fix compiler error
      
      * fix compiler error
      
      * test
      
      * fix cinn compiler error
      
      * test
      
      * fix rocm cmpile error
      
      * fix cinn and kunlun compile error
      
      * update c++14
      
      * Update flags.cmake
      950b563b
    • Y
      [AMP] Reimplement check_nan_inf as check_numerics_kernel. (#52245) · 44bd5927
      Yiqun Liu 提交于
      * Reimplement the check_nan_inf function as check_numerics kernel.
      
      * Remove the cpu implemention to phi.
      
      * Add ifdef for the including of omp.h.
      
      * Move the use of FLAGS_check_nan_inf_level out of header file.
      
      * Implement a common PrintAndThrowError function.
      
      * Fix the error using of __NVCC__, which should be instead with __CUDA_ARCH__.
      
      * Add dependency of phi.
      
      * Polish codes and unittest.
      44bd5927
    • Y
      add pass/analysis_manager.h ir/type_name.h pass/pass_instrumentation.h... · dff77c23
      Yuanle Liu 提交于
      add pass/analysis_manager.h ir/type_name.h pass/pass_instrumentation.h pass/utils.h and adjust pass dir (#54170)
      
      dff77c23
    • T
      del sequence_enumerate_op (#54177) · f9065e15
      tianshuo78520a 提交于
      * del sequence_enumerate_op
      
      * del analyzer_pyramid_dnn_tester
      
      * fix
      f9065e15
    • Z
      [IR] Refine OP auto code gen (#54186) · 14425c06
      zhangbo9674 提交于
      * refine auto gen
      
      * refine code
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      14425c06
    • W
      [IR] add region data structure. (#54185) · 88e43625
      winter-wang 提交于
      88e43625
    • R
      support auto generate for activation op relu6 (#53979) · dabfbba9
      RedContritio 提交于
      * support auto generate for activation_op relu6
      
      * add generated_static_op for activation_op in CMakeLists.txt
      dabfbba9
  4. 29 5月, 2023 1 次提交
  5. 28 5月, 2023 1 次提交
  6. 26 5月, 2023 2 次提交
    • Y
      [PHI Decoupling]Create PHI shared lib (#53735) · da50a009
      YuanRisheng 提交于
      * create phi so
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * add file
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * perfect so
      
      * fix py3 bugs
      
      * delete all static target in phi
      
      * fix windows bugs
      
      * fix py3 bugs
      
      * fix ci bugs
      
      * fix windows bugs
      
      * fix bugs: gflags can't be linked by dynamic and static lib
      
      * fix bugs that can not load 3rd party
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix conflict
      
      * fix xpu bugs
      
      * fix mac compile bugs
      
      * fix psgpu bugs
      
      * fix inference failed
      
      * deal with conflict
      
      * fix LIBRARY_PATH bug
      
      * fix windows bugs
      
      * fix onednn error
      
      * fix windows compile bugs
      
      * fix windows compile bugs
      
      * fix test_cuda_graph_static_mode_error aborted
      
      * fix windows bugs
      
      * fix mac-python3 error
      
      * fix hip compile bugs
      
      * change mode to static
      
      * change to static mode
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix bugs
      
      * add static flag
      
      * add PADDLE_API
      
      * change position of PADDLE_API
      
      * fix windows bugs
      
      * change mode to dynamic lib
      
      * fix windows static bugs
      
      * deal with conflict
      
      * fix windows unit bug
      
      * fix coverage
      
      * deal with conflict
      
      * fix windows-inference
      
      * fix py3 bugs
      
      * fix bugs when compile type_info
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix windows openblas
      
      * fix xpu bugs
      
      * fix enforce_test in windows
      
      * update code according comment
      
      * fix windows cmake bug
      
      * fix windows bugs
      
      * fix windows bugs
      
      * delete cinn unittest
      
      * fix cinn bugs
      
      ---------
      Co-authored-by: HappyHeavyRain's avatarlzydev <1528794076@qq.com>
      da50a009
    • Y
      [IR&PASS] part 1: add pass base, pass manager, adaptor pass, ut (#54023) · b75c0c24
      Yuanle Liu 提交于
      * [IR&PASS] part 1: add pass base, pass manager, adaptor pass, ut
      
      * include cstdint
      b75c0c24
  7. 25 5月, 2023 1 次提交
    • Z
      [IR] Refine Builder (#54052) · 3143d8bf
      zhangbo9674 提交于
      * refine code
      
      * delete some unused code
      
      * refine code of build
      
      * refine code of build
      
      * add block
      
      * refine builder
      
      * refine code
      
      * refine code by comment
      
      * fix compiler bug
      3143d8bf
  8. 24 5月, 2023 2 次提交
  9. 23 5月, 2023 2 次提交
    • Z
      [IR] Add op definition auto code generator (#54026) · b49a7e26
      zhangbo9674 提交于
      * Use copy_if_different to avoid recompilation of generated cutlass
      kernels.
      
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add conv2d
      
      * draft of paddle converter
      
      * fix CI
      
      * fix windows CI
      
      * fix program destructor
      
      * printer draft
      
      * fix bug
      
      * printer draft finish
      
      * fix windows CI
      
      * reserve inplace semantics
      
      * revert program::destroy since no need to do topology sort
      
      * revert
      
      * modify by reviews
      
      * commit printer and resnet50 related ops
      
      * fix
      
      * fix
      
      * fix op definition
      
      * refine op dyn_cast
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add code gen
      
      * refine code
      
      * refine code
      
      * refine code
      
      ---------
      Co-authored-by: Numiswing <umiswing@foxmail.com>
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      b49a7e26
    • K
      [NewIR] Program desc convert to IRProgram (#53707) · 07223e34
      kangguangli 提交于
      * Use copy_if_different to avoid recompilation of generated cutlass
      kernels.
      
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add conv2d
      
      * draft of paddle converter
      
      * fix CI
      
      * fix windows CI
      
      * fix program destructor
      
      * printer draft
      
      * fix bug
      
      * printer draft finish
      
      * fix windows CI
      
      * reserve inplace semantics
      
      * revert program::destroy since no need to do topology sort
      
      * revert
      
      * modify by reviews
      
      * polish
      
      * fix op definition
      
      * fix CI
      
      * refresh file changes
      
      ---------
      Co-authored-by: Numiswing <umiswing@foxmail.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      07223e34
  10. 22 5月, 2023 2 次提交
  11. 20 5月, 2023 1 次提交
  12. 19 5月, 2023 2 次提交
  13. 18 5月, 2023 4 次提交
    • 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
    • C
      Fix typos, test=document_fix (#53927) · e916e80c
      co63oc 提交于
      e916e80c
    • R
      support auto generate for op layer_norm (#53178) · 4f07b653
      RedContritio 提交于
      * simplify layer_norm_op.cc
      
      * support auto generate for op layer_norm
      
      * update unittest for composite_layer_norm
      
      * remove layer_norm_op.cc from scripts
      
      * replace layer_norm_op with generated_op
      
      * add get_expected_kernel for layer_norm
      
      * update cmake kernel register function for layer_norm_mkldnn_op
      4f07b653
  14. 17 5月, 2023 1 次提交
    • Z
      [IR] Program & Parameter & PaddleDialect (#53557) · 78967ad2
      zhangbo9674 提交于
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add ir parameter convert pd variable methods
      
      * refine code
      
      * fix bug
      
      * refine by ut
      
      * refine ut
      
      * delete unused code
      
      * refine code
      
      * refine code by comment
      
      * reset WITH_NEW_IR
      
      * refine op attribute map
      
      * refine program and op create
      
      * refine program and op create
      78967ad2
  15. 16 5月, 2023 1 次提交
  16. 12 5月, 2023 2 次提交
  17. 11 5月, 2023 1 次提交
    • G
      [test]mv fluid [controlflow,detection,dlnne,tensorrt] tests to tests (#53470) · 80757527
      gouzil 提交于
      * [test]mv fluid controlflow detection dlnne tensorrt tests to tests
      
      * [test]clean dlnne
      
      * [test] fix test_tensorrt_engine_op
      
      * [test] try fix path error
      
      * [test] RollBACK test_tensorrt_engine_op
      
      * [test] RollBACK test_tensorrt_engine_op
      
      * [test]add todo
      
      * Empty-Commit; test=document_fix
      80757527
  18. 09 5月, 2023 1 次提交
  19. 08 5月, 2023 1 次提交
  20. 06 5月, 2023 3 次提交
    • Z
      [IR] OpTrait & OpInterface & OpInfo (#52846) · d91d758d
      zhangbo9674 提交于
      * add OpTrait OpInterface ValueIterator TypeList
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add opinfo
      
      * add typeid copy constructor
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add create
      
      * add member func for opinfo
      
      * fix compile bug
      
      * add op interface in ircontext
      
      * fix compile bug
      
      * fix compile bug
      
      * refine code
      
      * fix compile bug
      
      * add ut
      
      * refine ut
      
      * refine code of opinfo_impl
      
      * delete unused code
      
      * add dyncast for operation
      
      * refine comment
      
      * refine opinfo_impl
      
      * delete unused code
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code for registerOp
      
      * refine opfin create
      
      * refine code of search method of ircontext
      
      * refine op attribute
      
      * change opinfo_map key from type_id to string
      d91d758d
    • C
      XPU Support external stream (#53334) · 99399f32
      csy0225 提交于
      99399f32
    • K
      rem npu in test (#53469) · a4997311
      Kim Yann 提交于
      * rem npu in test
      
      * restore some code
      a4997311
  21. 05 5月, 2023 1 次提交