diff --git a/paddle/fluid/inference/api/paddle_pass_builder.cc b/paddle/fluid/inference/api/paddle_pass_builder.cc index b5582518eacd2103b25e7d78c6bd3d0ffd9abc92..903c01f636c5574df827d462562707473ce349d3 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;