You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using ggml in Rust through bindings that call whisper.cpp, which in turn uses ggml. I noticed that whisper.cpp synchronizes ggml from this repository, so I thought it would be useful to report an issue here.
Currently, when an error occurs with ggml, it prints to stderr and then calls abort(). This approach makes it difficult to catch errors in production logs. The only workaround is to instruct users to run the program from a terminal in Windows and manually extract stderr output.
I have a mechanism in place that collects logs using a callback registered with whisper.cpp. However, the ggml abort function does not invoke this log callback before aborting.
Could you please modify the abort function to call the log callback before aborting? You can find the relevant code here. Additionally, abort() causes a complete crash of the program. It might be better to handle errors more gracefully, perhaps by implementing an error callback mechanism.
The text was updated successfully, but these errors were encountered:
I’m using ggml in Rust through bindings that call whisper.cpp, which in turn uses ggml. I noticed that whisper.cpp synchronizes ggml from this repository, so I thought it would be useful to report an issue here.
Currently, when an error occurs with ggml, it prints to stderr and then calls abort(). This approach makes it difficult to catch errors in production logs. The only workaround is to instruct users to run the program from a terminal in Windows and manually extract stderr output.
I have a mechanism in place that collects logs using a callback registered with whisper.cpp. However, the ggml abort function does not invoke this log callback before aborting.
Could you please modify the abort function to call the log callback before aborting? You can find the relevant code here. Additionally, abort() causes a complete crash of the program. It might be better to handle errors more gracefully, perhaps by implementing an error callback mechanism.
The text was updated successfully, but these errors were encountered: