heliqi
277bec38c7
[Backend & Serving] Serving and Runtime support Clone ( #464 )
...
* Add Serving and Runtime use Clone
* support TRT, OpenVINO and Paddle Backend
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-04 17:16:40 +08:00
Jason
9fa612c24b
[Backend] Enable TensorRT BatchedNMSDynamic_TRT plugin ( #449 )
...
* Enable TensorRT EfficientNMS plugin
* remove some temporary code
* Update trt_backend.cc
* Update utils.h
2022-11-04 11:46:29 +08:00
Zheng_Bicheng
4ffcfbe726
[Backend] Add RKNPU2 backend support ( #456 )
...
* 10-29/14:05
* 新增cmake
* 新增rknpu2 backend
* 10-29/14:43
* Runtime fd_type新增RKNPU代码
* 10-29/15:02
* 新增ppseg RKNPU2推理代码
* 10-29/15:46
* 新增ppseg RKNPU2 cpp example代码
* 10-29/15:51
* 新增README文档
* 10-29/15:51
* 按照要求修改部分注释以及变量名称
* 10-29/15:51
* 修复重命名之后,cc文件中的部分代码还用旧函数名的bug
* 10-29/22:32
* str(Device::NPU)将输出NPU而不是UNKOWN
* 修改runtime文件中的注释格式
* 新增Building Summary ENABLE_RKNPU2_BACKEND输出
* pybind新增支持rknpu2
* 新增python编译选项
* 新增PPSeg Python代码
* 新增以及更新各种文档
* 10-30/14:11
* 尝试修复编译cuda时产生的错误
* 10-30/19:27
* 修改CpuName和CoreMask层级
* 修改ppseg rknn推理层级
* 图片将移动到网络进行下载
* 10-30/19:39
* 更新文档
* 10-30/19:39
* 更新文档
* 更新ppseg rknpu2 example中的函数命名方式
* 更新ppseg rknpu2 example为一个cc文件
* 修复disable_normalize_and_permute部分的逻辑错误
* 移除rknpu2初始化时的无用参数
* 10-30/19:39
* 尝试重置python代码
* 10-30/10:16
* rknpu2_config.h文件不再包含rknn_api头文件防止出现导入错误的问题
* 10-31/14:31
* 修改pybind,支持最新的rknpu2 backends
* 再次支持ppseg python推理
* 移动cpuname 和 coremask的层级
* 10-31/15:35
* 尝试修复rknpu2导入错误
* 10-31/19:00
* 新增RKNPU2模型导出代码以及其对应的文档
* 更新大量文档错误
* 10-31/19:00
* 现在编译完fastdeploy仓库后无需重新设置RKNN2_TARGET_SOC
* 10-31/19:26
* 修改部分错误文档
* 10-31/19:26
* 修复错误删除的部分
* 修复各种错误文档
* 修复FastDeploy.cmake在设置RKNN2_TARGET_SOC错误时,提示错误的信息
* 修复rknpu2_backend.cc中存在的中文注释
* 10-31/20:45
* 删除无用的注释
* 10-31/20:45
* 按照要求修改Device::NPU为Device::RKNPU,硬件将共用valid_hardware_backends
* 删除无用注释以及debug代码
* 11-01/09:45
* 更新变量命名方式
* 11-01/10:16
* 修改部分文档,修改函数命名方式
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-01 11:14:05 +08:00
czr-gc
ede59af857
[Backend] support ipu in paddle inference backend. ( #437 )
...
* feat(ipu): add ipu support for paddle_infer backend.
* fix(): remove unused env.
* fix(ipu): simplify user API for IPU.
* fix(cmake): fix merge conflict error in CMakeList.
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-30 18:59:59 +08:00
DefTruth
a51e5a6e55
[Android] Add android aar package ( #416 )
...
* [Android] Add Android build docs and demo (#26 )
* [Backend] Add override flag to lite backend
* [Docs] Add Android C++ SDK build docs
* [Doc] fix android_build_docs typos
* Update CMakeLists.txt
* Update android.md
* [Doc] Add PicoDet Android demo docs
* [Doc] Update PicoDet Andorid demo docs
* [Doc] Update PaddleClasModel Android demo docs
* [Doc] Update fastdeploy android jni docs
* [Doc] Update fastdeploy android jni usage docs
* [Android] init fastdeploy android jar package
* [Backend] support int8 option for lite backend
* [Model] add Backend::Lite to paddle model
* [Backend] use CopyFromCpu for lite backend.
* [Android] package jni srcs and java api into aar
* Update infer.cc
* Update infer.cc
* [Android] Update package build.gradle
* [Android] Update android app examples
* [Android] update android detection app
2022-10-26 17:01:14 +08:00
heliqi
b064ddf7ed
[Serving][backend]serving support multi stream and backend support external stream ( #431 )
...
* serving support multi stream
* pybind add external stream
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-26 14:46:13 +08:00
Wang Xinyu
43d86114d8
[Backend] TRT backend & PP-Infer backend support pinned memory ( #403 )
...
* TRT backend use pinned memory
* refine fd tensor pinned memory logic
* TRT enable pinned memory configurable
* paddle inference support pinned memory
* pinned memory pybindings
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-21 18:51:36 +08:00
Jack Zhou
dccb737d8d
[Backend] Add collect shape for pp-trt backend ( #372 )
...
* Add collect_shape attr
* add EnableTunedTensorRtDynamicShape
* Add collect shape python api
* Fix quant model not set trt dynamic shape
* Add shape info print
* Fix shape print
* Use CopyFromCpu instead of ShareExternalData
* Add ENABLE_TRT_BACKEND macro
* Add shared data with
2022-10-20 17:02:56 +08:00
WJJ1995
f5c94e5471
Support Poros Backend ( #188 )
...
* Add poros backend
* Add torch lib
* Add python3 lib
* set c++ 14 for poros
* fixed bugs
* fixed grammer bugs
* fixed grammer bugs
* fixed code bugs
* fixed code bugs
* fixed CreatePorosValue bug
* Add AtType2String for Log
* fixed trt_option
* fixed poros.cmake path
* fixed grammer bug
* fixed grammer bug
* fixed ambiguous reference
* fixed ambiguous reference
* fixed reference error
* fixed include files
* rm ENABLE_TRT_BACKEND in poros
* update CMakeLists.txt
* fixed CMakeLists.txt
* Add libtorch.so in CMakeLists.txt
* Fixed CMakeLists.txt
* Fixed CMakeLists.txt
* Fixed copy bug
* Fixed copy bug
* Fixed copy bug
* Fixed Cmake
* Fixed Cmake
* debug
* debug
* debug
* debug
* debug
* debug
* debug utils
* debug utils
* copy to cpu
* rm log info
* test share mem
* test share mem
* test share mem
* test multi outputs
* test multi outputs
* test multi outputs
* test multi outputs
* test multi outputs
* test multi outputs
* test multi outputs
* time cost
* time cost
* fixed bug
* time collect
* mem copy
* mem copy
* rm time log
* rm share mem
* fixed multi inputs bug
* add set_input_dtypes func
* add SetInputDtypes
* fixed bug
* fixed bug
* fixed prewarm data order
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* fixed bug
* Add compile func
* Add compile func
* Add compile func
* Add is_dynamic option
* Add is_dynamic option
* Add is_dynamic option
* Add is_dynamic option
* rm infer log
* add cuda11.6 poros lib
* fixed bug
* fixed bug
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* fixed multi outputs
* rm logs
* test
* test
* test
* add test log
* add test log
* add test log
* add test log
* support cpu
* support cpu
* support cpu
* support cpu
* support member variable definition
* rm useless log
* fixed name
* resolve conflict
* resolve conflict
* resolve conflict
* fixed cmake
* add GetInputInfos&GetOutputInfos
* add GetInputInfos&GetOutputInfos
* fixed bug
* fixed runtime.py
* add compile func
* add np
* deal with comments
* rm to_inter func
* add property
2022-10-17 15:28:12 +08:00
Jason
945e197bd1
Fix bug of get input/output information from PaddleBackend ( #339 )
...
* Fix bug of get input/output information from PaddleBackend
* Support Paddle Inference with TensorRT (#340 )
* Fix bug
2022-10-12 11:37:26 +08:00
Jason
cf86c4ed55
Update runtime.h
2022-10-10 13:59:35 +08:00
yeliang2258
2a68a23baf
Add paddle quantize model support for ORT, TRT and MKLDNN deploy backend ( #257 )
...
* add quantize model support for trt and paddle
* fix bugs
* fix
* update paddle2onnx version
* update version
* add quantize test
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-09 20:00:05 +08:00
heliqi
d57e997fa0
Fd serving add docker images correlation and docs ( #311 )
...
* fd serving add dockerfile
* fix enable_paddle_mkldnn
* delete disable_paddle_mkldnn
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-08 16:08:07 +08:00
Jason
12e5a65fc3
Add some comments for ppyoloe ( #324 )
...
* Add some comments for ppyoloe
* Update runtime.h
2022-10-07 20:41:04 +08:00
DefTruth
c4288a92e1
[lite] add more options for lite backend ( #313 )
...
* [cmake] support Android arm64-v8a & armeabi-v7a native c++ sdk
* [cmake] fixed patchelf download on mac and android
* [lite] Add threads and power_mode option support
* [pybind] update runtime pybind for lite power mode
* [python] Add set_lite_power_mode api to runtime
* [Lite] add lite enable_fp16 option support
* [lite] add more options for lite backend.
* [cmake] fixed Paddle Lite typo
* [runtime] format LitePowerMode enum comments
* [runtime] format lite option comments
2022-10-04 17:31:48 +08:00
jiangjiajun
2c030b73c5
add comment for runtime
2022-10-02 08:51:56 +00:00
jiangjiajun
7676a43288
modify comment of runtime
2022-10-02 08:43:14 +00:00
jiangjiajun
751494b255
modify comment of runtime
2022-10-02 08:40:29 +00:00
Jason
8a1e2c6143
Add some comments for runtime ( #309 )
...
* Add some notes for runtime
* modify note
* modify note
* add some comment
* Add comment for runtime
* Add comment for runtime
* Add comment for runtime
* Add comment for runtime
2022-09-30 14:43:44 +08:00
Jack Zhou
dd365fb721
Add trt max workspace setting ( #308 )
...
* add trt max workspace setting
* fix set trt max workspace
2022-09-30 09:54:34 +08:00
DefTruth
c5f85de356
[lite] Add threads and power_mode option support ( #298 )
...
* [cmake] support Android arm64-v8a & armeabi-v7a native c++ sdk
* [cmake] fixed patchelf download on mac and android
* [lite] Add threads and power_mode option support
* [pybind] update runtime pybind for lite power mode
* [python] Add set_lite_power_mode api to runtime
2022-09-28 18:09:35 +08:00
Jason
2d3e61582d
Rename pybind/fastdeploy_runtime.cc to pybind/runtime.cc ( #273 )
...
* fix yaml
* Rename pybind/fastdeploy_runtime.cc to runtime.cc
2022-09-23 11:16:02 +08:00
Jason
e227c5625e
Rename fastdeploy_runtime.h to runtime.h and Frontend to ModelFormat ( #263 )
...
rename frontend to model_format
2022-09-22 13:24:05 +08:00