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

Enable cross attention layers #1495

Merged
merged 6 commits into from
Aug 30, 2024
Merged

Enable cross attention layers #1495

merged 6 commits into from
Aug 30, 2024

Conversation

gupta-abhay
Copy link
Contributor

@gupta-abhay gupta-abhay commented Aug 29, 2024

  • enables encoder decoder models if needed
  • enables cross attention for flamingo (needed for multimodal)
  • enables different kv dim for kv projections (needed for multimodal)

@gupta-abhay gupta-abhay requested a review from a team as a code owner August 29, 2024 05:53
llmfoundry/models/layers/attention.py Outdated Show resolved Hide resolved
@gupta-abhay gupta-abhay merged commit d0dc82d into main Aug 30, 2024
9 checks passed
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