From f7918e0eb8c9d046a14600fa6d1ec7be9dcefee6 Mon Sep 17 00:00:00 2001 From: lyblsgo <lyblsgo@163.com> Date: 星期五, 21 四月 2023 21:25:43 +0800 Subject: [PATCH] fix CMakeLists.txt --- funasr/bin/diar_inference_launch.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/funasr/bin/diar_inference_launch.py b/funasr/bin/diar_inference_launch.py index 85e4518..83436e8 100755 --- a/funasr/bin/diar_inference_launch.py +++ b/funasr/bin/diar_inference_launch.py @@ -2,6 +2,9 @@ # Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved. # MIT License (https://opensource.org/licenses/MIT) +import torch +torch.set_num_threads(1) + import argparse import logging import os -- Gitblit v1.9.1