Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
672983a9cc
commit
9c529a7939
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
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;
|
params.ctx_shift = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue