PaddleSpeech icon indicating copy to clipboard operation
PaddleSpeech copied to clipboard

ASR和TTS的streaming server无法同时开启

Open 488283943 opened this issue 2 months ago • 3 comments

环境: PaddlePaddle 2.2.0 Python 3.8(ubuntu18.04) Cuda 11.2

ASR和TTS在开启第一个后,再打开另一个后报错,该怎么处理? root@autodl-container-085311853c-b00a9bac:~/PaddleSpeech# paddlespeech_server start --config_file ./demos/streaming_asr_server/conf/application.yaml WARNING: OMP_NUM_THREADS set to 12, not 1. The computation speed will not be optimized if you use data parallel. It will fail if this PaddlePaddle binary is compiled with OpenBlas since OpenBlas does not support multi-threads. PLEASE USE OMP_NUM_THREADS WISELY. [2024-04-30 10:35:16,341] [ INFO] - start to init the engine [2024-04-30 10:35:16,341] [ INFO] - asr : online engine. W0430 10:35:21.184901 1193 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 11.5, Runtime API Version: 11.2 W0430 10:35:21.188336 1193 device_context.cc:465] device: 0, cuDNN Version: 8.1. [2024-04-30 10:35:23,950] [ ERROR] - Failed to start server. [2024-04-30 10:35:23,951] [ ERROR] - init() got an unexpected keyword argument 'negative_slope' 2024-04-30 10:35:23.950 | INFO | paddlespeech.s2t.modules.embedding:init:153 - max len: 5000

488283943 avatar Apr 30 '24 05:04 488283943