Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
488283943 opened this issue Apr 30, 2024 · 3 comments
Open

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

488283943 opened this issue Apr 30, 2024 · 3 comments
Labels

Comments

@488283943
Copy link

环境:
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

@Ray961123
Copy link

开发者你好,感谢关注 PaddleSpeech 开源项目,抱歉给你带来了不好的开发体验,目前开源项目维护人力有限,你可以尝试通过修改 PaddleSpeech 源码的方式自己解决,或请求开源社区其他开发者的协助。飞桨开源社区交流频道:飞桨AI Studio星河社区-人工智能学习与实训社区

@buffge
Copy link

buffge commented May 9, 2024

加个环境变量就行了
PPSPEECH_HOME=/root/.ppspeech2

@488283943
Copy link
Author

加个环境变量就行了 PPSPEECH_HOME=/root/.ppspeech2

我把paddlepaddle升级到2.3就好了 但是出现了流式服务无法通过gpu运行的情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants