Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ggml-vulkan logs #2547

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

thewh1teagle
Copy link
Contributor

Currently vulkan always prints to stderr the device name.
Fix by print it using ggml log.

Also register ggml log immediately when whisper_log_set otherwise there's still some logs that displays before (tested with main.cpp)

cmake -G "Ninja" -B build . -DCMAKE_BUILD_TYPE=Release -DGGML_VULKAN=ON
cmake --build build --config Release

.\build\bin\main.exe -m model.bin -f audio.wav
.\build\bin\main.exe -m model.bin -f audio.wav --no-prints

@ggerganov ggerganov merged commit 5ccca19 into ggerganov:master Nov 13, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants