Skip to content

Move GLM4 f32 attention fix to the correct function - #13750

Merged
0cc4m merged 1 commit into
masterfrom
0cc4m/glm4-fix2
May 24, 2025
Merged

Move GLM4 f32 attention fix to the correct function#13750
0cc4m merged 1 commit into
masterfrom
0cc4m/glm4-fix2

Conversation

@0cc4m

@0cc4m 0cc4m commented May 24, 2025

Copy link
Copy Markdown
Contributor

@ggerganov You merged SWA support (#13194) 3 hours before I merged my GLM4 fix (#13639). They touched the same build_attn functions, so there should have been a merge conflict. For whatever reason, my patch was applied to the newly-created build_attn function with a unified_iswa kv cache, which is not used by GLM4. So it didn't work anymore. Here's the fix, moving my patch back to the unified build_attn function... I don't think I've seen something like this before, quite the coincidence.

@0cc4m
0cc4m requested a review from ggerganov May 24, 2025 13:31
@ggerganov

Copy link
Copy Markdown
Member

Huh, that's indeed strange why we didn't get a merge conflict.

@LostRuins

Copy link
Copy Markdown
Collaborator

Thanks for spotting it quickly

@0cc4m
0cc4m merged commit 259469c into master May 24, 2025
@0cc4m
0cc4m deleted the 0cc4m/glm4-fix2 branch May 24, 2025 14:49
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 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.

3 participants