From 909cfd498c122feec1bb428709fc24963e06b0ed Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 3 Nov 2024 11:24:18 +0200 Subject: [PATCH] metal : remove unused var --- ggml/src/ggml-metal.metal | 1 - 1 file changed, 1 deletion(-) diff --git a/ggml/src/ggml-metal.metal b/ggml/src/ggml-metal.metal index fed076f7f..57eb34f13 100644 --- a/ggml/src/ggml-metal.metal +++ b/ggml/src/ggml-metal.metal @@ -2857,7 +2857,6 @@ kernel void kernel_flash_attn_ext_vec_f16( // O = diag(ms)*O #pragma unroll for (short ii = 0; ii < D4; ii += NW) { - const short i = ii + tiisg; lo[ii/NW] *= ms; } }