turn off runtime_context_cache for tensorrt

test=develop
revert-16190-refine_parallel_executor
luotao1 6 years ago
parent d94fd97230
commit 1510b866b6

@ -205,6 +205,8 @@ void AnalysisConfig::Update() {
// Append after the Affine_channel_conv_fuse pass.
pass_builder()->InsertPass(3, "tensorrt_subgraph_pass");
}
// runtime_context_cache isn't fit for tensorrt.
enable_runtime_context_cache_ = false;
}
if (use_mkldnn_) {

Loading…
Cancel
Save