1. 06 12月, 2019 1 次提交
    • Z
      CHERRY_PICK: Better TensorRT support (#20858) (#21578) · 0a4002f5
      Zhaolong Xing 提交于
      * 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=release/1.6
      0a4002f5
  2. 21 11月, 2019 1 次提交
    • C
      Cherry-pick error type support for release1.6 (#21294) · 974b8a83
      Chen Weihang 提交于
      * delete paddle infershape enforce marco (#20832)
      
      * Polish and arrange code in enforce.h (#20901)
      
      * Enrich the type of error and declare the error type interfaces (#21024)
      
      * Enrich the type of error and declare the error type interfaces, test=develop
      
      * adjust tests to adapt new form, test=develop
      
      * add inference deps with error_codes.pb.h, test=develop
      
      * restore stack iter start pos, test=develop
      
      * polish code based review comments, test=develop
      
      * Add dependency for error_codes.proto (#21084)
      
      * fix activation_functions deps, test=develop, test=document_fix
      
      * add error_codes_proto deps, test=develop, test=document_fix
      
      * try delete enforce.h, test=develop, test=document_fix
      
      * change cuda enforce & add example (#21142)
      test=release/1.6
      974b8a83
  3. 14 10月, 2019 1 次提交
  4. 08 10月, 2019 1 次提交
  5. 16 9月, 2019 1 次提交
  6. 04 9月, 2019 1 次提交
  7. 19 8月, 2019 2 次提交
  8. 14 8月, 2019 1 次提交
  9. 12 8月, 2019 1 次提交
  10. 17 7月, 2019 1 次提交
  11. 03 7月, 2019 1 次提交
  12. 21 6月, 2019 1 次提交
  13. 18 4月, 2019 1 次提交
  14. 03 4月, 2019 1 次提交
  15. 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
  16. 28 3月, 2019 1 次提交
  17. 21 1月, 2019 1 次提交
  18. 27 12月, 2018 1 次提交
    • Y
      Refine Dockerfile (#14908) · efa630ea
      Yu Yang 提交于
      * Refine Dockerfile
      
      * Add tasks, cmake gen
      
      * Fix code error
      
      * Disable compile after paddle_build.sh
      
      * Refine
      
      * Skip on PY35 CI
      
      * Change env
      
      * Refine paddle_build.sh
      
      * Expose gen_fluid_lib
      
      * Refine mkldnn.cmake
      
      * Refine mkldnn.cmake
      
      * Refine mkldnnlib
      
      * Skip unstable tests
      efa630ea
  19. 18 12月, 2018 1 次提交
  20. 17 12月, 2018 1 次提交
  21. 14 12月, 2018 1 次提交
  22. 29 11月, 2018 1 次提交
  23. 26 11月, 2018 1 次提交
  24. 19 11月, 2018 1 次提交
    • W
      add allocator.h copy · d36491c2
      Wojciech Uss 提交于
      The allocator.h header file is required for C-API inference applications
      
      test=develop
      d36491c2
  25. 14 11月, 2018 3 次提交
  26. 08 11月, 2018 1 次提交
  27. 05 11月, 2018 1 次提交
  28. 31 10月, 2018 1 次提交
  29. 29 10月, 2018 1 次提交
  30. 28 10月, 2018 2 次提交
  31. 23 10月, 2018 1 次提交
  32. 16 10月, 2018 1 次提交
  33. 15 10月, 2018 1 次提交
  34. 29 9月, 2018 2 次提交
  35. 07 9月, 2018 1 次提交