关于serve_realtime_ws.py服务的客户端测试达不到实时
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- python
- Domain
- api, backend, performance, testing-qa
Research direction
Start by reproducing the reported behavior with serve_realtime_ws.py and the browser client test demos, using microphone input and a long audio recording. Measure whether transcription latency grows during playback and compare the service behavior over time. Done means the client test remains real-time without accumulating delay.
Written by the indexing model from the issue text.
Description
Notice: In order to resolve issues efficiently, please follow the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节。)
Question
我同时在浏览器中打开多份客户端测试demo,选择mic收音方式,在blibli上找一段长音频,播放进行测试,测试发现无法做到实时转写,播放的越久ASR识别延迟越大。
## Environment
- OS:
- Python version: 3.12.12
- FunASR version: 1.3.14
- ModelScope version:1.34.0
- PyTorch / torchaudio version: 2.10.0+cu129
- Install method (`pip`, source, Docker): pip
- Device (`cuda`, `cpu`, `mps`): L20 单卡
- vllm version: 0.16.0rc2.dev376+gf4af642a6
- CUDA/cuDNN version: 12.9
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 2k
- Avg merge
- 4h 55m
- Merged PRs (30d)
- 169
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modelscope/FunASR
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
modelscope/FunASR#3704 · 1 comment ·
-
bug needs feedback
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
modelscope/FunASR#3401 · 2 comments ·
-
needs triage question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
modelscope/FunASR#3718 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
modelscope/FunASR#3717 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
modelscope/FunASR#3715 ·
All issues in modelscope/FunASR
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100