Skip to content

Conversation

@ggerganov
Copy link
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
53 of 54 checks passed
@ggerganov ggerganov deleted the gg/graph-simplify-attn-inp branch March 14, 2025 08:47
jpohhhh pushed a commit to Telosnex/llama.cpp that referenced this pull request Mar 14, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Mar 19, 2025
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

2 participants