From cf36ce977c0b8bd54c906e63ce31931ac060178f Mon Sep 17 00:00:00 2001
From: anyvoice <130631963+anyvoiceai@users.noreply.github.com>
Date: 星期日, 02 七月 2023 09:12:18 +0800
Subject: [PATCH] Creates tensor in target device to avoid high CPU occupation. (#695)
---
funasr/runtime/python/websocket/parse_args.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/python/websocket/parse_args.py b/funasr/runtime/python/websocket/parse_args.py
index 82d9c90..ffecff7 100644
--- a/funasr/runtime/python/websocket/parse_args.py
+++ b/funasr/runtime/python/websocket/parse_args.py
@@ -33,7 +33,7 @@
help="0 for cpu, 1 for gpu")
parser.add_argument("--ncpu",
type=int,
- default=1,
+ default=4,
help="cpu cores")
parser.add_argument("--certfile",
type=str,
--
Gitblit v1.9.1