mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-11 21:08:29 +02:00
bindings.ruby : enable Wisper.log_set in tests
The commit reverts the commenting out of the Whisper.log_set call in the test_whisper.rb tests. I'm no longer getting segfaults when running the tests with this which was the case earlier. One theory could be that I rebased this to include the latest ggml sync to master to make sure things still worked. With the latest changes in ggml, I can't reproduce the segfaults.
This commit is contained in:
parent
fa28968800
commit
3660e14588
@ -3,9 +3,7 @@ require "stringio"
|
||||
require "etc"
|
||||
|
||||
# Exists to detect memory-related bug
|
||||
# TODO(danbev) Investigate how this works as it currently causes a segfault
|
||||
# when enabled.
|
||||
#Whisper.log_set ->(level, buffer, user_data) {}, nil
|
||||
Whisper.log_set ->(level, buffer, user_data) {}, nil
|
||||
|
||||
class TestWhisper < TestBase
|
||||
def setup
|
||||
|
Loading…
Reference in New Issue
Block a user