1. 19 11月, 2019 1 次提交
  2. 18 11月, 2019 1 次提交
    • J
      Better TensorRT support (#20858) · 330b173c
      Jeng Bai-Cheng 提交于
      * Fix TensorRT detection bug
      
      1. Add new search path for TensorRT at tensorrt.cmake
      2. Add better debug message
      3. Fix the bug of detection of TensorRT version
      
      In NVIDIA official docker image, TensorRT headers are located at
      `/usr/include/x86_64-linux-gnu` and TensorRT libraries are located
      at `/usr/lib/x86_64-linux-gnu`, so using `-DTENSORRT_ROOT` will
      fail to detect TensorRT.
      
      There is no debug/warning message to tell developer that TensorRT
      is failed to be detected.
      
      In later version of TensorRT (e.g. v6), `NV_TENSORRT_MAJOR` is
      defined at `NvInferVersion.h` instead of `NvInfer.h`, so add
      compatibility fix.
      
      * Fix TensorRT variables in CMake
      
      1. Replace `${TENSORRT_ROOT}/include` with `${TENSORRT_INCLUDE_DIR}`
      2. Replace `${TENSORRT_ROOT}/lib` with `${TENSORRT_LIBRARY}`
      
      Manually type path may locate incorrect path of TensorRT. Use the
      paths detected by system instead.
      
      * Fix TensorRT library path
      
      1. Add new variable - `${TENSORRT_LIBRARY_DIR}`
      2. Fix TensorRT library path
      
      inference_lib.cmake and setup.py.in need the path of TensorRT library
      instead of the file of TensorRT library, so add new variable to fix it.
      
      * Add more general search rule for TensoRT
      
      Let system detect architecture instead of manually assign it, so
      replace `x86_64-linux-gnu` with `${CMAKE_LIBRARY_ARCHITECTURE}`.
      
      * Add more general search rule for TensorRT
      
      Remove duplicate search rules for TensorRT libraries. Use
      `${TENSORRT_LIBRARY_DIR}` to get full path of libnvinfer.so
      
      test=develop
      330b173c
  3. 03 11月, 2019 1 次提交
  4. 31 10月, 2019 1 次提交
  5. 20 10月, 2019 1 次提交
  6. 16 10月, 2019 1 次提交
  7. 28 9月, 2019 1 次提交
    • Q
      Enable users to create custom cpp op outside framework. (#19256) · 1a3eef02
      qingqing01 提交于
      * How to write custom op needs to follow framework OP spec.
      * Package fluid_framework.so and headers into whl.
      * Add paddle.sysconfig.get_include() and paddle.sysconfig.get_lib() to get include dir and lib dir.
      * Export some C-APIs to merge OpInfo between core.so and custom_op.so.
      * Add unit testing.
      * Update API.spec.
      1a3eef02
  8. 17 9月, 2019 1 次提交
  9. 12 8月, 2019 1 次提交
  10. 08 8月, 2019 1 次提交
  11. 05 8月, 2019 1 次提交
    • L
      fix warpctc.dll not found issue (#18761) · a43a763b
      liuwei1031 提交于
      * fix warpctc.dll not found issue, test=develop
      
      * revert the linux platform change, test=develop
      
      * delete warpctc_lib_path.h.in, test=develop
      
      * add SetPySitePackagePath function
      
      * fix warpctc.dylib not found issue on Mac, test=develop
      
      * improve the paddle lib path setting logic, test=develop
      
      * fix mac ci issue caused by test_warpctc_op unittest, test=develop
      
      * tweak code, test=develop
      a43a763b
  12. 27 6月, 2019 1 次提交
  13. 12 6月, 2019 2 次提交
    • T
      fix save/load in fleet (#17675) · 101f74cb
      tangwei12 提交于
      * fix save/load in Fleet
      * add UT framework of Fleet
      101f74cb
    • T
      combine noavx and avx package (#17889) · 5c06bff2
      tensor-tang 提交于
      * support avx and noavx core
      
      * add catch and give some log
      
      test=develop
      
      * fix build
      
      test=develop
      
      * add missing package
      
      test=develop
      
      * fix pybind name
      
      test=develop
      
      * fix import error
      
      test=develop
      
      * conbime noavx core
      
      test=develop
      
      * add requirements
      
      test=develop
      
      * fix unkown message
      
      test=develop
      
      * fix api spec
      
      test=develop
      
      * refine and clean
      
      test=develop
      
      * update
      
      * pass dist ut
      
      * follow comments
      
      test=develop
      
      * refine scripts
      
      test=develop
      5c06bff2
  14. 07 6月, 2019 1 次提交
    • W
      Add Ligth-NAS for PaddleSlim (#17679) · 5df65e50
      whs 提交于
      * Add auto pruning strategy.
      1. Fix compressor.
      2. Enhence graph executor.
      3. Add SAController
      4. Add auto pruning strategy.
      5. Add unitest for auto pruning strategy.
      test=develop
      
      * Init light-nas
      
      * Add light nas.
      
      * Some fix.
      test=develop
      
      * Fix sa controller.
      test=develop
      
      * Fix unitest of light nas.
      test=develop
      
      * Fix setup.py.in and API.spec.
      test=develop
      
      * Fix unitest.
      1. Fix unitest on windows.
      2. Fix package importing in tests directory.
      
      * 1. Remove unused comments.
      2. Expose eval_epoch option.
      3. Remove unused function in search_agent.
      4. Expose max_client_num to yaml file.
      5. Move flops constraint to on_epoch_begin function
      test=develop
      
      * Fix light nas strategy.
      test=develop
      
      * Make controller server stable.
      test=develop
      
      * 1. Add try exception to compressor.
      2. Remove unitest of light-nas for windows.
      test=develop
      
      * Add comments
      Enhence controller
      test=develop
      
      * Fix comments.
      test=develop
      5df65e50
  15. 31 5月, 2019 1 次提交
  16. 30 5月, 2019 1 次提交
  17. 25 4月, 2019 2 次提交
  18. 03 4月, 2019 1 次提交
  19. 02 4月, 2019 1 次提交
    • C
      Model data cryption link all lib (#16555) · c38c7c56
      Chen Weihang 提交于
      * link the libwbaes.so into paddle
      
      * polish detail, test=develop
      
      * try fix mac_pr_ci error, test=develop
      
      * add compile option, test=develop
      
      * fix ci error, test=develop
      
      * ignore failed to find mac lib, test=develop
      
      * change cdn to bj, cdn can't get the latest version
      
      * trigger ci, test=develop
      
      * temporary delete win32 lib linking, test=develop
      
      * change https to http, test=develop
      
      * turn compile option on to off
      
      * turn compile option off to on, test=develop
      
      * try lib compiled by gcc4.8, test=develop
      
      * update lib version, test=develop
      
      * link other lib, test=develop
      
      * add setup config
      
      * delete false, test=develop
      
      * delete no_soname, test=develop
      
      * recover so name set
      
      * fix, test=develop
      
      * adjust make config, test=develop
      
      * remove link to wbaes, test=develop
      
      * remove useless define, test=develop
      c38c7c56
  20. 30 3月, 2019 1 次提交
  21. 29 3月, 2019 2 次提交
  22. 28 3月, 2019 1 次提交
  23. 26 3月, 2019 1 次提交
    • W
      [slim] Add quantization strategy and distillation strategy. (#16408) · e9bec936
      whs 提交于
      * Add fsp operator.
      1 Add unitest.
      2. Add python API.
      3. Add layer test.
      
      * Add quantization strategy.
      1. Add API.
      2. Add unitest.
      
      * Add distillatoin strategy.
      
      * Add unitest config file for quantization
      
      * Fix Copyright
      test=develop
      
      * Fix setup.py
      
      * Fix document of layers.py.
      test=develop
      
      * Fix unitest in python3.
      test=develop
      
      * Fix documents.
      test=develop
      
      * 1. refine fsp op by batched gemm
      2. remove unused import
      test=develop
      
      * Fix test_dist_se_resnext.
      1. disable test distillation.
      2. reset framework.py
      test=develop
      
      * Enable unitest of distillation after fixing Block._clone_variable
      test=develop
      
      * Fix cdn issue.
      test=develop
      e9bec936
  24. 12 2月, 2019 1 次提交
  25. 30 1月, 2019 1 次提交
  26. 20 1月, 2019 1 次提交
  27. 19 1月, 2019 1 次提交
  28. 18 1月, 2019 1 次提交
  29. 24 12月, 2018 1 次提交
    • W
      Init paddle slim (#14834) · 93870574
      whs 提交于
      * Init slim.
      
      * Remove distillation demo.
      
      * Fix import errors.
      test=develop
      
      * Fix some issues.
      test=develop
      
      * Fix configs.
      test=develop
      
      * Modify API.spec.
      test=develop
      
      * Fix format.
      test=develop
      
      * Fix format.
      test=develop
      
      * Add some comments.
      93870574
  30. 21 12月, 2018 1 次提交
  31. 20 12月, 2018 2 次提交
    • P
      some not so useful adjust · b06ce129
      peizhilin 提交于
      test=develop
      b06ce129
    • T
      lookup table utils fix (#14730) · 45dd3491
      tangwei12 提交于
      * fix utils config, test=develop
      
      * reweite tools in lookup table utils, test=develop
      
      * merge develop, test=develop
      
      * add copy in setup, test=develop
      
      * update api spec, test=develop
      
      * add doc, test=develop
      
      * prettifying doc, test=develop
      
      * Update API.spec
      
      update api.spec, test=develop
      
      * Update lookup_table_utils.py
      
      test=develop
      
      * Update lookup_table_utils.py
      
      test=develop
      
      * merge develop, test=develop
      
      * merge develop, test=develop
      
      * init fix, test=develop
      
      * fix in downloads, test=develop
      
      * fix in setup.in, test=develop
      45dd3491
  32. 19 12月, 2018 1 次提交
  33. 18 12月, 2018 4 次提交