FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

Onnxruntime, 持续 2pass 模式,循环解码大概4小时,线程会卡死

Open locasxe opened this issue 6 months ago • 18 comments

Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)

🐛 Bug

Onnxruntime, 持续 2pass 模式,循环解码大概4小时,线程会卡死

To Reproduce

onnxruntime c++ 最新版,持续解码大概4小时,会推理线程卡死,但是内存和cpu还是一直占着,通过 pstack 查看,是卡在 VAD 的 e2e_vad.h 里的 DetectOneFrame(FrameState cur_frm_state, int cur_frm_idx, bool is_final_frame)。

Expected behavior

应当持续正常解码。

Environment

  • OS Linux:
  • FunASR Version 最新:
  • ModelScope Version 最新:
  • PyTorch Version 2.6.0:
  • How you installed funasr pip:
  • Python version 3.10:

locasxe avatar May 14 '25 06:05 locasxe