Skip to content

graph : simplify attn input build for unified KV cache#12381

Merged
ggerganov merged 1 commit intomasterfrom
gg/graph-simplify-attn-inp
Mar 14, 2025
Merged

graph : simplify attn input build for unified KV cache#12381
ggerganov merged 1 commit intomasterfrom
gg/graph-simplify-attn-inp

Conversation

@ggerganov
Copy link
Copy Markdown
Member

@ggerganov ggerganov commented Mar 14, 2025

fix #12380

The llm_graph_context::build_attn_inp_kv_unified used to take 2 redundant arguments: wether the attention is causal and wether SWA is enabled. The causal is always true when using a KV cache, while the swa can be deduced from the hparams.

@ggerganov ggerganov merged commit c522ce4 into master Mar 14, 2025
@ggerganov ggerganov deleted the gg/graph-simplify-attn-inp branch March 14, 2025 08:47
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Mar 19, 2025
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eval bug: Segmentation fault from latest git 84d547554123a62e9ac77107cb20e4f6cc503af4

1 participant