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

disable mkldnn inplace pass on windows (#30164)

上级 907262ee
...@@ -220,8 +220,12 @@ void CpuPassStrategy::EnableMKLDNN() { ...@@ -220,8 +220,12 @@ void CpuPassStrategy::EnableMKLDNN() {
// "fc_mkldnn_pass", // "fc_mkldnn_pass",
// "fc_act_mkldnn_fuse_pass", // "fc_act_mkldnn_fuse_pass",
"batch_norm_act_fuse_pass", "batch_norm_act_fuse_pass",
#ifndef _WIN32
// TODO(intel): Please fix the bug on windows.
// https://github.com/PaddlePaddle/Paddle/issues/29710
"mkldnn_inplace_pass", // This pass should be activated after "mkldnn_inplace_pass", // This pass should be activated after
// fuses // fuses
#endif
})) { })) {
passes_.push_back(pass); passes_.push_back(pass);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册