Skip to content

Commit

Permalink
ggml : fix bug introduced in ggerganov#1237
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jul 5, 2023
1 parent 1b6efea commit ec326d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ec326d3

Please sign in to comment.