提交 1510b866 编写于 作者: L luotao1

turn off runtime_context_cache for tensorrt

test=develop
上级 d94fd972
......@@ -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_) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册