From d0307145a3f3a5a2a365ce5d0b35a6f8844749f0 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Tue, 12 May 2020 13:00:01 +0200 Subject: [PATCH] [oneDNN] disabling oneDNN inplace pass (#24406) --- paddle/fluid/inference/api/paddle_pass_builder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/inference/api/paddle_pass_builder.cc b/paddle/fluid/inference/api/paddle_pass_builder.cc index c07ac11e278..d5dfcf80bee 100644 --- a/paddle/fluid/inference/api/paddle_pass_builder.cc +++ b/paddle/fluid/inference/api/paddle_pass_builder.cc @@ -200,8 +200,8 @@ void CpuPassStrategy::EnableMKLDNN() { "matmul_transpose_reshape_fuse_pass", // // Disabled due to topology-dependent speed-up // "fc_mkldnn_pass", - "mkldnn_inplace_pass", // This pass should be activated after - // fuses + // "mkldnn_inplace_pass", // This pass should be activated after + // fuses })) { passes_.push_back(pass); } -- GitLab