1. 28 10月, 2019 1 次提交
    • H
      [LITE][XPU] initial support for XPU (#2202) · ac1b2f9f
      hong19860320 提交于
      * Initial support for XPU
      * Fix compiling errors of XPU
      * Move XPU op kernel bridges from backends to kernels to fix deps order
      * Change the namespace and directory of XPU bridges
      * Add XPU SDK
      * Fix header files and namespace of XPU SDK
      * Add unit tests for relu and conv2d ops
      * Restore the modification of paddle_api_test
      * Supports simple model which contains only a relu layer
      * Add compiling scripts for XPU
      * Fix compiling errors of XPU
      * Add comments for XPU LoadModel and BuildModel
      ac1b2f9f
  2. 27 10月, 2019 1 次提交
    • H
      model dynamic library tailoring (#2256) · b16917a4
      huzhiqiang 提交于
      * add shell file to automatically build and collect publish result test=develop
      * modify API inference of model_optimize_tool and add option for tiny&full publish test=develop
      b16917a4
  3. 26 10月, 2019 1 次提交
    • Y
      Fix conv_bn fuser with no elemwise op added, Fix conv_elem with original conv... · e914f0da
      Yuan Shuai 提交于
      Fix conv_bn fuser with no elemwise op added, Fix conv_elem with original conv with conv_bias (#2211)
      
      * Fix conv_bn fuser with no elemwise op added. test=develop
      
      * fix match not bug. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn fuse pass. test=develop
      
      * Fix conv-bn fuser consider the case: enable_int8=true without conv_bias. test=develop
      
      * Fix back, consider enable_int8. test=develop
      
      * Fix Bug for conv-bn quant pass. test=develop
      
      * Fix conv-elemwise considering origin conv with conv_bias. test=develop
      
      * Fix code format. test=develop
      
      * simplify. test=develop
      
      * simplify. test=develop
      
      * Fix conv_elem. test=develop
      e914f0da
  4. 25 10月, 2019 1 次提交
  5. 24 10月, 2019 3 次提交
    • L
      Make inceptionv4, resnet50, googlenet can run on x86 paltform (#2250) · ca7fefa1
      liu zhengxi 提交于
      * make inceptionv4, resnet50, googlenet can run on x86 paltform and fix the compare part in x86 unittests, test=develop
      
      * fix googlenet tests for benchmark record, test=develop
      
      * [framework][profile] fix profile dump bug when op is feed and fetch test=develop (sangoly)
      ca7fefa1
    • 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
    • S
      [python api] add armlinux supported and publish paddle-lite python (#2252) · 60709e60
      sangoly 提交于
      * [python api] add armlinux supported and publish paddle-lite python lib & demo
      
      * add cuda build
      test=develop
      60709e60
  6. 23 10月, 2019 8 次提交
  7. 22 10月, 2019 4 次提交
    • J
      Modify parse_op_registry (#2239) · 33601adf
      juncaipeng 提交于
      * modify parse_op_registry. When REGISTER_LITE_OP and op_name not in the same row, it also can obtain op_name, test=develop
      33601adf
    • J
      Optimize quant_dequant (#2215) · aefb4ea3
      juncaipeng 提交于
      * Add DeleteQuantOpFuser
      * Add fake_quantize_dequantize_moving_avg_abs_max_op
      * Add DeleteQuantDequantOpFuser
      aefb4ea3
    • Z
      remove feed and fetch for npu subgraph pass (#2230) · 52a093ee
      zhupengyang 提交于
      test=develop
      52a093ee
    • 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
  8. 21 10月, 2019 5 次提交
  9. 18 10月, 2019 2 次提交
    • W
      fix yolobox_cuda_test (#2208) · 2f57f5b4
      Wilber 提交于
      fix yolobox_cuda test precision error
      2f57f5b4
    • H
      Fix codestyle of GetInputName&GetOutputName (#2185) · 27a40b8f
      huzhiqiang 提交于
      * add shell file to automatically build and collect publish result test=develop
      
      * modify codestyle of getInputNames test=develop
      
      * test=develop
      
      * rm publish.sh
      
      * remove copy of func param
      
      * test=develop
      
      * test=devcelop
      
      * test=develop
      
      * test=develop
      
      * const & test=develop
      
      * modify variable defination test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      27a40b8f
  10. 17 10月, 2019 4 次提交
  11. 16 10月, 2019 3 次提交
  12. 15 10月, 2019 5 次提交
    • J
      Fix quant dequant fuse pass (#2190) · 31ab471e
      juncaipeng 提交于
      
      * fix bug for accessing the removed node, test=develop
      31ab471e
    • J
      fix benchmark, test=develop (#2188) · dbb660ee
      juncaipeng 提交于
      * fix benchmark, test=develop
      dbb660ee
    • fix pass selection, test=develop (#2187) · a1a22a69
      石晓伟 提交于
      a1a22a69
    • 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
  13. 14 10月, 2019 2 次提交