From: Georgi Gerganov Date: Wed, 8 May 2024 06:14:50 +0000 (+0300) Subject: metal : fix unused warning X-Git-Tag: upstream/0.0.4488~1680 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c0e6fbf8c380718102bd25fcb8d2e55f8f9480d1;p=pkg%2Fggml%2Fsources%2Fllama.cpp metal : fix unused warning --- diff --git a/ggml-metal.metal b/ggml-metal.metal index 3d4276ae..46c7d503 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)