alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.7k stars 1.08k forks source link

Assertion failed row_offset >= 0.. #1278

Open nshmyrev opened 1 year ago

nshmyrev commented 1 year ago

As reported in https://github.com/kaldi-asr/kaldi/issues/4786, sometimes users see a crash with

ASSERTION_FAILED (VoskAPI:CuSubMatrix():cudamatrix/cu-matrix-inl.h:38) Assertion failed: (row_offset >= 0 && col_offset >= 0 && num_rows >= 0 && num_cols >= 0 && row_offset + num_rows <= mat.numrows && col_offset + num_cols <= mat.numcols)

See also https://groups.google.com/g/kaldi-help/c/Dx6x_TkrcT4/m/AtDsrgANDAAJ