Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -889,9 +889,8 @@ struct common_init_result common_init_from_params(common_params & params) {
}

if (params.ctx_shift && !llama_kv_cache_can_shift(lctx)) {
LOG_ERR("%s: KV cache shifting is not supported for this model (--no-context-shift to disable)'\n", __func__);
llama_free_model(model);
return iparams;
LOG_WRN("%s: KV cache shifting is not supported for this model, disabling KV cache shifting'\n", __func__);
Comment thread
MollySophia marked this conversation as resolved.
Outdated
params.ctx_shift = false;
}

if (!params.control_vectors.empty()) {
Expand Down