SwiftWhisper icon indicating copy to clipboard operation
SwiftWhisper copied to clipboard

Crash when using Large-v3 model

Open r-huijts opened this issue 1 year ago • 6 comments

When I use the large-v3 model in my swiftui app, the app crashes. The model is loaded correctly, but then errors with:

Assertion failed: (mel_inp.n_mel == n_mels), function whisper_encode_internal, file whisper.cpp, line 1430.

Everything works as expected with the medium model.

r-huijts avatar Mar 04 '24 16:03 r-huijts

When I use the large-v3 model in my swiftui app. same Error: Assertion failed: (mel_inp.n_mel == n_mels), function whisper_encode_internal, file whisper.cpp, line 1430.

chen-bao-x avatar Jul 01 '24 10:07 chen-bao-x

+1, same assertion with large-v3 in a SwiftUI app. Anyone managed to find a solution?

cdf1982 avatar Feb 04 '25 16:02 cdf1982

me too

phtmgt avatar Mar 22 '25 16:03 phtmgt