From 7ae8df96fc447cd8033039170e06a5676137a90f Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期五, 21 四月 2023 20:56:32 +0800 Subject: [PATCH] onnx cpp benchmark --- funasr/bin/lm_inference_launch.py | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/funasr/bin/lm_inference_launch.py b/funasr/bin/lm_inference_launch.py index d229cc6..dc6414f 100644 --- a/funasr/bin/lm_inference_launch.py +++ b/funasr/bin/lm_inference_launch.py @@ -1,9 +1,6 @@ #!/usr/bin/env python3 -# Copyright ESPnet (https://github.com/espnet/espnet). All Rights Reserved. -# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) -import torch -torch.set_num_threads(1) + import argparse import logging -- Gitblit v1.9.1