From c0e6fbf8c380718102bd25fcb8d2e55f8f9480d1 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 8 May 2024 09:14:50 +0300 Subject: [PATCH] metal : fix unused warning --- ggml-metal.metal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-metal.metal b/ggml-metal.metal index 3d4276ae0..46c7d5039 100644 --- a/ggml-metal.metal +++ b/ggml-metal.metal @@ -2175,7 +2175,7 @@ kernel void kernel_flash_attn_ext_f16( const short D4 = D/4; const short D8 = D/8; - const short Q8 = Q/8; + //const short Q8 = Q/8; const short NW = N_SIMDWIDTH; const short SH = (C + Q); // shared memory per simdgroup in (half)