From 95fed8e8b878f2c4cd89030b5d50e73c620d5a61 Mon Sep 17 00:00:00 2001 From: Yuanle Liu Date: Mon, 6 Feb 2023 19:42:55 +0800 Subject: [PATCH] Disable conv2d_fusion_layout_transfer_pass temporarily (#50232) * disable conv2d_fusion_layout_transfer_pass temporarily * disable conv2d_fusion_layout_transfer_pass temporarily --- paddle/fluid/inference/api/paddle_pass_builder.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/inference/api/paddle_pass_builder.cc b/paddle/fluid/inference/api/paddle_pass_builder.cc index b5582518ea..903c01f636 100644 --- a/paddle/fluid/inference/api/paddle_pass_builder.cc +++ b/paddle/fluid/inference/api/paddle_pass_builder.cc @@ -265,9 +265,10 @@ GpuPassStrategy::GpuPassStrategy() : PassStrategy({}) { "conv_elementwise_add_fuse_pass", // #endif // "transpose_flatten_concat_fuse_pass", // - "conv2d_fusion_layout_transfer_pass", // - "auto_mixed_precision_pass", // - "inplace_op_var_pass", // should be the last pass. + // TODO(liuyuanle): rewrite this pass with new logic + // "conv2d_fusion_layout_transfer_pass", // + "auto_mixed_precision_pass", // + "inplace_op_var_pass", // should be the last pass. }); use_gpu_ = true; -- GitLab