]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
chore: fix typo in llama.cpp (#7032)
authoralwqx <redacted>
Thu, 2 May 2024 15:56:41 +0000 (23:56 +0800)
committerGitHub <redacted>
Thu, 2 May 2024 15:56:41 +0000 (11:56 -0400)
Co-authored-by: Jared Van Bortel <redacted>
llama.cpp

index 18d6297ce1dfd33a998d4e8668165665b6aff51f..18b49ec20909ea56429ca7480f06b2a187e0090a 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -2359,7 +2359,7 @@ static bool llama_kv_cache_init(
     cache.recurrent = model.arch == LLM_ARCH_MAMBA;
     cache.v_trans   = !cparams.flash_attn;
 
-    // TODO: support mixed reccurent Transformer architectues
+    // TODO: support mixed recurrent Transformer architectures
     // NOTE: (!a || b) is a logical implication (a -> b)
     GGML_ASSERT(!cache.recurrent || n_embd_k_gqa == hparams.n_embd_k_s());
     GGML_ASSERT(!cache.recurrent || n_embd_v_gqa == hparams.n_embd_v_s());