未验证 提交 0722297d 编写于 作者: W Wilber 提交者: GitHub

modify mkldnn default capacity (#33729)

上级 246da751
......@@ -699,7 +699,7 @@ struct PD_INFER_DECL AnalysisConfig {
bool xpu_adaptive_seqlen_;
// mkldnn related.
int mkldnn_cache_capacity_{0};
int mkldnn_cache_capacity_{10};
bool use_mkldnn_quantizer_{false};
std::shared_ptr<MkldnnQuantizerConfig> mkldnn_quantizer_config_;
bool use_mkldnn_bfloat16_{false};
......
module github.com/jiweibo/paddle/paddle/fluid/inference/goapi
module github.com/paddlepaddle/paddle/paddle/fluid/inference/goapi
go 1.15
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册