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)

---
 tests/test_lm_pipeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test_lm_pipeline.py b/tests/test_lm_pipeline.py
index 205d920..3a5ec57 100644
--- a/tests/test_lm_pipeline.py
+++ b/tests/test_lm_pipeline.py
@@ -18,7 +18,7 @@
             model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
         )
         rec_result = inference_pipeline(text_in="hello 澶� 瀹� 濂� 鍛�")
-        logger.info("asr inference result: {0}".format(rec_result))
+        logger.info("lm inference result: {0}".format(rec_result))
 
 
 if __name__ == '__main__':

--
Gitblit v1.9.1