fix paddle-mkldnn bug (#366)

* fix input name bug

* fix paddle-mkldnn bug
This commit is contained in:
heliqi
2022-10-13 08:37:31 -05:00
committed by GitHub
parent 6f497b32f5
commit 831ef42207
4 changed files with 31 additions and 2 deletions

View File

@@ -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();
}
}