mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
[Other] Upgrade runtime module (#1068)
* Upgrade runtime module * Update option.h * Fix build error * Move enumerates * little modification * little modification * little modification: * Remove some useless flags
This commit is contained in:
@@ -31,6 +31,8 @@ void PaddleBackend::BuildOption(const PaddleBackendOption& option) {
|
||||
config_.Exp_DisableTensorRtOPs(option.trt_disabled_ops_);
|
||||
auto precision = paddle_infer::PrecisionType::kFloat32;
|
||||
if (option.trt_option.enable_fp16) {
|
||||
FDINFO << "Will try to use tensorrt fp16 inference with Paddle Backend."
|
||||
<< std::endl;
|
||||
precision = paddle_infer::PrecisionType::kHalf;
|
||||
}
|
||||
bool use_static = false;
|
||||
|
Reference in New Issue
Block a user