Skip to content

Remove .attention from skipped tensors to match more accurately#7051

Merged
slaren merged 1 commit intoggml-org:masterfrom
bartowski1182:master
May 2, 2024
Merged

Remove .attention from skipped tensors to match more accurately#7051
slaren merged 1 commit intoggml-org:masterfrom
bartowski1182:master

Conversation

@bartowski1182
Copy link
Copy Markdown
Contributor

This change fixes #7046

https://huggingface.co/nvidia/ChatQA-1.5-8B has tensors called model.layers.x.self_attn.rotary_emb.inv_freq instead of model.layers.x.self_attn.attention.rotary_emb.inv_freq, this change will capture both and properly skip them.

Copy link
Copy Markdown
Collaborator

@compilade compilade left a comment

Choose a reason for hiding this comment

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

I'd like to note that this is also done in #7031, but I'm fine with this being fixed separately here.

@bartowski1182
Copy link
Copy Markdown
Contributor Author

Ah good catch :) I'll let you know if this gets merged so you can avoid conflict

@slaren slaren merged commit 60325fa into ggml-org:master May 2, 2024
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 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.

Unable to make imatrix (and likely quant) for nvidia's ChatQA-1.5 8B

3 participants