mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Other] Deprecate some option api and parameters (#1243)
* Optimize Poros backend * fix error * Add more pybind * fix conflicts * add some deprecate notices * [Other] Deprecate some apis in RuntimeOption (#1240) * Deprecate more options * modify serving * Update option.h * fix tensorrt error * Update option_pybind.cc * Update option_pybind.cc * Fix error in serving * fix word spell error
This commit is contained in:
@@ -23,7 +23,6 @@ void BindLiteOption(pybind11::module& m) {
|
||||
.def_readwrite("power_mode", &LiteBackendOption::power_mode)
|
||||
.def_readwrite("cpu_threads", &LiteBackendOption::cpu_threads)
|
||||
.def_readwrite("enable_fp16", &LiteBackendOption::enable_fp16)
|
||||
.def_readwrite("enable_int8", &LiteBackendOption::enable_int8)
|
||||
.def_readwrite("device", &LiteBackendOption::device)
|
||||
.def_readwrite("optimized_model_dir",
|
||||
&LiteBackendOption::optimized_model_dir)
|
||||
|
Reference in New Issue
Block a user