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

convert : fix squeeze for ssm_conv tensors #12573

Merged
merged 2 commits into from
Mar 26, 2025
Merged

Conversation

ggerganov
Copy link
Member

fix #12572

Broken in #10784.

@ggerganov ggerganov requested a review from compilade March 25, 2025 17:55
@github-actions github-actions bot added the python python script changes label Mar 25, 2025
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.

Thanks!

I've fixed the name matching in 20b256e (using tensor types with self.match_model_tensor_name, and also the name of that tensor ends with .weight), and I've tested this with https://huggingface.co/state-spaces/mamba-130m-hf, which works.

@dodekapod Can you confirm this fixes the problem?

@dodekapod
Copy link
Contributor

Thanks !
Yes, this fixes the problem. Tested with https://huggingface.co/tiiuae/Falcon3-Mamba-7B-Instruct .

@compilade compilade merged commit df4d20c into master Mar 26, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misc. bug: Falcon3-Mamba-7B fails on ggml_ssm_conv
3 participants