From 1ae1a9cd56fbe5cf5390e35da8e0fdc898589f2b 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 4d710b0..b67d188 100644 --- a/ggml-metal.metal +++ b/ggml-metal.metal @@ -2182,7 +2182,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)