mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-13 12:23:55 +08:00
Revert "Remove Paddle Reader" (#1860)
Revert "Remove Paddle Reader (#1813)"
This reverts commit f3d44785c4
.
This commit is contained in:
@@ -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") {
|
||||
|
Reference in New Issue
Block a user