From: Georgi Gerganov Date: Wed, 22 May 2024 09:36:37 +0000 (+0300) Subject: cuda : fix compile warning (llama/7454) X-Git-Tag: upstream/1.7.4~693 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5848dfd9c8c7012fd103a9b02e23b1bb345a25ab;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp cuda : fix compile warning (llama/7454) --- diff --git a/ggml-cuda/fattn-tile-f32.cu b/ggml-cuda/fattn-tile-f32.cu index 54db765e..b8b2f69e 100644 --- a/ggml-cuda/fattn-tile-f32.cu +++ b/ggml-cuda/fattn-tile-f32.cu @@ -283,8 +283,7 @@ void launch_fattn_tile_f32_64_128(ggml_backend_cuda_context & ctx, ggml_tensor * } void ggml_cuda_flash_attn_ext_tile_f32(ggml_backend_cuda_context & ctx, ggml_tensor * dst) { - const ggml_tensor * KQV = dst; - const ggml_tensor * Q = dst->src[0]; + const ggml_tensor * Q = dst->src[0]; if (Q->ne[1] <= 16) { constexpr int cols_per_block = 16;