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

Add benchmark for vector-matrix product #60

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Add benchmark for vector-matrix product #60

merged 2 commits into from
Mar 18, 2024

Conversation

robertknight
Copy link
Owner

MatMul operations with with shapes like this come up frequently in transformer decoders. This runs at about 1/4 the speed of Accelerate on my Intel i5-1038NG7.

[1] https://gist.github.com/robertknight/3e7bf748b5435657ca671930c30e4ec7

MatMul operations with with shapes like this come up frequently in transformer
decoders. This runs at about 1/4 the speed of Accelerate on my Intel i5-1038NG7.

[1] https://gist.github.com/robertknight/3e7bf748b5435657ca671930c30e4ec7
This may fix an issue where `cargo install wasm-bindgen-cli` fails due to a
conflicting binary existing in ~/.cargo/bin but other cargo files which track
the crate <-> binary association not being present (because they were not
cached).
@robertknight robertknight merged commit c4ca855 into main Mar 18, 2024
2 checks passed
@robertknight robertknight deleted the gemv-bench branch March 18, 2024 20:00
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