From 3e0ef5991cdebd64876111da24511190072f6ad2 Mon Sep 17 00:00:00 2001
From: yufan <379840315@qq.com>
Date: 星期日, 16 四月 2023 13:12:39 +0800
Subject: [PATCH] Update modelscope_models.md

---
 funasr/bin/sv_inference_launch.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/funasr/bin/sv_inference_launch.py b/funasr/bin/sv_inference_launch.py
index 1205d19..64a3cff 100755
--- a/funasr/bin/sv_inference_launch.py
+++ b/funasr/bin/sv_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