diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-05 20:44:11 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-05 20:44:11 +0300 |
commit | ec326d350c72afd23709a409944728a607188cc0 (patch) | |
tree | 8ec3ba34625bb285c8f088f8d97bc1c98fc8ff70 | |
parent | 1b6efeab829f3eeda5b39bd47624bb60b3531b88 (diff) |
ggml : fix bug introduced in #1237
-rw-r--r-- | ggml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16202,7 +16202,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph) if (node->src1->type != vec_dot_type) { cur = GGML_TYPE_SIZE[vec_dot_type]*ggml_nelements(node->src1)/GGML_BLCK_SIZE[vec_dot_type]; } else { - GGML_ASSERT(false); + cur = 0; } work_size = MAX(work_size, cur); |