From: Georgi Gerganov Date: Wed, 8 May 2024 06:14:50 +0000 (+0300) Subject: metal : fix unused warning X-Git-Tag: upstream/1.7.4~789 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1ae1a9cd56fbe5cf5390e35da8e0fdc898589f2b;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : fix unused warning --- diff --git a/ggml-metal.metal b/ggml-metal.metal index 4d710b04..b67d1882 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)