1. 24 10月, 2019 1 次提交
    • X
      Fix gemv int8 error (#2249) · 3ea368b1
      Xiaoyang LI 提交于
      * remove log in reshape, fix conv error when padding size=4, test=develop
      
      * fix style, test=develop
      
      * remove useless code, test=develop
      
      * remove redundant model test file, test=develop
      
      * change cluster to power_mode, test=develop
      
      * fix build error, test=develop
      
      * change cluster to power_mode, test=develop
      
      * change opt_nb to use_optimize_nb, test=develop
      
      * null, test=develop
      
      * add gemv-int8 test, fix clang build error, test=develop
      
      * fix gemv-int8 error when build with clang, test=develop
      3ea368b1
  2. 23 10月, 2019 3 次提交
  3. 22 10月, 2019 1 次提交
    • T
      Transformer pr (#2214) · 330644b0
      TianXiaogang 提交于
      * feat: add beam_search_special function for support nlp model
      
      * fix: add beam_search_compute kernel input and output
      
      * feat: add assign op & copy_compute kernel
      
      * feat: add fill_const_batch_size_like op & kernel
      
      * feat: add layer_norm op and kernel and ut
      
      * fix: fix some bugs
          fix mul_op infer_shape bug when x_dim_idx = 2, x_dims.size()=3 & y_dim_idx = 1, y_dims.size()=2
          fix elementwise_compute bug when y axis is all 1
          fix beam_search choose math_func wrong bug
          fix layer_norm get attr bug
          fix fill_constant_batch_size_like shape_set bug
      
      * feat: add gather op and kernel & and transform ut
      
      * feats: add ops and fix bugs to support transformer op
             fix type_cast passes to skip `while`
             fix elementwise infer_shape bug when x.dims=3 and y.dims={1} & axis=0
             fix lookup_table compute bug
             fix read_from_array/beam_search/increment/compate/gather ops data_type problems
      
      * fix:
          transfomer ut add word read inferface
          fix copy/gather/norm/layer_norm include path problem
      
      * fix:debug info
      
      * fix: fix input reshape bug
      
      * fix: fix norm bug
      
      * style: style fix & test=develop
      
      * style: fix operators cmakelist
      
      * style: fix operators cmakelist; test=develop
      
      * fix and test=develop
      
      * fix and test=develop
      
      * style: style fix; test=develop
      330644b0
  4. 21 10月, 2019 2 次提交
  5. 17 10月, 2019 2 次提交
    • Z
      fix npu path (#2210) · c10a8b16
      zhupengyang 提交于
      * move lite/backends/npu/bridges --> lite/kernels/npu/
      
      test=develop
      
      * fix namespace for npu
      
      test=develop
      
      * mv npu runtime file to lite/backends/npu
      
      test=develop
      c10a8b16
    • H
      speedup fp32 depthwise conv · c5cd78ab
      HappyAngel 提交于
      * update con_dw
      
      * update
      
      * add conv_depthwise_3x3s1.cc and conv_depthwise_3x3s2.cc
      
      * add conv_depthwise_3x3s1_fp32 and conv_depthwise_3x3s2_fp32
      
      * add new conv_dw
      
      * only support conv_dw pad=0, 1
      
      * add conv_dw_s1 conv_dw_s2 fp32
      
      *     //conv2_func _impl2{nullptr};
      update conv_dw, add conv_3x3s1 and conv_3x3s2, pad=[0,1]
      
      * fix format, test=develop
      
      * fix formmat, test=develop
      c5cd78ab
  6. 16 10月, 2019 1 次提交
  7. 15 10月, 2019 2 次提交
    • Y
      [LITE][OPENCL] Fix layout, target pass for OpenCL, add macro of... · 26d05370
      Yuan Shuai 提交于
      [LITE][OPENCL] Fix layout, target pass for OpenCL, add macro of CONVERT_TYPE_TO and READ/WRITE image, memory reuse in ResetLazyImage2D (#2170)
      
      * add macro of CONVERT_TYPE_TO and READ/WRITE image. test=develop
      
      * add data type control. test=develop
      
      * fix io op as general layout and precision. test=develop
      
      * Fix memory reuse strategy for opencl image2d. test=develop
      
      * remove std::array, std::map in about opencl backend. test=develop
      26d05370
    • H
      [NPU] Fix and refine the supporting of multi NPU models (#2037) · e184d474
      hong19860320 提交于
      * [NPU] Fix the bug of loading multi NPU models
      test=develop
      
      * [NPU] Use lite tensor to store NPU model, fix the management of multi NPU models, support loading NPU model from memory and reduce the modification of framework
      test=develop
      
      * [NPU] Remove redundant header files for NPU bridges,
      test=develop
      
      * [NPU] fix NPU deps
      test=develop
      
      * [NPU] refine the compiling script for NPU
      test=develop
      
      * [NPU] remove redundant subdirectory in lite/CMakeLists.txt
      test=develop
      
      * [NPU] Fix and refine NPU test case
      test=develop
      
      * [NPU] revoke the modification of other non-NPU modules
      test=develop
      
      * [NPU] Remove NPU bridges if target is tiny publish
      test=develop
      e184d474
  8. 14 10月, 2019 2 次提交
  9. 11 10月, 2019 3 次提交
    • J
      add rsqrt op, test=develop (#2176) · 78ddd64d
      juncaipeng 提交于
      78ddd64d
    • Z
      CUDA: can run yolov3 int8 (#2172) · 29f448c6
      Zhaolong Xing 提交于
      * add conv int8 support(in condition which the input or output channel not be the times of 4)
      add add_kernel for cuda.
      
      * can run yolov3 fp32
      test=develop
      
      * 1. fix bug with yolov3 run
      test=develop
      
      * can run yolov3 int8 test=develop
      29f448c6
    • Y
      [LITE][OPENCL] support image2d type (#2158) · 74074146
      Yuan Shuai 提交于
      * [LITE][OPENCL] support image2d. test=develop
      
      * add context changed with consider image*. test=develop
      
      * add layout, relu image kernels. test=develop
      
      * replace image_data with data, mutable_image_data with mutable_data, test=develop
      
      * comment unused var. test=develop
      
      * remove unused var. test=develop
      74074146
  10. 10 10月, 2019 1 次提交
  11. 09 10月, 2019 1 次提交
    • Y
      improve dw conv performance · 498a30cf
      yiicy 提交于
      *  imporve prepack_input func speed in int8 3x3s1 dw conv
      
      * fix code style
      
      * fix code style
      
      * improve 3x3s1 dw fp32 conv speed a little
      
      * arm add 5x5s1 int8 dw conv, test=develop
      498a30cf
  12. 27 9月, 2019 1 次提交
    • Z
      can run yolov3 fp32 on cuda devices (#2092) · c4b5e32c
      Zhaolong Xing 提交于
      * add conv int8 support(in condition which the input or output channel not be the times of 4)
      add add_kernel for cuda.
      
      * can run yolov3 fp32
      test=develop
      
      * 1. fix bug with yolov3 run
      test=develop
      c4b5e32c
  13. 25 9月, 2019 1 次提交
  14. 19 9月, 2019 3 次提交
  15. 18 9月, 2019 1 次提交
    • X
      fix bias quantize error && fix clang build error (#2049) · 8d6f475e
      Xiaoyang LI 提交于
      * fix gemm_int8, gemv-int8 and conv-int8 math function, add float bias
      
      * change conv impl
      
      * neon int8 kernel support float bias
      
      * arm compute kernel support float bias
      
      * add math_test target
      
      * add tensor utils for testing, fix sgemm ut error
      
      * add gemm_int8 unit test, support float bias
      
      * fix build script
      
      * add conv compute unit test for arm
      
      * fix build script, test=develop
      
      * fix fp32 dw conv3x3s1, test=develop
      
      * add fp32 dw conv3x3s1, test=develop
      
      * add armv7 fp32 dw conv3x3s1, test=develop
      
      * add fp32 depthwise conv3x3s2, test=develop
      
      * fix fp32 conv3x3 depthwise build error, test=develop
      
      * fix gemm_like conv trans weights error, test=develop
      
      * fix int8 depthwise conv3x3 error, test=develop
      
      * turn on all test for arm fp32 conv, test=develop
      
      * fix int8 conv1x1 error
      
      * fix int8 direct conv3x3s1 error, test=develop
      
      * fix int8 direct conv3x3s2, test=develop
      
      * turn on all test for arm int8 conv, test=develop
      
      * fix int8 fc error, change mobilenetv1-int8 ground-truth result to fluid, test=develop
      
      * remove debug info, strip ut binary, test=develop
      
      * fix conv compute error, test=develop
      
      * change Init() to ReInitWhenNeeded(), test=develop
      
      * fix code style, test=develop
      
      * remote engine_test, test=develop
      
      * fix building server tests error, test=develop
      
      * fix sdot clang build error, test=develop
      
      * fix sgemm ut timeout error, test=develop
      
      * fix clang build error, test=develop
      
      * turn off math basic test due to ci time out, test=develop
      
      * fix conv_int8 ut error, test=develop
      8d6f475e
  16. 17 9月, 2019 1 次提交
  17. 16 9月, 2019 2 次提交
  18. 12 9月, 2019 4 次提交
  19. 11 9月, 2019 1 次提交
  20. 10 9月, 2019 3 次提交
  21. 09 9月, 2019 1 次提交
  22. 07 9月, 2019 1 次提交
  23. 06 9月, 2019 2 次提交
    • W
      modify nearest_interpolate when attr align_corners=false (bug_fix) (#1969) · 6b48313c
      Wilber 提交于
      * modify slice op and add slice test
      
      * modify nearest_polate when align_corners=false (bugfix)
      6b48313c
    • Z
      add cudnn conv fp32, int8 support (#1974) · 23d83c04
      Zhaolong Xing 提交于
      * paddle lite cuda init
      can run model with leaky_relu
      
      * add the missing file.
      test=develop
      
      * add the load from memory interface.
      test=develop
      
      * refine this pr. fix comments
      fix ci error
      test=develop
      
      * conv impl
      fp32:
      conv, conv+bais, conv+bias+relu, conv+bias+leaky_relu
      
      int8:
      conv, conv+bais+relu(int8 or fp32 output), conv+bias+leaky_relu(int8 or fp32 output)
      
      can run conv+ bias+relu using cxx_api
      test=develop
      
      * move the lite/cuda/math to backends/cuda/math
      test=develop
      23d83c04