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 support for targeting cross_attn layers in mllama #693

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

ajtejankar
Copy link
Contributor

Previous PR that added support for mllama models didn't allow targeting cross attention layers in the text model. This PR adds support for it. I think the code is ready, but it needs to be tested with an adapter.

@ajtejankar
Copy link
Contributor Author

I've verified this against an adapter targeting all modules that was trained on a small subset of the Doc VQA dataset. It's ready to merge.

Copy link
Contributor

@arnavgarg1 arnavgarg1 left a comment

Choose a reason for hiding this comment

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

LGTM! Let's merge after resolving the merge conflict

@ajtejankar ajtejankar merged commit c96ff88 into main Nov 27, 2024
1 check passed
@ajtejankar ajtejankar deleted the support-cross-attn-mllama branch November 27, 2024 20:44
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