mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-13 04:13:58 +08:00
fix paddle-mkldnn bug (#366)
* fix input name bug * fix paddle-mkldnn bug
This commit is contained in:
@@ -315,7 +315,7 @@ ModelState::ModelState(TRITONBACKEND_Model* triton_model)
|
||||
// &runtime_options_->trt_max_workspace_size));
|
||||
} else if (param_key == "cache_file") {
|
||||
runtime_options_->SetTrtCacheFile(value_string);
|
||||
} else (param_key == "use_paddle") {
|
||||
} else if (param_key == "use_paddle") {
|
||||
runtime_options_->EnablePaddleToTrt();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user