mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-12 00:50:01 +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);
|
ggml_cann_set_device(device);
|
||||||
description = aclrtGetSocName();
|
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__,
|
GGML_LOG_INFO("%s: device %d async operator submission is %s\n", __func__,
|
||||||
device, async_mode ? "ON" : "OFF");
|
device, async_mode ? "ON" : "OFF");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user