chore: fix typo in llama.cpp (#7032)

Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
alwqx 2024-05-02 23:56:41 +08:00 committed by GitHub
parent b0d943de17
commit 6ecf3189e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());