Closed unheart closed 9 months ago
root@1753e068fc4c:/workspace/FunASR/runtime/websocket/build/bin# ./funasr-wss-server \
--download-model-dir "/workspace/models" \ --model-dir "damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx" \ --vad-dir "damo/speech_fsmn_vad_zh-cn-16k-common-onnx" \ --punc-dir "damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx" \ --itn-dir "thuduj12/fst_itn_zh" \ --lm-dir "damo/speech_ngram_lm_zh-cn-ai-wesp-fst" \ --decoder-thread-num 1 \ --model-thread-num 1 \ --io-thread-num 1 \ --port 10095 \ --certfile "" \ --keyfile "" \ --hotword "/workspace/models/hotwords.txt"
I20240104 19:45:23.798419 1408 funasr-wss-server.cpp:25] model-dir : damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx I20240104 19:45:23.798578 1408 funasr-wss-server.cpp:25] quantize : true I20240104 19:45:23.798592 1408 funasr-wss-server.cpp:25] vad-dir : damo/speech_fsmn_vad_zh-cn-16k-common-onnx I20240104 19:45:23.798600 1408 funasr-wss-server.cpp:25] vad-quant : true I20240104 19:45:23.798609 1408 funasr-wss-server.cpp:25] punc-dir : damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx I20240104 19:45:23.798615 1408 funasr-wss-server.cpp:25] punc-quant : true I20240104 19:45:23.798622 1408 funasr-wss-server.cpp:25] itn-dir : thuduj12/fst_itn_zh I20240104 19:45:23.798630 1408 funasr-wss-server.cpp:25] lm-dir : damo/speech_ngram_lm_zh-cn-ai-wesp-fst I20240104 19:45:23.798640 1408 funasr-wss-server.cpp:25] hotword : /workspace/models/hotwords.txt I20240104 19:45:23.798646 1408 funasr-wss-server.cpp:25] model-revision : v1.2.1 I20240104 19:45:23.798653 1408 funasr-wss-server.cpp:25] vad-revision : v1.2.0 I20240104 19:45:23.798660 1408 funasr-wss-server.cpp:25] punc-revision : v1.1.7 I20240104 19:45:23.798671 1408 funasr-wss-server.cpp:25] itn-revision : v1.0.1 I20240104 19:45:23.798707 1408 funasr-wss-server.cpp:25] lm-revision : v1.0.2 I20240104 19:45:23.798744 1408 funasr-wss-server.cpp:203] Download model: damo/speech_fsmn_vad_zh-cn-16k-common-onnx from modelscope: 2024-01-04 19:45:27,137 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:45:27,138 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:45:27,504 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:45:28,540 - modelscope - INFO - Use user-specified model revision: v1.2.0 I20240104 19:45:29.307700 1408 funasr-wss-server.cpp:222] Set vad-dir : /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx I20240104 19:45:29.307858 1408 funasr-wss-server.cpp:257] Download model: damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx from modelscope: 2024-01-04 19:45:30,605 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:45:30,607 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:45:30,682 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:45:31,298 - modelscope - INFO - Use user-specified model revision: v1.2.1 I20240104 19:45:31.930192 1408 funasr-wss-server.cpp:276] Set model-dir : /workspace/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx I20240104 19:45:31.930375 1408 funasr-wss-server.cpp:295] Download model: thuduj12/fst_itn_zh from modelscope : 2024-01-04 19:45:33,267 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:45:33,268 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:45:33,350 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:45:35,708 - modelscope - INFO - Use user-specified model revision: v1.0.1 I20240104 19:45:36.477260 1408 funasr-wss-server.cpp:318] Set itn-dir : /workspace/models/thuduj12/fst_itn_zh I20240104 19:45:36.477429 1408 funasr-wss-server.cpp:337] Download model: damo/speech_ngram_lm_zh-cn-ai-wesp-fst from modelscope : 2024-01-04 19:45:37,835 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:45:37,836 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:45:37,920 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:45:38,845 - modelscope - INFO - Use user-specified model revision: v1.0.2 I20240104 19:45:39.651577 1408 funasr-wss-server.cpp:360] Set lm-dir : /workspace/models/damo/speech_ngram_lm_zh-cn-ai-wesp-fst I20240104 19:45:39.651742 1408 funasr-wss-server.cpp:378] Download model: damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx from modelscope: 2024-01-04 19:45:40,999 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:45:41,000 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:45:41,082 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:45:41,857 - modelscope - INFO - Use user-specified model revision: v1.1.7 I20240104 19:45:43.040136 1408 funasr-wss-server.cpp:397] Set punc-dir : /workspace/models/damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx I20240104 19:45:43.040329 1408 funasr-wss-server.cpp:426] hotword path: /workspace/models/hotwords.txt I20240104 19:45:43.042136 1408 util.cpp:985] hotwords: I20240104 19:45:43.046816 1408 util.cpp:1014] 阿里巴巴 : 20 I20240104 19:45:43.047782 1408 funasr-wss-server.cpp:457] SSL is closed! I20240104 19:45:43.141965 1408 fsmn-vad.cpp:58] Successfully load model from /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx/model_quant.onnx I20240104 19:45:45.369680 1408 paraformer.cpp:42] Successfully load model from /workspace/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx/model_quant.onnx I20240104 19:45:58.965160 1408 paraformer.cpp:197] Successfully load lm file /workspace/models/damo/speech_ngram_lm_zh-cn-ai-wesp-fst/TLG.fst Killed
Based on the information you provided, I am unable to reproduce your issue. I suggest checking if there is insufficient memory.
文件转写服务0.4.0
运行:root@1753e068fc4c:/workspace/FunASR/runtime# bash run_server.sh \
I20240104 19:19:59.015211 944 funasr-wss-server.cpp:25] model-dir : damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx I20240104 19:19:59.020629 944 funasr-wss-server.cpp:25] quantize : true I20240104 19:19:59.020644 944 funasr-wss-server.cpp:25] vad-dir : damo/speech_fsmn_vad_zh-cn-16k-common-onnx I20240104 19:19:59.020653 944 funasr-wss-server.cpp:25] vad-quant : true I20240104 19:19:59.020660 944 funasr-wss-server.cpp:25] punc-dir : damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx I20240104 19:19:59.020666 944 funasr-wss-server.cpp:25] punc-quant : true I20240104 19:19:59.020673 944 funasr-wss-server.cpp:25] itn-dir : thuduj12/fst_itn_zh I20240104 19:19:59.020680 944 funasr-wss-server.cpp:25] lm-dir : damo/speech_ngram_lm_zh-cn-ai-wesp-fst I20240104 19:19:59.020720 944 funasr-wss-server.cpp:25] hotword : /workspace/models/hotwords.txt I20240104 19:19:59.020762 944 funasr-wss-server.cpp:25] model-revision : v1.2.1 I20240104 19:19:59.021108 944 funasr-wss-server.cpp:25] vad-revision : v1.2.0 I20240104 19:19:59.021351 944 funasr-wss-server.cpp:25] punc-revision : v1.1.7 I20240104 19:19:59.021396 944 funasr-wss-server.cpp:25] itn-revision : v1.0.1 I20240104 19:19:59.021410 944 funasr-wss-server.cpp:25] lm-revision : v1.0.2 I20240104 19:19:59.022552 944 funasr-wss-server.cpp:203] Download model: damo/speech_fsmn_vad_zh-cn-16k-common-onnx from modelscope: 2024-01-04 19:20:02,311 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:20:02,312 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:20:02,658 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:20:04,548 - modelscope - INFO - Use user-specified model revision: v1.2.0 I20240104 19:20:05.747815 944 funasr-wss-server.cpp:222] Set vad-dir : /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx I20240104 19:20:05.747920 944 funasr-wss-server.cpp:257] Download model: damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx from modelscope: 2024-01-04 19:20:07,041 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:20:07,042 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:20:07,116 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:20:09,092 - modelscope - INFO - Use user-specified model revision: v1.2.1 I20240104 19:20:09.960749 944 funasr-wss-server.cpp:276] Set model-dir : /workspace/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx I20240104 19:20:09.960813 944 funasr-wss-server.cpp:295] Download model: thuduj12/fst_itn_zh from modelscope : 2024-01-04 19:20:11,299 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:20:11,300 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:20:11,382 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:20:12,654 - modelscope - INFO - Use user-specified model revision: v1.0.1 I20240104 19:20:13.545970 944 funasr-wss-server.cpp:318] Set itn-dir : /workspace/models/thuduj12/fst_itn_zh I20240104 19:20:13.546021 944 funasr-wss-server.cpp:337] Download model: damo/speech_ngram_lm_zh-cn-ai-wesp-fst from modelscope : 2024-01-04 19:20:14,891 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:20:14,892 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:20:14,975 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:20:16,073 - modelscope - INFO - Use user-specified model revision: v1.0.2 I20240104 19:20:16.934463 944 funasr-wss-server.cpp:360] Set lm-dir : /workspace/models/damo/speech_ngram_lm_zh-cn-ai-wesp-fst I20240104 19:20:16.934592 944 funasr-wss-server.cpp:378] Download model: damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx from modelscope: 2024-01-04 19:20:18,289 - modelscope - INFO - PyTorch version 1.13.1+cpu Found. 2024-01-04 19:20:18,290 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-01-04 19:20:18,373 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 a83b413a6b6e204b50aa1c178f0e46eb and a total number of 945 components indexed 2024-01-04 19:20:20,086 - modelscope - INFO - Use user-specified model revision: v1.1.7 I20240104 19:20:22.002128 944 funasr-wss-server.cpp:397] Set punc-dir : /workspace/models/damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx I20240104 19:20:22.002210 944 funasr-wss-server.cpp:426] hotword path: /workspace/models/hotwords.txt I20240104 19:20:22.009217 944 util.cpp:985] hotwords: I20240104 19:20:22.010550 944 util.cpp:1014] 阿里巴巴 : 20 I20240104 19:20:22.011729 944 funasr-wss-server.cpp:457] SSL is closed! I20240104 19:20:22.105340 944 fsmn-vad.cpp:58] Successfully load model from /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx/model_quant.onnx I20240104 19:20:24.369558 944 paraformer.cpp:42] Successfully load model from /workspace/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx/model_quant.onnx I20240104 19:20:37.196007 944 paraformer.cpp:197] Successfully load lm file /workspace/models/damo/speech_ngram_lm_zh-cn-ai-wesp-fst/TLG.fst run_server.sh: line 39: 944 Killed ./funasr-wss-server --download-model-dir "${download_model_dir}" --model-dir "${model_dir}" --vad-dir "${vad_dir}" --punc-dir "${punc_dir}" --itn-dir "${itn_dir}" --lm-dir "${lm_dir}" --decoder-thread-num ${decoder_thread_num} --model-thread-num ${model_thread_num} --io-thread-num ${io_thread_num} --port ${port} --certfile "${certfile}" --keyfile "${keyfile}" --hotword "${hotword}"
程序被未知原因killed