Skip to content

POC:Avoid PackTranspose TinyBLAS_PPC in MMA kernel #14

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shalinib-ibm
Copy link
Owner

POC: Avoid Packing A Matrix in TinyBLAS_PPC Class

This patch transpositions weights matrix offline during PyTorch to gguf conversion.
Works only for symmetric matrices ( m = n = k).
This is because we need to transpose offline only those matrices which are input to llamafile_sgemm.
We cannot transpose all weights matrices because this would break graph construction.
No performance gains with this change.
Make sure to read the contributing guidelines before submitting a PR

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.

1 participant