Skip to content

Commit b81e2e4

Browse files
committed
Fixed redundant code
1 parent 676b2db commit b81e2e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/llama-kv-cache.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ llama_kv_cache_unified::llama_kv_cache_unified(
3434

3535
const bool is_mla = (hparams.n_embd_head_k_mla != 0 && hparams.n_embd_head_v_mla != 0);
3636

37-
is_mla_with_fa = model.arch != LLM_ARCH_DEEPSEEK2 || v_trans
38-
3937
has_shift = false;
4038
can_shift = !is_mla || v_trans; // TODO: allow context shifting for MLA with flash attention
4139

0 commit comments

Comments
 (0)