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

AMX support for tiled matrix multiplications #26

Open
ashvardanian opened this issue Oct 17, 2023 · 2 comments
Open

AMX support for tiled matrix multiplications #26

ashvardanian opened this issue Oct 17, 2023 · 2 comments
Assignees

Comments

@ashvardanian
Copy link
Owner

ashvardanian commented Oct 17, 2023

Both Intel and Apple now have specialized AMX tiled matrix multiplication extensions. Both are tricky to use, but may result in substantial performance improvements. Potentially even for single vector dot-products and cosine distances.

Resources:

@ashvardanian ashvardanian self-assigned this Jan 4, 2024
@MarkReedZ
Copy link

I'll try doing the BF16 dot product with this. Shall we add a new function matmul as well for matrix multiplication?

@ashvardanian
Copy link
Owner Author

I think it may be a new file called "dots.h", that implements matrix multiplications 🤗

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

When branches are created from issues, their pull requests are automatically linked.

2 participants