Skip to content

Commit 09905eb

Browse files
committed
config.switch_ir_debug(True)关掉
1 parent 39d0402 commit 09905eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/auto_compression/nlp/paddle_inference_eval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def create_predictor(cls, args):
210210
config = paddle.inference.Config(
211211
os.path.join(args.model_path, args.model_filename),
212212
os.path.join(args.model_path, args.params_filename))
213-
config.switch_ir_debug(True)
213+
# config.switch_ir_debug(True)
214214
# 适用于ERNIE 3.0-Medium模型
215215
# config.exp_disable_tensorrt_ops(["elementwise_add"])
216216
# config.exp_disable_tensorrt_ops(["fused_embedding_eltwise_layernorm"])

0 commit comments

Comments
 (0)