Skip to content

Conversation

piDack
Copy link
Contributor

@piDack piDack commented Aug 22, 2024

There have been few reports of glm4 models generating "GGGG" when FA is disabled. This should it.
I used the following command line, and after modification, there was no GGG in output

#!/bin/bashit.
../build/bin/llama-cli -m "/mnt/edge/yhl/model/glm4-9b-chat-Q4_K_M.gguf" -c 8192 -ngl 41 -np 2 -p "hello how are you?"

before
截屏2024-08-22 16 59 29

after
截屏2024-08-22 17 01 55

@piDack piDack changed the title fix glm GGG err Fix glm4 GGG err Aug 22, 2024
@piDack piDack changed the title Fix glm4 GGG err llama:use F32 precision in GLM4 attention and no FA Aug 22, 2024
Copy link
Member

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should switch to F32 precision by default for the KQ multiplication

@ggerganov ggerganov merged commit a07c32e into ggml-org:master Aug 23, 2024
52 checks passed
@piDack
Copy link
Contributor Author

piDack commented Aug 23, 2024

I guess we should switch to F32 precision by default for the KQ multiplication

Good Idea

@ThiloteE
Copy link
Contributor

I guess this could be classified as a follow-up to #8031

arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
Nexesenex pushed a commit to Nexesenex/croco.cpp that referenced this pull request Feb 25, 2025
Nexesenex pushed a commit to Nexesenex/croco.cpp that referenced this pull request Feb 25, 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.

3 participants