ggerganov/whisper.cpp

Read write protected Memory Exception When Try to use Timestamp DTW.

somenhlt1 opened this issue · 1 comments

When turn on timestamp for DTW, this piece of code throws AccessViolationException when trying to copy mem.

image

After that, it crashed.

Any idea on how to fix this problem?

Can you provide complete command-line (assuming you used main binary) or configuration provided to whisper.cpp?

I have not followed DTW development, but it feels like you need to provide correct preset matching model that you're using.

Examples:

main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw tiny       # OK
main -m models/ggml-base.en.bin -f samples/jfk.wav -dtw base.en # OK
main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw base.en    # FAIL
main -m models/ggml-tiny.bin -f samples/jfk.wav -dtw            # FAIL, no preset given