fix async_mode bug (llama/14432)

This commit is contained in:
Xinpeng Dou
2025-06-28 17:35:41 +08:00
committed by Georgi Gerganov
parent 0b09f5bbad
commit f31ed384f4

View File

@ -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");
}