未验证 提交 897fb6ab 编写于 作者: A Aurelius84 提交者: GitHub

[NewExe]Adjust ExecutorCache Capacity from 4 into 10 (#52104)

上级 13baef48
......@@ -298,7 +298,7 @@ std::shared_ptr<InterpreterCore> CreateInterpreterCoreInfoToCache(
framework::Scope *scope) {
auto &interpretercore_info_cache =
framework::InterpreterCoreInfoCache::Instance();
if (interpretercore_info_cache.Size() > 4u /* max_cached_size*/) {
if (interpretercore_info_cache.Size() > 10u /* max_cached_size*/) {
VLOG(2) << "The cached info size has exceeded max_cached_size: 4, clear "
"all cache!";
interpretercore_info_cache.Finalize();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册