Skip to content

Commit ec326d3

Browse files
committed
ggml : fix bug introduced in LostRuins#1237
1 parent 1b6efea commit ec326d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16202,7 +16202,7 @@ void ggml_graph_compute(struct ggml_context * ctx, struct ggml_cgraph * cgraph)
1620216202
if (node->src1->type != vec_dot_type) {
1620316203
cur = GGML_TYPE_SIZE[vec_dot_type]*ggml_nelements(node->src1)/GGML_BLCK_SIZE[vec_dot_type];
1620416204
} else {
16205-
GGML_ASSERT(false);
16205+
cur = 0;
1620616206
}
1620716207

1620816208
work_size = MAX(work_size, cur);

0 commit comments

Comments
 (0)