Skip to content

Commit bcc0b6b

Browse files
committed
Update ggml-cuda.cu
1 parent 285f3e4 commit bcc0b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ struct ggml_cuda_pool_leg : public ggml_cuda_pool {
281281
b.size = 0;
282282
return ptr;
283283
}
284-
if(worst_i!=-1 && !g_mul_mat_q) //no buffer that fits our needs, resize largest one to save memory (non mmq only)
284+
if(worst_i!=-1) //no buffer that fits our needs, resize largest one to save memory (non mmq only)
285285
{
286286
ggml_cuda_buffer& b = buffer_pool[worst_i];
287287
b.size = 0;

0 commit comments

Comments
 (0)