mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-18 04:35:33 +02:00
finetune: fix no KV cache (llama/27199)
* training: fix no KV cache * apply @ ggerganov suggestion
This commit is contained in:
+1
-1
@@ -7335,7 +7335,7 @@ void ggml_build_backward_expand(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// inplace operations are currently not supported
|
// 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);
|
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);
|
const size_t ihash = ggml_hash_find(&cgraph->visited_hash_set, node);
|
||||||
|
|||||||
Reference in New Issue
Block a user