Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 2, 2024

Conversation

bartowski1182
Copy link
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
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
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 ggerganov:master May 2, 2024
22 checks passed
nopperl pushed a commit to nopperl/llama.cpp that referenced this pull request May 5, 2024
teleprint-me pushed a commit to teleprint-me/llama.cpp that referenced this pull request May 7, 2024
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