[Backend] refactor paddle custom ops -> fastdeploy::paddle_custom_ops (#2101)

* [cmake] upgrade windows paddle inference -> 2.5.0

* [cmake] upgrade windows paddle inference -> 2.5.0

* fix paddle custom ops bug on windows

* [Backend] refactor paddle custom ops
This commit is contained in:
DefTruth
2023-07-13 09:00:03 +08:00
committed by GitHub
parent 2542a75b61
commit 99c2b6592d
12 changed files with 190 additions and 17 deletions

View File

@@ -59,6 +59,7 @@ void BindPaddleOption(pybind11::module& m) {
&PaddleBackendOption::is_quantize_model)
.def_readwrite("inference_precision", &PaddleBackendOption::inference_precision)
.def_readwrite("enable_inference_cutlass",&PaddleBackendOption::enable_inference_cutlass)
.def_readwrite("trt_min_subgraph_size",&PaddleBackendOption::trt_min_subgraph_size)
.def("disable_trt_ops", &PaddleBackendOption::DisableTrtOps)
.def("delete_pass", &PaddleBackendOption::DeletePass)
.def("set_ipu_config", &PaddleBackendOption::SetIpuConfig);