1. 05 6月, 2023 6 次提交
  2. 04 6月, 2023 2 次提交
  3. 03 6月, 2023 2 次提交
    • K
      [IR] Support op attribute and refactor for new op definition (#54068) · 37930a69
      kangguangli 提交于
      * add vector type support for program translator
      
      * polish
      
      * support basic attribute type
      
      * resolve conflicts
      
      * add verify for combine/slice and unittests
      
      * polish
      
      * support more type in attribute translator
      
      * modify by reviews
      
      * fix merge mistakes
      
      * refine code
      
      * refine code
      
      * add interface
      
      * fix: op name normalization
      
      * fix typo
      
      * refactor input translator
      
      * fix merge conflicts
      
      * fix op normalizer bug
      
      * refactor attribute translator
      
      * fix bug
      
      * refactor output translator
      
      * fix typo
      
      * fix
      
      * fix approval error
      
      * fix coverage
      
      * fix op_compat parser
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      ---------
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      37930a69
    • R
      support auto generate for static op reduce_sum (#54304) · 4f848aa9
      RedContritio 提交于
      * remove reduce_sum_op.h
      
      * support auto generate for static op reduce_sum
      
      * remove reduce_sum_op in CMakeLists.txt
      4f848aa9
  4. 02 6月, 2023 8 次提交
  5. 01 6月, 2023 4 次提交
  6. 31 5月, 2023 2 次提交
  7. 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
  8. 29 5月, 2023 1 次提交
  9. 28 5月, 2023 1 次提交
  10. 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
  11. 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
  12. 24 5月, 2023 2 次提交
  13. 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