mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-18 16:28:33 +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"
|
require "etc"
|
||||||
|
|
||||||
# Exists to detect memory-related bug
|
# Exists to detect memory-related bug
|
||||||
# TODO(danbev) Investigate how this works as it currently causes a segfault
|
Whisper.log_set ->(level, buffer, user_data) {}, nil
|
||||||
# when enabled.
|
|
||||||
#Whisper.log_set ->(level, buffer, user_data) {}, nil
|
|
||||||
|
|
||||||
class TestWhisper < TestBase
|
class TestWhisper < TestBase
|
||||||
def setup
|
def setup
|
||||||
|
Loading…
Reference in New Issue
Block a user