finetune: fix no KV cache (llama/27199)

* training: fix no KV cache

* apply @ ggerganov
 suggestion
This commit is contained in:
Xuan-Son Nguyen
2026-09-04 13:39:41 +03:00
committed by Georgi Gerganov
parent 37f0f443d7
commit e5605697ce
+1 -1
View File
@@ -7335,7 +7335,7 @@ void ggml_build_backward_expand(
}
// inplace operations are currently not supported
GGML_ASSERT(!node->view_src || node->op == GGML_OP_CPY || node->op == GGML_OP_VIEW ||
GGML_ASSERT(!node->view_src || node->op == GGML_OP_CPY || node->op == GGML_OP_SET_ROWS || node->op == GGML_OP_VIEW ||
node->op == GGML_OP_RESHAPE || node->op == GGML_OP_PERMUTE || node->op == GGML_OP_TRANSPOSE);
const size_t ihash = ggml_hash_find(&cgraph->visited_hash_set, node);