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

[HF OLMo] Add flash attention and gradient checkpointing support #719

Merged
merged 9 commits into from
Sep 11, 2024

Conversation

2015aroras
Copy link
Collaborator

This PR adds support for flash attention and gradient checkpointing to the hf_olmo library.

Tested by @natolambert (by running it on Open Instruct).

@2015aroras 2015aroras marked this pull request as ready for review September 10, 2024 21:32
Copy link
Contributor

@natolambert natolambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice tests too.

@2015aroras 2015aroras merged commit 47f8f5a into main Sep 11, 2024
11 of 12 checks passed
@2015aroras 2015aroras deleted the shanea/hf-olmo-gradient-checkpointing branch September 11, 2024 23:09
This pull request was closed.
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.

2 participants