diff --git a/paddle/fluid/inference/tensorrt/op_teller.cc b/paddle/fluid/inference/tensorrt/op_teller.cc index 957241cb3e89d6fe8c4ab9b083664abd1ca97ed4..af9973bf87de810bab5f61f06a11d2f177896e9d 100644 --- a/paddle/fluid/inference/tensorrt/op_teller.cc +++ b/paddle/fluid/inference/tensorrt/op_teller.cc @@ -296,12 +296,6 @@ bool OpTeller::Tell(const framework::ir::Node* node, bool with_dynamic_shape) { const std::string op_type = node->Op()->Type(); const framework::OpDesc desc = *node->Op(); - // do not support the op which is labeled the `skip_quant` - if ((desc.HasAttr("namescope") && - PADDLE_GET_CONST(std::string, desc.GetAttr("op_namescope")) == - "/skip_quant_2/") || - desc.HasAttr("skip_quant")) - return false; for (auto& teller : tellers_) { std::unordered_set act_op_list = {