Revert "Remove Paddle Reader" (#1860)

Revert "Remove Paddle Reader (#1813)"

This reverts commit f3d44785c4.
This commit is contained in:
DefTruth
2023-04-23 23:16:31 +08:00
committed by GitHub
parent 732d8e8943
commit 652024d2f6
7 changed files with 24 additions and 59 deletions

View File

@@ -314,9 +314,7 @@ ModelState::ModelState(TRITONBACKEND_Model* triton_model)
// value_string,
// &runtime_options_->trt_max_workspace_size));
} else if (param_key == "cache_file") {
LOG_MESSAGE(TRITONSERVER_LOG_INFO,
"Skipping setting TRT cache file.");
// runtime_options_->trt_option.serialize_file = value_string;
runtime_options_->trt_option.serialize_file = value_string;
} else if (param_key == "use_paddle") {
runtime_options_->EnablePaddleToTrt();
} else if (param_key == "use_paddle_log") {