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

Fix mistral attention on Metal #2699

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

bancek
Copy link
Contributor

@bancek bancek commented Jan 4, 2025

This PR fixes Mistral attention on Metal device.

Before fix:

Metal(KernelError(MatMulNonContiguous { lhs_stride: [64, 4, 2, 1], rhs_stride: [2048, 64, 1024, 1], mnk: (2, 64, 2) }))

@LaurentMazare LaurentMazare merged commit 57f41da into huggingface:main Jan 4, 2025
10 checks passed
@LaurentMazare
Copy link
Collaborator

Thanks!

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