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) --- egs/aishell/transformer/path.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/egs/aishell/transformer/path.sh b/egs/aishell/transformer/path.sh index 7972642..b4064e1 100755 --- a/egs/aishell/transformer/path.sh +++ b/egs/aishell/transformer/path.sh @@ -3,3 +3,5 @@ # NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C export PYTHONIOENCODING=UTF-8 export PATH=$FUNASR_DIR/funasr/bin:$PATH + +export OMP_NUM_THREADS=1 -- Gitblit v1.9.1