disable mkldnn inplace pass on windows (#30164)

revert-31562-mean
Wilber 4 years ago committed by GitHub
parent 907262ee15
commit ade244948c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -220,8 +220,12 @@ void CpuPassStrategy::EnableMKLDNN() {
// "fc_mkldnn_pass",
// "fc_act_mkldnn_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
// fuses
#endif
})) {
passes_.push_back(pass);
}

Loading…
Cancel
Save