From c8465832cdc8eeb4a22c72af85c71f2d3b7c0e47 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期四, 10 八月 2023 15:03:16 +0800
Subject: [PATCH] for cpp ws srv long wav core dump (#829)
---
funasr/bin/asr_inference_launch.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/bin/asr_inference_launch.py b/funasr/bin/asr_inference_launch.py
index fd47047..0fd5abd 100644
--- a/funasr/bin/asr_inference_launch.py
+++ b/funasr/bin/asr_inference_launch.py
@@ -260,8 +260,6 @@
hotword_list_or_file = None
clas_scale = 1.0
- if kwargs.get("device", None) == "cpu":
- ngpu = 0
if ngpu >= 1 and torch.cuda.is_available():
device = "cuda"
else:
--
Gitblit v1.9.1