From d162d0eef952d9e6e668f7d2f9267aca2743804c Mon Sep 17 00:00:00 2001 From: 九耳 <mengzhe.cmz@alibaba-inc.com> Date: 星期四, 27 四月 2023 18:01:26 +0800 Subject: [PATCH] runnable template fix --- 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