Skip to content

Comments

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

Merged
2015aroras merged 9 commits intomainfrom
shanea/hf-olmo-gradient-checkpointing
Sep 11, 2024
Merged

[HF OLMo] Add flash attention and gradient checkpointing support#719
2015aroras merged 9 commits intomainfrom
shanea/hf-olmo-gradient-checkpointing

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
@2015aroras 2015aroras deleted the shanea/hf-olmo-gradient-checkpointing branch September 11, 2024 23:09
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