mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-20 09:47:59 +02:00
whisper : print when CUDA is enabled
This commit is contained in:
parent
12030358ee
commit
3f5c1b7ee0
@ -83,6 +83,10 @@ for model in "${models[@]}"; do
|
|||||||
config="$config COREML"
|
config="$config COREML"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $system_info == *"CUDA = 1"* ]]; then
|
||||||
|
config="$config CUDA"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $system_info == *"METAL = 1"* ]]; then
|
if [[ $system_info == *"METAL = 1"* ]]; then
|
||||||
config="$config METAL"
|
config="$config METAL"
|
||||||
fi
|
fi
|
||||||
|
@ -3753,6 +3753,7 @@ const char * whisper_print_system_info(void) {
|
|||||||
s += "SSE3 = " + std::to_string(ggml_cpu_has_sse3()) + " | ";
|
s += "SSE3 = " + std::to_string(ggml_cpu_has_sse3()) + " | ";
|
||||||
s += "SSSE3 = " + std::to_string(ggml_cpu_has_ssse3()) + " | ";
|
s += "SSSE3 = " + std::to_string(ggml_cpu_has_ssse3()) + " | ";
|
||||||
s += "VSX = " + std::to_string(ggml_cpu_has_vsx()) + " | ";
|
s += "VSX = " + std::to_string(ggml_cpu_has_vsx()) + " | ";
|
||||||
|
s += "CUDA = " + std::to_string(ggml_cpu_has_cublas()) + " | ";
|
||||||
s += "COREML = " + std::to_string(whisper_has_coreml()) + " | ";
|
s += "COREML = " + std::to_string(whisper_has_coreml()) + " | ";
|
||||||
s += "OPENVINO = " + std::to_string(whisper_has_openvino()) + " | ";
|
s += "OPENVINO = " + std::to_string(whisper_has_openvino()) + " | ";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user