Update common/common.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Molly Sophia 2025-01-03 20:06:48 +08:00 committed by GitHub
parent 672983a9cc
commit 9c529a7939
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -889,7 +889,7 @@ struct common_init_result common_init_from_params(common_params & params) {
}
if (params.ctx_shift && !llama_kv_cache_can_shift(lctx)) {
LOG_WRN("%s: KV cache shifting is not supported for this model, disabling KV cache shifting'\n", __func__);
LOG_WRN("%s: KV cache shifting is not supported for this model, disabling KV cache shifting\n", __func__);
params.ctx_shift = false;
}