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

Introduce buffers to improve Llama 3.2 efficiency #389

Merged
merged 3 commits into from
Oct 6, 2024

Conversation

rasbt
Copy link
Owner

@rasbt rasbt commented Oct 6, 2024

Adds shared buffers to avoid recreating the mask and cos, sin values in each transformer block

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rasbt rasbt merged commit 1eb0b38 into main Oct 6, 2024
8 checks passed
@rasbt rasbt deleted the improve-llama3-efficiency branch October 6, 2024 17:49
@rasbt rasbt mentioned this pull request Oct 6, 2024
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