mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-09 17:15:54 +02:00
fix async_mode bug (llama/14432)
This commit is contained in:
committed by
Georgi Gerganov
parent
0b09f5bbad
commit
f31ed384f4
@ -359,7 +359,7 @@ struct ggml_backend_cann_context {
|
||||
ggml_cann_set_device(device);
|
||||
description = aclrtGetSocName();
|
||||
|
||||
bool async_mode = parse_bool(get_env("GGML_CANN_ASYNC_MODE").value_or(""));
|
||||
async_mode = parse_bool(get_env("GGML_CANN_ASYNC_MODE").value_or(""));
|
||||
GGML_LOG_INFO("%s: device %d async operator submission is %s\n", __func__,
|
||||
device, async_mode ? "ON" : "OFF");
|
||||
}
|
||||
|
Reference in New Issue
Block a user