From 56751a1ed549b195172ecaec4681819ee3c4e4c4 Mon Sep 17 00:00:00 2001 From: xiongxinlei Date: Thu, 21 Apr 2022 16:44:58 +0800 Subject: [PATCH] update the server device to paddle.device, test=doc --- demos/streaming_asr_server/conf/ws_conformer_application.yaml | 2 +- paddlespeech/server/conf/ws_conformer_application.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/streaming_asr_server/conf/ws_conformer_application.yaml b/demos/streaming_asr_server/conf/ws_conformer_application.yaml index 2a76ee39..8f011485 100644 --- a/demos/streaming_asr_server/conf/ws_conformer_application.yaml +++ b/demos/streaming_asr_server/conf/ws_conformer_application.yaml @@ -29,7 +29,7 @@ asr_online: cfg_path: decode_method: force_yes: True - device: 'cpu' # cpu or gpu:id + device: # cpu or gpu:id am_predictor_conf: device: # set 'gpu:id' or 'cpu' switch_ir_optim: True diff --git a/paddlespeech/server/conf/ws_conformer_application.yaml b/paddlespeech/server/conf/ws_conformer_application.yaml index 2a76ee39..9c042534 100644 --- a/paddlespeech/server/conf/ws_conformer_application.yaml +++ b/paddlespeech/server/conf/ws_conformer_application.yaml @@ -29,7 +29,7 @@ asr_online: cfg_path: decode_method: force_yes: True - device: 'cpu' # cpu or gpu:id + device: # cpu or gpu:id am_predictor_conf: device: # set 'gpu:id' or 'cpu' switch_ir_optim: True