Skip to content

Conversation

@younesbelkada
Copy link
Contributor

What does this PR do?

This PR adds accelerate support for BART-like models, so that these models can be loaded in 8bit using load_in_8bit=True.
Follows the same logic as #19912 regarding shared embeddings

Do not merge before huggingface/accelerate#792 gets merged!

cc @sgugger

@younesbelkada younesbelkada requested a review from sgugger October 27, 2022 17:25
Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for the fixes!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 27, 2022

The documentation is not available anymore as the PR was closed or merged.

@younesbelkada
Copy link
Contributor Author

Thanks a lot! Merging since huggingface/accelerate#792 has been merged 🟢

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.

3 participants